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

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