218 lines
15 KiB
HTML
Executable File
218 lines
15 KiB
HTML
Executable File
{layout name="manager/layout" /}
|
||
<div class="">
|
||
<div class="layui-tab newStyle" lay-filter="site">
|
||
<ul class="layui-tab-title">
|
||
<!-- <li lay-id="company"> 公司信息 </li>-->
|
||
<li class="layui-this" 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-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')} 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')} 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')} 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['']??''}" 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 tinymce-editor">{$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>
|
||
|