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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {layout name="layout2" /}
  2. <style>
  3. .input-inline-width {
  4. width: 200px;
  5. }
  6. .input-block-width {
  7. width: 350px;
  8. }
  9. </style>
  10. <div class="layui-card layui-form">
  11. <div class="layui-card-body">
  12. <input type="hidden" name="id" value="{$detail.id}">
  13. <div class="layui-form-item">
  14. <label class="layui-form-label">话术标题:</label>
  15. <div class="layui-input-inline">
  16. <input type="text" name="title" value="{$detail.title}" autocomplete="off" class="layui-input" lay-verify="required" >
  17. </div>
  18. </div>
  19. <div class="layui-form-item">
  20. <label class="layui-form-label">话术内容:</label>
  21. <div class="layui-input-block input-block-width">
  22. <textarea placeholder="请输入内容"name="content" class="layui-textarea" cols="50" rows="10">{$detail.content}</textarea>
  23. </div>
  24. </div>
  25. <div class="layui-form-item">
  26. <label class="layui-form-label">排序:</label>
  27. <div class="layui-input-block input-inline-width">
  28. <input type="number" name="sort" value="{$detail.sort}" autocomplete="off" class="layui-input" value="1" min="0">
  29. <label class="layui-form-mid layui-word-aux">排序值越小越靠前,默认值为1</label>
  30. </div>
  31. </div>
  32. <div class="layui-form-item layui-hide">
  33. <input type="button" lay-submit lay-filter="editSubmit" id="editSubmit" value="确认">
  34. </div>
  35. </div>
  36. </div>
  37. <script>
  38. layui.config({
  39. version: "{$front_version}",
  40. base: '/static/lib/' //静态资源所在路径
  41. }).use(['form'], function () {
  42. var form = layui.form;
  43. });
  44. </script>