52 lines
2.3 KiB
HTML
52 lines
2.3 KiB
HTML
{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 field-div">
|
|
<label class="layui-form-label ">标题</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 layui-hide" >
|
|
<label class="layui-form-label ">图片:</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[url]" type="text" value="">
|
|
<div class="layui-form-mid layui-word-aux">图片尺寸:请上传合适大小的图片</div>
|
|
</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">
|
|
<div class="layui-input-block">
|
|
<button class="layui-btn layui-btn-normal" data-url="/manager/link/add" lay-submit lay-filter="saveBtn">确认保存</button>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|