platform-set.html 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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 block relative">
  4. <span class="color-green margin-right-10">首页公告</span><span class="nowrap color-desc">IndexNotice</span>
  5. <input name="index_notice" required placeholder="请输首页公告内容" value="{:sysconf('index_notice')}" class="layui-input">
  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. </form>
  12. <script>
  13. layui.use('laydate', function(){
  14. var laydate = layui.laydate;
  15. //时间选择器
  16. laydate.render({
  17. elem: '#start_time_cost'
  18. ,type: 'time'
  19. });
  20. laydate.render({
  21. elem: '#end_time_cost'
  22. ,type: 'time'
  23. });
  24. })
  25. </script>