index-customer-service.html 856 B

123456789101112131415161718
  1. <form onsubmit="return false;" data-auto="true" action="{:url('save')}" method="post" class='layui-form layui-card' autocomplete="off">
  2. <div class="layui-card-body padding-40">
  3. <label class="layui-form-item margin-top-20 block relative">
  4. <span class="color-green margin-right-10">客服设置</span><span class="nowrap color-desc">CustomerService</span>
  5. <textarea name="customer_service">{:sysconf('customer_service')}</textarea>
  6. </label>
  7. <div class="layui-form-item text-center margin-top-20">
  8. <button class="layui-btn" type="submit">保存配置</button>
  9. </div>
  10. </div>
  11. <script>
  12. window.form.render();
  13. require(['ckeditor', 'angular'], function () {
  14. window.createEditor('[name="customer_service"]', {height: 500});
  15. })
  16. </script>
  17. </form>