qingjian/view/manager/system/index.html

397 lines
25 KiB
HTML
Raw Normal View History

2021-08-06 10:50:55 +00:00
{layout name="manager/layout" /}
<div class="">
<div class="layui-tab newStyle" lay-filter="site">
<ul class="layui-tab-title">
<li class="layui-this" lay-id="company"> 公司信息 </li>
<li lay-id="upload">上传设置</li>
<li lay-id="system"> 系统设置 </li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
<form data-action="{:url('manager.system/index')}" class="layui-form">
<input type="hidden" name="__token__" value="{$_token}" />
<div class="system_title">公司信息</div>
<div class="layui-form-itemBox1 between-center">
<div class="layui-form-item">
<label class="layui-form-label">公司名称</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="item[company_name]" value="{$item['company_name']?$item['company_name']:''}"/>
</div>
</div>
</div>
<div class="layui-form-itemBox1 between-center">
<div class="layui-form-item">
<label class="layui-form-label">公司地址</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="item[company_addr]" value="{$item['company_addr']?$item['company_addr']:''}"/>
</div>
</div>
</div>
<!-- <div class="layui-form-itemBox1 between-center">-->
<!-- <div class="layui-form-item">-->
<!-- <label class="layui-form-label">公司联系人</label>-->
<!-- <div class="layui-input-block">-->
<!-- <input class="layui-input" type="text" name="item[company_contacts]" value="{$item['company_contacts']?$item['company_contacts']:''}"/>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<div class="layui-form-itemBox1 between-center">
<div class="layui-form-item">
<label class="layui-form-label">联系座机</label>
<div class="layui-input-block">
<input name="item[company_landline]" class="layui-input" type="text" value="{$item['company_landline']?$item['company_landline']:''}" />
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">联系手机</label>
<div class="layui-input-block">
<input name="item[company_tel]" class="layui-input" type="text" value="{$item['company_tel']?$item['company_tel']:''}" />
</div>
</div>
</div>
<div class="layui-form-itemBox1 between-center">
<div class="layui-form-item">
<label class="layui-form-label">邮箱</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="item[email]" value="{$item['email']?$item['email']:''}"/>
</div>
</div>
<!-- <div class="layui-form-item">-->
<!-- <label class="layui-form-label">QQ</label>-->
<!-- <div class="layui-input-block">-->
<!-- <input name="item[qq]" class="layui-input" type="text" value="{$item['qq']?$item['qq']:''}" />-->
<!-- </div>-->
<!-- </div>-->
</div>
<div class="layui-form-itemBox1 between-center">
<div class="layui-form-item">
<label class="layui-form-label">公司域名</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="item[company_url]" value="{$item['company_url']?$item['company_url']:''}" />
</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="item[company_copy]" value="{$item['company_copy']?$item['company_copy']:''}"/>
</div>
</div>
</div>
<div class="layui-form-itemBox1 between-center">
<div class="layui-form-item">
<label class="layui-form-label">版权信息</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="item[company_copyright]" value="{$item['company_copyright']?$item['company_copyright']:''}" />
</div>
</div>
</div>
<div class="system_title">其他设置</div>
<!-- <div class="layui-form-itemBox1 between-center">-->
<!-- <div class="layui-form-item">-->
<!-- <label class="layui-form-label">IM在线客服</label>-->
<!-- <div class="layui-input-block">-->
<!-- <input class="layui-input" type="text" name="item[im_online]" value="{$item['im_online']?$item['im_online']:''}" />-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="layui-form-itemBox1 between-center">-->
<!-- <div class="layui-form-item">-->
<!-- <label class="layui-form-label">电话(售前客服)</label>-->
<!-- <div class="layui-input-block">-->
<!-- <input class="layui-input" type="text" name="item[telephone_consultation_before]" value="{$item['telephone_consultation_before']?$item['telephone_consultation_before']:''}" />-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="layui-form-itemBox1 between-center">-->
<!-- <div class="layui-form-item">-->
<!-- <label class="layui-form-label">电话(售后客服)</label>-->
<!-- <div class="layui-input-block">-->
<!-- <input class="layui-input" type="text" name="item[telephone_consultation_after]" value="{$item['telephone_consultation_after']?$item['telephone_consultation_after']:''}" />-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<div class="layui-form-itemBox1 between-center">
<div class="layui-form-item">
<label class="layui-form-label">二维码</label>
<div class="layui-input-block">
{:widget('manager.upload/image',['append'=>'wechat_img','src' => $item.wechat_img??'',])}
</div>
</div>
</div>
<div class="system_title">页面相关</div>
<div class="layui-form-itemBox1 between-center">
<div class="layui-form-item">
<label class="layui-form-label">服务热线</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="item[service_hotline]" value="{$item['service_hotline']?$item['service_hotline']:''}"/>
</div>
</div>
</div>
<div class="layui-form-itemBox1 between-center">
<div class="layui-form-item">
<label class="layui-form-label">在线客服</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="item[im_online]" value="{$item['im_online']?$item['im_online']:''}"/>
</div>
</div>
</div>
<!-----------------------------------------SEO信息----------->
<div class="system_title">SEO信息</div>
<div class="layui-form-itemBox2 between">
<div class="layui-form-item">
<label class="layui-form-label">seo_title</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="item[seo_title]" value="{$item['seo_title']?$item['seo_title']:''}"/>
</div>
</div>
<div class="layui-form-item"><div class="layui-form-mid layui-word-aux">内容字符长度为60</div></div>
</div>
<div class="layui-form-itemBox2 between">
<div class="layui-form-item">
<label class="layui-form-label">keywords</label>
<div class="layui-input-block">
<textarea class="layui-textarea" name="item[seo_keywords]">{$item['seo_keywords']?$item['seo_keywords']:''}</textarea>
</div>
</div>
<div class="layui-form-item"></div>
</div>
<div class="layui-form-itemBox2 between">
<div class="layui-form-item">
<label class="layui-form-label">description</label>
<div class="layui-input-block">
<textarea class="layui-textarea" name="item[seo_description]">{$item['seo_description']?$item['seo_description']:''}</textarea>
</div>
</div>
<div class="layui-form-item"><div class="layui-form-mid layui-word-aux">内容字符长度为220</div></div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="submitAll">保存</button>
</div>
</div>
</form>
</div>
<div class="layui-tab-item">
<form data-action="{:url('manager.system/index')}" class="layui-form">
<input type="hidden" name="__token__" value="{$_token}" />
<div class="system_title">图片上传</div>
<div class="layui-form-itemBox2 between">
<div class="layui-form-item">
<label class="layui-form-label">图片格式</label>
<div class="layui-input-block">
<div class="layui-select newStyle">
<em>请选择</em>
<div class="top_box"></div>
<div class="lower_box">
<ul>
<li data-id="" data-val="jpg">jpg</li>
<li data-id="" data-val="png">png</li>
<li data-id="" data-val="jpeg">jpeg</li>
<li data-id="" data-val="gif">gif</li>
</ul>
</div>
<input type="hidden" class="parameter" name="item[img_type]" value="{$item['img_type']?$item['img_type']:'png,jpg'}" />
</div>
</div>
</div>
<div class="layui-form-item"></div>
</div>
<div class="layui-form-itemBox2 between">
<div class="layui-form-item">
<label class="layui-form-label">图片大小</label>
<div class="layui-input-block between">
<input class="layui-input" type="number" min="0" name="item[img_size]" value="{$item['img_size']?$item['img_size']:2}" style="margin-right: 15px;"/>
<div class="layui-form-mid">M</div>
</div>
</div>
<div class="layui-form-item">
<div class="layui-form-mid layui-word-aux">upload_max_filesize={:ini_get('upload_max_filesize')}&nbsp;&nbsp;&nbsp;&nbsp;post_max_size={:ini_get('post_max_size')}</div>
</div>
</div>
<div class="layui-form-itemBox2 between">
<div class="layui-form-item">
<label class="layui-form-label">缩略图尺寸</label>
<div class="layui-input-block between" >
<input class="layui-input" type="text" name="item[thumb_w]" value="{$item['thumb_w']?$item['thumb_w']:100}" style="width:100%" />
<div class="layui-form-mid" style="margin-left: 10px;">X</div>
<input class="layui-input" type="text" name="item[thumb_h]" value="{$item['thumb_h']?$item['thumb_h']:100}" style="width:100%" />
</div>
</div>
<div class="layui-form-item"><div class="layui-form-mid layui-word-aux">缩略图为宽X高单位为PX</div></div>
</div>
<div class="system_title">视频上传</div>
<div class="layui-form-itemBox2 between">
<div class="layui-form-item">
<label class="layui-form-label">视频格式</label>
<div class="layui-input-block">
<div class="layui-select newStyle">
<em>请选择</em>
<div class="top_box"></div>
<div class="lower_box">
<ul>
<li data-id="" data-val="mp4">mp4</li>
<li data-id="" data-val="webm">webm</li>
<li data-id="" data-val="ogg">ogg</li>
</ul>
</div>
<input type="hidden" class="parameter" name="item[video_type]" value="{$item['video_type']?$item['video_type']:'png,jpg'}" />
</div>
</div>
</div>
<div class="layui-form-item"></div>
</div>
<div class="layui-form-itemBox2 between">
<div class="layui-form-item">
<label class="layui-form-label">视频大小</label>
<div class="layui-input-block between">
<input class="layui-input" type="number" min="0" name="item[video_size]" value="{$item['video_size']?$item['video_size']:50}" style="margin-right: 15px;"/>
<div class="layui-form-mid">M</div>
</div>
</div>
<div class="layui-form-item">
<div class="layui-form-mid layui-word-aux">upload_max_filesize={:ini_get('upload_max_filesize')}&nbsp;&nbsp;&nbsp;&nbsp;post_max_size={:ini_get('post_max_size')}</div>
</div>
</div>
<div class="system_title">文件上传</div>
<div class="layui-form-itemBox2 between">
<div class="layui-form-item">
<label class="layui-form-label">文件格式</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="item[file_type]" value="{$item['file_type']?$item['file_type']:'pdf,docx,doc'}"/>
</div>
</div>
<div class="layui-form-item"></div>
</div>
<div class="layui-form-itemBox2 between">
<div class="layui-form-item">
<label class="layui-form-label">文件大小</label>
<div class="layui-input-block between">
<input class="layui-input " type="text" name="item[file_size]" value="{$item['file_size']?$item['file_size']:50}" style="margin-right: 15px;"/>
<div class="layui-form-mid">M</div>
</div>
</div>
<div class="layui-form-item">
<div class="layui-form-mid layui-word-aux">upload_max_filesize={:ini_get('upload_max_filesize')}&nbsp;&nbsp;&nbsp;&nbsp;post_max_size={:ini_get('post_max_size')}</div>
</div>
</div>
<div class="system_title">图片最佳尺寸</div>
<div class="layui-form-itemBox2 between">
<div class="layui-form-item">
<label class="layui-form-label">PC端轮播图</label>
<div class="layui-input-block between" >
<input class="layui-input" type="text" name="item[slide_w]" value="{$item.slide_w}" style="width:100%"/>
<div class="layui-form-mid" style="margin-left: 10px;">X</div>
<input class="layui-input" type="text" name="item[slide_h]" value="{$item.slide_h}" style="width:100%"/>
</div>
</div>
<div class="layui-form-item"><div class="layui-form-mid layui-word-aux">PC端轮播图为宽X高单位为PX</div></div>
</div>
<div class="layui-form-itemBox2 between">
<div class="layui-form-item">
<label class="layui-form-label">移动端轮播图</label>
<div class="layui-input-block between" >
<input class="layui-input" type="text" name="item[slide_mobile_w]" value="{$item.slide_mobile_w}" style="width:100%"/>
<div class="layui-form-mid" style="margin-left: 10px;">X</div>
<input class="layui-input" type="text" name="item[slide_mobile_h]" value="{$item.slide_mobile_h}" style="width:100%"/>
</div>
</div>
<div class="layui-form-item"><div class="layui-form-mid layui-word-aux">移动端轮播图为宽X高单位为PX</div></div>
</div>
<div class="layui-form-itemBox2 between">
<div class="layui-form-item">
<label class="layui-form-label">友情链接</label>
<div class="layui-input-block between" >
<input class="layui-input" type="text" name="item[link_w]" value="{$item.link_w}" style="width:100%"/>
<div class="layui-form-mid" style="margin-left: 10px;">X</div>
<input class="layui-input" type="text" name="item[link_h]" value="{$item.link_h}" style="width:100%"/>
</div>
</div>
<div class="layui-form-item"><div class="layui-form-mid layui-word-aux">友情链接为宽X高单位为PX</div></div>
</div>
<div class="layui-form-itemBox2 between">
<div class="layui-form-item">
<label class="layui-form-label">文章封面</label>
<div class="layui-input-block between" >
<input class="layui-input" type="text" name="item[article_w]" value="{$item.article_w}" style="width:100%"/>
<div class="layui-form-mid" style="margin-left: 10px;">X</div>
<input class="layui-input" type="text" name="item[article_h]" value="{$item.article_h}" style="width:100%"/>
</div>
</div>
<div class="layui-form-item"><div class="layui-form-mid layui-word-aux">文章封面为宽X高单位为PX</div></div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="submitAll">保存</button>
</div>
</div>
</form>
</div>
<div class="layui-tab-item">
<form data-action="{:url('manager.system/index')}" class="layui-form mt15">
<input type="hidden" name="__token__" value="{$_token}" />
<div class="layui-form-itemBox2 between">
<div class="layui-form-item">
<label class="layui-form-label">JS版本号</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="item[js_version]" value="{$item.js_version|default=date('Y-m-d')}"/>
</div>
</div>
<div class="layui-form-item"></div>
</div>
<div class="layui-form-itemBox2 between">
<div class="layui-form-item">
<label class="layui-form-label">CSS版本号</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="item[css_version]" value="{$item.css_version|default=date('Y-m-d')}"/>
</div>
</div>
<div class="layui-form-item"></div>
</div>
<div class="layui-form-itemBox2 between">
<div class="layui-form-item">
<label class="layui-form-label">统计代码</label>
<div class="layui-input-block">
<textarea name="item[statistics]" class="layui-textarea">{$item.statistics??''}</textarea>
</div>
</div>
<div class="layui-form-item"></div>
</div>
<div class="layui-form-itemBox2 between">
<div class="layui-form-item">
<label class="layui-form-label">底部信息</label>
<div class="layui-input-block editor-text">
<div class="editor"></div>
<textarea name="item[footer]" class="layui-textarea layui-hide">{$item.footer??''}</textarea>
</div>
</div>
<div class="layui-form-item"></div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="submitAll">保存</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>