1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
- <div class="layui-card-body padding-left-40">
- <div class="layui-card-body padding-left-40">
- <!-- <div class="layui-form-item">-->
- <!-- <span class="color-green label-required-prev">商品图片</span>-->
- <!-- <table class="layui-table">-->
- <!-- <thead>-->
- <!-- <tr>-->
- <!-- <th class="text-center">商品图</th>-->
- <!-- </tr>-->
- <!-- <tr>-->
- <!-- <td width="90px" class="text-center"><input name="image" type="hidden" value="{$vo.image|default=''}"></td>-->
- <!-- </tr>-->
- <!-- </thead>-->
- <!-- </table>-->
- <!-- <script>$('[name="image"]').uploadOneImage()</script>-->
- <!-- </div>-->
- <div class="layui-form-item">
- <span class="color-green label-required-prev">图片组</span>
- <table class="layui-table">
- <thead>
- <tr>
- <!-- <th class="text-center">视频</th>-->
- <th class="text-left">图片</th>
- </tr>
- <tr>
- <!-- <td width="90px" class="text-center"><input name="video" type="hidden" value="{$vo.video|default=''}"></td>-->
- <td width="auto" class="text-left"><input name="image" type="hidden" value="{$vo.image|default=''}"></td>
- </tr>
- </thead>
- </table>
- <script> $('[name="image"]').uploadMultipleImage()</script>
- </div>
- <div class="layui-form-item">
- <label class="relative block">
- <span class="color-green font-w7">标题</span>
- <input type="text" maxlength="20" autocomplete="off" autofocus name="name" value='{$vo.name|default=""}' placeholder="请输入商品标题" class="layui-input">
- </label>
- </div>
- <div class="layui-form-item">
- <label class="relative block">
- <span class="color-green font-w7">数量</span>
- <input type="number" maxlength="11" autocomplete="off" autofocus name="number" value='{$vo.number|default=""}' placeholder="请输入商品数量" class="layui-input">
- </label>
- </div>
- </div>
- </div>
- {notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}
- <input type='hidden' value='{$vo.uid}' name='uid'>
- {notempty name='vo.create_time'}<input type='hidden' value='{$vo.create_time|default=""}' name='create_time'>{/notempty}
- <div class="layui-form-item text-center">
- <button class="layui-btn" type='submit'>提交</button>
- <!-- <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗?" data-close>取消编辑</button>-->
- </div>
- </form>
|