1234567891011121314151617181920212223242526272829303132 |
- <form onsubmit="return false;" data-auto="true" action="{:url('save')}" method="post" class='layui-form layui-card' autocomplete="off">
- <div class="layui-card-body padding-40">
- <label class="layui-form-item block relative">
- <span class="color-green margin-right-10">首页公告</span><span class="nowrap color-desc">IndexNotice</span>
- <input name="index_notice" required placeholder="请输首页公告内容" value="{:sysconf('index_notice')}" class="layui-input">
- </label>
- <div class="layui-form-item text-center margin-top-20">
- <button class="layui-btn" type="submit">保存配置</button>
- </div>
- </div>
- </form>
- <script>
- layui.use('laydate', function(){
- var laydate = layui.laydate;
- //时间选择器
- laydate.render({
- elem: '#start_time_cost'
- ,type: 'time'
- });
- laydate.render({
- elem: '#end_time_cost'
- ,type: 'time'
- });
- })
- </script>
|