zzwy2/view/manager/history/edit_info.html

38 lines
2.1 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 class="layui-form" data-action="{:url('manager.history/editInfo')}">
<input type="hidden" name="__token__" value="{$_token}" />
<strong style="color: #f20000; font-size: 12px; display: block; line-height: 1;">注意*号为必填选项!</strong>
<hr style="margin: 20px 0;">
<div class="layui-form-itemBox3 between">
<div class="layui-form-item">
<label class="layui-form-label">事例概述<em>*</em></label>
<div class="layui-input-block">
<textarea name="item[title]" class="layui-textarea">{$item.title}</textarea>
</div>
</div>
<div class="layui-form-item"><div class="layui-form-mid layui-word-aux">事例概述请勿超过200个字符</div></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">状态</label>
<div class="layui-inline">
<input type="radio" name="item[visible]" value="0" title="隐藏" {if $item.visible == 0} checked {/if} />
<input type="radio" name="item[visible]" value="1" title="正常" {if $item.visible == 1} checked {/if} />
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">图组</label>
<div class="layui-input-block">
{:widget('manager.upload/multi',['imgs'=>empty($item['imgs'])?[]:$item['imgs'],'imgSize' => '425px X 280px'])}
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label"></label>
<div class="layui-inline">
<button type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="submitAll">保存</button>
</div>
</div>
<input type="hidden" class="layui-input" name="id" value="{$item.id}" />
</form>
</div>
</div>