截流自动化的商城平台
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_default.html 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {layout name="layout2" /}
  2. <div class="layui-form" lay-filter="layuiadmin-form-reply" id="layuiadmin-form-reply" style="padding: 20px 30px 0 0;">
  3. <div class="layui-form-item">
  4. <label class="layui-form-label"><font color="red">*</font>规则名称:</label>
  5. <div class="layui-input-inline">
  6. <input type="text" name="name" value="" lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
  7. </div>
  8. </div>
  9. <div class="layui-form-item">
  10. <label class="layui-form-label"></label><span style="color: #a3a3a3;font-size: 9px">方便通过名称管理默认回复内容</span>
  11. </div>
  12. <div class="layui-form-item">
  13. <label class="layui-form-label">内容类型:</label>
  14. <div class="layui-input-inline">
  15. <select name="content_type" >
  16. <option value="1">文本</option>
  17. </select>
  18. </div>
  19. </div>
  20. <div class="layui-form-item">
  21. <label class="layui-form-label">回复内容:</label>
  22. <div class="layui-input-inline">
  23. <textarea name="content" placeholder="请输入内容" class="layui-textarea"></textarea>
  24. </div>
  25. </div>
  26. <div class="layui-form-item">
  27. <label class="layui-form-label">启用状态:</label>
  28. <div class="layui-input-inline">
  29. <input type="radio" name="status" value="1" title="启用" checked>
  30. <input type="radio" name="status" value="0" title="停用" >
  31. </div>
  32. </div>
  33. <div class="layui-form-item layui-hide">
  34. <input type="button" lay-submit lay-filter="add-reply-submit" id="add-reply-submit" value="确认">
  35. </div>
  36. </div>
  37. <script>
  38. layui.config({
  39. version:"{$front_version}",
  40. base: '/static/lib/' //静态资源所在路径
  41. }).use(['form'], function(){
  42. var $ = layui.$,form = layui.form;
  43. });
  44. </script>