luck-draw/view/manager/config/base.html

131 lines
6.1 KiB
HTML

{layout name="manager/layout" /}
<div class="layuimini-container location-operate-page">
<div class="layuimini-main">
<div class="layui-form layuimini-form">
<div class="layui-form-item layui-hide">
<label class="layui-form-label">是否开启OSS</label>
<div class="layui-input-block">
<input type="radio" name="oss" value="true" title="是" {if isset($item.oss) && $item.oss == 'true'}checked{/if}>
<input type="radio" name="oss" value="false" title="否" {if !isset($item.oss) || $item.oss == 'false'}checked{/if}>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">公司名称</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="siteName" value="{$item.siteName??''}" >
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">公司名称(英文)</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="siteNameEn" value="{$item.siteNameEn??''}" >
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">公司地址</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="siteAddress" value="{$item.siteAddress??''}" >
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">电话</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="siteTel" value="{$item.siteTel??''}" >
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">座机</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="siteFax" value="{$item.siteFax??''}" >
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">Email</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="siteEmail" value="{$item.siteEmail??''}" >
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">版权</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="siteCopyright" value="{$item.siteCopyright??''}" >
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">备案号</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="siteRecordNumber" value="{$item.siteRecordNumber??''}" >
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">底部微博链接</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="siteWeiboLink" value="{$item.siteWeiboLink??''}" >
</div>
</div>
<div class="layui-form-item layui-row field-div current-field-cover" >
<label class="layui-form-label">底部微信二维码:</label>
<div class="layui-inline layui-col-xs12 layui-col-md8">
<div class="layui-row upload-file-div">
<div class=" layui-col-xs12 layui-col-md8">
<input class="layui-input upload-file-value" name="wechatQR" type="text" value="{$item.wechatQR ?? ''}">
<div class="layui-form-mid layui-word-aux">图片尺寸:亲上传合适尺寸的图片</div>
</div>
<div class="layui-col-xs12 layui-col-md3">
<span>
<button type="button" class="layui-btn layui-btn-danger upload-btn">
<i class="fa fa-upload"></i> 上传
</button>
</span>
<span><button type="button" class="layui-btn layui-btn-primary upload-choose-btn" data-url="/manager/attachment/image" data-type="image" data-multiple="false"><i class="fa fa-list"></i> 选择</button></span>
</div>
<ul class="layui-row layui-col-xs12 layui-col-md9 preview-list layui-col-space5"></ul>
</div>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">seoTitle</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="seoTitle" value="{$item.seoTitle??''}" >
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">seoKeywords</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="seoKeywords" value="{$item.seoKeywords??''}" >
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">seoDescription</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="seoDescription" value="{$item.seoDescription??''}" >
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn layui-btn-normal" data-url="/manager/config/{$Request.action}" lay-submit lay-filter="saveConfig">确认保存</button>
</div>
</div>
</div>
</div>
</div>