zzwy2/view/manager/link/add.html

30 lines
1.4 KiB
HTML
Executable File

<div class="layui-card layui-col-md12">
<div class="layui-card-body">
<form data-action="{:url('manager.link/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])}
</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">
<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>