12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <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>
- <label class="layui-form-item block relative">
- <span class="color-green margin-right-10">会员体验</span><span class="nowrap color-desc">VipExperience</span>
- <select name="vip_experience" class="layui-select">
- <option value="0">请选择</option>
- {foreach $user_level as $k=>$v}
- <option {if $vip_experience == $k}selected{/if} value="{$k}">{$v}</option>
- {/foreach}
- </select>
- </label>
- <label class="layui-form-item block relative">
- <span class="color-green margin-right-10">平台名称</span><span class="nowrap color-desc">AppName</span>
- <input name="app_name" required placeholder="请输平台名称" value="{:sysconf('app_name')}" class="layui-input">
- </label>
- <div class="layui-form-item">
- <span class="color-green margin-right-10">平台LOGO</span><span class="nowrap color-desc">AppLogo</span>
- <div class="layui-input-line">
- <input name="app_logo" type="hidden" value="{:sysconf('app_logo')}">
- </div>
- </div>
- <div class="layui-form-item">
- <span class="color-green margin-right-10">客服二维码</span><span class="nowrap color-desc">ServiceQrCode</span>
- <div class="layui-input-line">
- <input name="service_qr_code" type="hidden" value="{:sysconf('service_qr_code')}">
- </div>
- </div>
- <label class="layui-form-item block relative">
- <span class="color-green margin-right-10">客服电话</span><span class="nowrap color-desc">ServicePhone</span>
- <input name="service_phone" required placeholder="请输首页公告内容" value="{:sysconf('service_phone')}" class="layui-input">
- </label>
- <label class="layui-form-item block relative">
- <span class="color-green margin-right-10">客服邮件</span><span class="nowrap color-desc">ServiceEmail</span>
- <input name="service_email" required placeholder="请输首页公告内容" value="{:sysconf('service_email')}" 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'
- });
- })
- $('[name="service_qr_code"]').uploadOneImage();
- $('[name="app_logo"]').uploadOneImage();
- </script>
|