form.html 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. <form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
  2. <div class="layui-card-body padding-left-40">
  3. <div class="layui-form-item">
  4. <span class="color-green label-required-prev">轮播展示图片</span>
  5. <table class="layui-table">
  6. <thead>
  7. <tr>
  8. <th class="text-center">轮播展示图片</th>
  9. </tr>
  10. <tr>
  11. <td width="90px" class="text-center"><input name="image" type="hidden" value="{$vo.logo|default=''}"></td>
  12. </tr>
  13. </thead>
  14. </table>
  15. <script>$('[name="image"]').uploadOneImage()</script>
  16. </div>
  17. </div>
  18. <div class="hr-line-dashed"></div>
  19. {notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}
  20. <div class="layui-form-item text-center">
  21. <button class="layui-btn" type='submit'>保存数据</button>
  22. <!-- <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗?" data-close>取消编辑</button>-->
  23. </div>
  24. </form>