chaoyu/view/manager/achievement/edit.html

55 lines
3.2 KiB
HTML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<div class="layui-card layui-col-md12">
<div class="layui-card-body">
<form class="layui-form" data-action="{:url('manager.achievement/edit')}">
<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">
<input class="layui-input" type="text" name="item[title]" maxlength="60" value="{$item['title']}"/>
<p class="layui-form-mid layui-word-aux">标题请勿超过60个字符</p>
</div>
</div>
</div>
<div class="layui-form-itemBox3 between">
<div class="layui-form-item">
<label class="layui-form-label">业绩标题-英文<em>*</em></label>
<div class="layui-input-block">
<input class="layui-input" type="text" name="item[title_en]" maxlength="60" value="{$item['title_en']}"/>
<p class="layui-form-mid layui-word-aux">标题请勿超过60个字符</p>
</div>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">业绩概述</label>
<div class="layui-input-block">
<textarea class="layui-textarea" name="item[summary]" maxlength="300" onkeyup="limitContentLength(this, 300)">{$item['summary']}</textarea>
<p class="layui-form-mid layui-word-aux">请勿超过300个字符</p>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">业绩概述-英文</label>
<div class="layui-input-block">
<textarea class="layui-textarea" name="item[summary_en]" maxlength="300" onkeyup="limitContentLength(this, 300)">{$item['summary_en']}</textarea>
<p class="layui-form-mid layui-word-aux">请勿超过300个字符</p>
</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-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>