截流自动化的商城平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

add.html 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {layout name="layout2" /}
  2. <div class="layui-form" lay-filter="layuiadmin-form-admin" id="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">
  3. <input type="hidden" value="0" name="id">
  4. <div class="layui-form-item">
  5. <label class="layui-form-label">账号</label>
  6. <div class="layui-input-inline">
  7. <input type="text" name="account" lay-verify="required" lay-vertype="tips" placeholder="请输入账号" autocomplete="off" class="layui-input">
  8. </div>
  9. </div>
  10. <div class="layui-form-item">
  11. <label class="layui-form-label">密码</label>
  12. <div class="layui-input-inline">
  13. <input type="password" name="password" lay-verify="required" lay-vertype="tips" placeholder="请输入密码" autocomplete="off" class="layui-input">
  14. </div>
  15. </div>
  16. <div class="layui-form-item">
  17. <label class="layui-form-label">确定密码</label>
  18. <div class="layui-input-inline">
  19. <input type="password" name="re_password" lay-verify="required" lay-vertype="tips" placeholder="确定请输入密码" autocomplete="off" class="layui-input">
  20. </div>
  21. </div>
  22. <div class="layui-form-item">
  23. <label class="layui-form-label">名称</label>
  24. <div class="layui-input-inline">
  25. <input type="text" name="name" lay-verify="required" lay-vertype="tips" placeholder="请输入名称" autocomplete="off" class="layui-input">
  26. </div>
  27. </div>
  28. <div class="layui-form-item">
  29. <label class="layui-form-label">角色</label>
  30. <div class="layui-input-inline">
  31. <select name="role_id" lay-verify="required"lay-vertype="tips" placeholder="请选择角色" >
  32. <option value="">选择</option>
  33. {volist name="role_lists" id="vo"}
  34. <option value="{$vo.id}">{$vo.name}</option>
  35. {/volist}
  36. </select>
  37. </div>
  38. </div>
  39. <div class="layui-form-item">
  40. <label class="layui-form-label">状态</label>
  41. <div class="layui-input-inline">
  42. <input type="checkbox" lay-filter="disable" name="disable" lay-skin="switch" lay-text="启用|禁用" checked >
  43. </div>
  44. </div>
  45. <div class="layui-form-item layui-hide">
  46. <input type="button" lay-submit lay-filter="admin-submit" id="admin-submit" value="确认">
  47. </div>
  48. </div>