截流自动化的商城平台
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

edit_text.html 3.1KB

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