zzwy2/view/manager/config/base.html

182 lines
8.7 KiB
HTML
Executable File

{layout name="manager/layout" /}
<div class="layui-card layui-col-md12">
<div class="layui-card-body">
<form class="layui-form " data-action="{:url('manager.config/base')}">
<div class="layui-form-item">
<label class="layui-form-label">公司名称</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="company_name" value="{$item['company_name']??''}"/>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">logo</label>
<div class="layui-input-block">
{:widget('manager.upload/image',['append' => '_logo','src' => $item.img_logo??'', 'imgSize' => '200px x 80px', 'className'=>'uploadImgShow2'])}
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">手机端logo</label>
<div class="layui-input-block">
{:widget('manager.upload/image',['append' => '_logo_m','src' => $item.img_logo_m??'', 'imgSize' => '200px x 80px', 'className'=>'uploadImgShow2'])}
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">PC端导航背景</label>
<div class="layui-input-block">
{:widget('manager.upload/image',['append' => '_bg_pc','src' => $item.img_bg_pc??'', 'imgSize' => '1920px x 90px', 'className'=>'uploadImgShow2'])}
</div>
</div>
<div class="layui-form-item layui-hide">
<label class="layui-form-label">手机端导航背景</label>
<div class="layui-input-block">
{:widget('manager.upload/image',['append' => '_bg_mobile','src' => $item.img_bg_mobile??'', 'imgSize' => '750px x 90px', 'className'=>'uploadImgShow2'])}
</div>
</div>
<div class="layui-form-itemBox2 between-center layui-hide">
<div class="layui-form-item">
<label class="layui-form-label">电话</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="tel" value="{$item.tel ?? ''}" placeholder="咨询电话" />
</div>
</div>
<div class="layui-form-item"></div>
</div>
<div class="layui-form-itemBox2 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="landline" value="{$item.landline ?? ''}" placeholder="咨询电话" />
</div>
</div>
<div class="layui-form-item"></div>
</div>
<div class="layui-form-itemBox2 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="email" value="{$item.email ?? ''}" placeholder="邮箱地址" />
</div>
</div>
<div class="layui-form-item"></div>
</div>
<div class="layui-form-itemBox2 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="postcode" value="{$item.postcode ?? ''}" placeholder="邮编" />
</div>
</div>
<div class="layui-form-item"></div>
</div>
<div class="layui-form-itemBox2 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="addr" value="{$item.addr ?? ''}" placeholder="总部地址" />
</div>
</div>
<div class="layui-form-item"></div>
</div>
<div class="layui-form-itemBox2 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="url" value="{$item.url ?? ''}" placeholder="网址" />
</div>
</div>
<div class="layui-form-item"></div>
</div>
<div class="layui-form-itemBox2 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="copyright" value="{$item.copyright ?? ''}" placeholder="版权信息" />
</div>
</div>
<div class="layui-form-item"></div>
</div>
<div class="layui-form-itemBox2 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="recordation" value="{$item.recordation ?? ''}" placeholder="备案信息" />
</div>
</div>
<div class="layui-form-item"></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">官方微信</label>
<div class="layui-input-block">
{:widget('manager.upload/image',['append' => '_float_wechat','src' => $item.img_float_wechat??'', 'imgSize' => '正方形图片均可'])}
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">官方微信2</label>
<div class="layui-input-block">
{:widget('manager.upload/image',['append' => '_float_wechat2','src' => $item.img_float_wechat2??'', 'imgSize' => '正方形图片均可'])}
</div>
</div>
<div class="layui-form-item layui-hide">
<label class="layui-form-label">QQ号</label>
<div class="layui-input-block">
<input class="layui-input" type="number" name="product_qq" value="{$item.product_qq ?? ''}" placeholder="产品详情页 默认QQ号" />
</div>
</div>
<hr />
<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="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="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="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>