截流自动化的商城平台
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

add_text.html 2.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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"><font color="red">*</font>关键词:</label>
  14. <div class="layui-input-inline">
  15. <input type="text" name="keyword" value="" lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
  16. </div>
  17. </div>
  18. <div class="layui-form-item">
  19. <label class="layui-form-label"></label><span style="color: #a3a3a3;font-size: 9px">关键词不能超过5个字</span>
  20. </div>
  21. <div class="layui-form-item">
  22. <label class="layui-form-label">匹配方式:</label>
  23. <div class="layui-input-inline">
  24. <select name="matching_type">
  25. <option value="1">全匹配</option>
  26. <option value="2">模糊匹配</option>
  27. </select>
  28. </div>
  29. </div>
  30. <div class="layui-form-item">
  31. <label class="layui-form-label">内容类型:</label>
  32. <div class="layui-input-inline">
  33. <select name="content_type" lay-filter="aihao">
  34. <option value="1">文本</option>
  35. </select>
  36. </div>
  37. </div>
  38. <div class="layui-form-item">
  39. <label class="layui-form-label">回复内容:</label>
  40. <div class="layui-input-inline">
  41. <textarea name="content" placeholder="请输入内容" class="layui-textarea"></textarea>
  42. </div>
  43. </div>
  44. <div class="layui-form-item">
  45. <label class="layui-form-label">启用状态:</label>
  46. <div class="layui-input-inline">
  47. <input type="radio" name="status" value="1" title="启用" checked>
  48. <input type="radio" name="status" value="0" title="停用" >
  49. </div>
  50. </div>
  51. <div class="layui-form-item layui-hide">
  52. <input type="button" lay-submit lay-filter="add-reply-submit" id="add-reply-submit" value="确认">
  53. </div>
  54. </div>
  55. <script>
  56. layui.config({
  57. version:"{$front_version}",
  58. base: '/static/lib/' //静态资源所在路径
  59. }).use(['form'], function(){
  60. var $ = layui.$
  61. ,form = layui.form;
  62. });
  63. </script>