index-agent-notice.html 843 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">AgentNotice</span>
  5. <textarea name="agent_notice">{:sysconf('agent_notice')}</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="agent_notice"]', {height: 500});
  15. })
  16. </script>
  17. </form>