zzwy2/view/manager/slide/add.html

78 lines
2.9 KiB
HTML
Raw Normal View History

2022-10-08 09:31:39 +00:00
<div class="layui-card layui-col-md12">
<div class="layui-card-body">
<form data-action="{:url('manager.slide/add')}" class="layui-form">
<input type="hidden" name="__token__" value="{$_token}" />
<div class="layui-form-item">
<label class="layui-form-label">标题</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="item[title]" />
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">轮播图</label>
<div class="layui-input-block">
{:widget('manager.upload/image', ['img_size' => $img_size['slide_size']??''])}
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">手机端轮播图</label>
<div class="layui-input-block">
{:widget('manager.upload/image', ['img_size' => $img_size['slide_size']??'' ,"append"=>"_mobile"])}
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">URL</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="item[url]" placeholder="http:// 或 https:// 开头的标准URL"/>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">标题1</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="item[font1]" />
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">标题2</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="item[font2]" />
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">标题3</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="item[font3]" />
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">标题4</label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="item[font4]" />
</div>
</div>
<div class="layui-form-item layui-hide">
<label class="layui-form-label">简介</label>
<div class="layui-input-block">
<textarea name="item[description]" class="codeEditor layui-textarea" ></textarea>
</div>
</div>
<div class="layui-clear"></div>
<hr style="margin: 30px 0;">
<div class="layui-form-item">
<div class="text-center">
<button type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="submitAll">保存</button>
</div>
</div>
</form>
</div>
</div>