caipan_shop_admin/view/manager/slide/add.html

64 lines
3.0 KiB
HTML
Raw Normal View History

2022-05-25 11:35:57 +00:00
{layout name="manager/layout" /}
<div class="layuimini-container location-operate-page">
<div class="layuimini-main">
<div class="layui-form layuimini-form">
<!-- 显示位置 -->
<div class="layui-form-item">
<label class="layui-form-label required">显示位置</label>
<div class="layui-input-block">
<div id="position-list" data-menu="{$positionsJson ?? ''}"></div>
</div>
</div>
<div class="layui-form-item field-div">
<label class="layui-form-label required">标题</label>
<div class="layui-input-block">
<input type="text" name="item[title]" placeholder="请输入标题" class="layui-input" value="">
</div>
</div>
<div class="layui-form-item field-div">
<label class="layui-form-label">跳转链接</label>
<div class="layui-input-block">
<input type="text" name="item[url]" placeholder="请输入跳转链接[选填]" class="layui-input" value="">
</div>
</div>
<div class="layui-form-item layui-row field-div" >
<label class="layui-form-label required">轮播图:</label>
<div class="layui-inline layui-col-xs12 layui-col-md8">
<div class="layui-row upload-file-div">
<div class=" layui-col-xs12 layui-col-md8">
<input class="layui-input upload-file-value" name="item[src]" type="text" value="">
2022-06-09 01:48:06 +00:00
<div class="layui-form-mid layui-word-aux">图片尺寸710px*400px</div>
2022-05-25 11:35:57 +00:00
</div>
<div class="layui-col-xs12 layui-col-md3">
<span>
<button type="button" class="layui-btn layui-btn-danger upload-btn">
<i class="fa fa-upload"></i> 上传
</button>
</span>
</div>
<ul class="layui-row layui-col-xs12 layui-col-md9 preview-list layui-col-space5"></ul>
</div>
</div>
</div>
<div class="layui-form-item layui-form-text field-div current-field-content"}>
<label class="layui-form-label">描述</label>
<div class="layui-input-block">
<textarea name="item[description]" class="layui-textarea"></textarea>
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn layui-btn-normal" data-url="/manager/slide/add" lay-submit lay-filter="saveBtn">确认保存</button>
</div>
</div>
</div>
</div>
</div>
<script src="__MANAGER__/js/slide.js?v={:mt_rand()}"></script>