zzwy2/view/manager/config/slide.html

60 lines
3.2 KiB
HTML
Raw Normal View History

2022-10-08 09:31:39 +00:00
{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/slide')}">
<div class="form-group-title mgb25"><strong>右侧边栏(浮动)</strong></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 mgb10" name="wechat_icon_title" value="{$item.wechat_icon_title ?: '限时福利'}"
placeholder="icon标题留空默认为“限时福利”">
<input class="layui-input mgb10" name="wechat_qr_title" value="{$item.wechat_qr_title ?? ''}"
placeholder="主标题,留空则不展示">
<input class="layui-input mgb10" name="wechat_qr_subtitle" value="{$item.wechat_qr_subtitle ?? ''}"
placeholder="副标题,留空则不展示">
{:widget('manager.upload/image',['append' => '_wechat_qr','src' => $item.img_wechat_qr ?? '', 'imgSize' => '正方形图片均可', 'midStr'=>'限时福利二维码图片'])}
</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 mgb10" name="wx_contact_icon_title" value="{$item.wx_contact_icon_title ?: '微信咨询'}"
placeholder="icon标题留空默认为“微信咨询”">
<input class="layui-input mgb10" name="wx_contact_qr_title" value="{$item.wx_contact_qr_title ?? ''}"
placeholder="主标题,留空则不展示">
{:widget('manager.upload/image',['append' => '_wx_contact_qr','src' => $item.img_wx_contact_qr ?? '', 'imgSize' => '正方形图片均可', 'midStr'=>'微信咨询二维码图片'])}
</div>
</div>
<div class="layui-form-item"></div>
</div>
<hr />
<div class="form-group-title mgb25"><strong>左侧边栏(浮动)</strong></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 mgb10" name="article_detail_icon_title" value="{$item.article_detail_icon_title ?: '快速试用'}"
placeholder="icon标题留空默认为“快速试用”">
<input class="layui-input mgb10" name="article_detail_form_title" value="{$item.article_detail_form_title ?? '与我联系,免费试用'}"
placeholder="表单标题,留空默认为“与我联系,免费试用”">
</div>
</div>
<div class="layui-form-item"></div>
</div>
<hr />
<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>