截流自动化的商城平台
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

edit.html 1.5KB

1234567891011121314151617181920212223242526272829303132
  1. {layout name="layout2" /}
  2. <div class="layui-form" lay-filter="layuiadmin-form-goodsColumn" id="layuiadmin-form-goodsColumn" style="padding: 20px 30px 0 0;">
  3. <input type="hidden" value="{$detail.id}" name="id">
  4. <!--栏目名称-->
  5. <div class="layui-form-item">
  6. <label class="layui-form-label"><span style="color: red">*</span>栏目名称:</label>
  7. <div class="layui-input-inline">
  8. <input type="text" name="name" value="{$detail.name}" lay-verify="required" lay-vertype="tips" autocomplete="off" class="layui-input">
  9. </div>
  10. </div>
  11. <!--栏目简介-->
  12. <div class="layui-form-item">
  13. <label class="layui-form-label"><span style="color: red">*</span>栏目简介:</label>
  14. <div class="layui-input-inline">
  15. <textarea name="remark" lay-verify="required" class="layui-textarea">{$detail.remark}</textarea>
  16. </div>
  17. </div>
  18. <!--状态-->
  19. <div class="layui-form-item">
  20. <label class="layui-form-label">状态</label>
  21. <div class="layui-input-inline">
  22. <input type="checkbox" lay-filter="disable" name="status" lay-skin="switch" lay-text="显示|隐藏" {if condition="$detail.status eq 1" }checked{/if}>
  23. <div class=" layui-form-mid layui-word-aux">显示或者隐藏商品栏目</div>
  24. </div>
  25. </div>
  26. <div class="layui-form-item layui-hide">
  27. <input type="button" lay-submit lay-filter="goodsColumn-submit-edit" id="goodsColumn-submit-edit" value="确认">
  28. </div>
  29. </div>