caipan_shop_admin/view/manager/slide/edit_position.html

30 lines
1.4 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 required">标题</label>
<div class="layui-input-block">
<input type="text" name="item[title]" placeholder="请输入标题" class="layui-input" value="{$item.title ?? ''}">
</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[key]" placeholder="请输入位置标识(标识一旦生成则无法修改)" class="layui-input layui-disabled" value="{$item.key ?? ''}" disabled>
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<input type="hidden" name="id" value="{$id ?? 0}">
<button class="layui-btn layui-btn-normal" data-url="/manager/slide/edit-position" lay-submit lay-filter="saveBtn">确认保存</button>
</div>
</div>
</div>
</div>
</div>
<script src="__MANAGER__/js/slide_position.js?v={:mt_rand()}"></script>