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

edit_default.html 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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">内容类型:</label>
  15. <div class="layui-input-inline">
  16. <select name="content_type" >
  17. <option value="1" {if condition="$detail.content_type eq 1" } selected {/if} >文本</option>
  18. </select>
  19. </div>
  20. </div>
  21. <div class="layui-form-item">
  22. <label class="layui-form-label">回复内容:</label>
  23. <div class="layui-input-inline">
  24. <textarea name="content" placeholder="请输入内容" class="layui-textarea">{$detail.content}</textarea>
  25. </div>
  26. </div>
  27. <div class="layui-form-item">
  28. <label class="layui-form-label">启用状态:</label>
  29. <div class="layui-input-inline">
  30. <input type="radio" name="status" value="1" title="启用" {if condition="$detail.status eq 1" } checked {/if} >
  31. <input type="radio" name="status" value="0" title="停用" {if condition="$detail.status eq 0" } checked {/if} >
  32. </div>
  33. </div>
  34. <div class="layui-form-item layui-hide">
  35. <input type="button" lay-submit lay-filter="edit-reply-submit" id="edit-reply-submit" value="确认">
  36. </div>
  37. </div>
  38. <script>
  39. layui.config({
  40. version:"{$front_version}",
  41. base: '/static/lib/' //静态资源所在路径
  42. }).use(['form'], function(){
  43. var $ = layui.$,form = layui.form;
  44. });
  45. </script>