53 lines
2.6 KiB
HTML
Executable File
53 lines
2.6 KiB
HTML
Executable File
{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">
|
|
<label class="layui-form-label required">名称</label>
|
|
<div class="layui-input-block">
|
|
<input type="text" name="nickname" value="{$item['nickname']}" lay-verify="required" lay-reqtext="昵称不能为空"
|
|
placeholder="请输入名称" class="layui-input">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">真实姓名</label>
|
|
<div class="layui-input-block">
|
|
<input type="text" name="real_name" value="{$item['real_name']}" class="layui-input">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label required">手机号</label>
|
|
<div class="layui-input-block">
|
|
<input type="text" name="mobile" disabled value="{$item['mobile']}" lay-reqtext="手机号不能为空" placeholder="请输入名称" class="layui-input">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">性别</label>
|
|
<div class="layui-input-block">
|
|
<input type="radio" name="gender" value="1" title="男" {if $item.gender == 1} checked {/if}>
|
|
<input type="radio" name="gender" value="2" title="女" {if $item.gender == 2} checked {/if}>
|
|
<input type="radio" name="gender" value="0" title="保密" {if $item.gender == 0} checked {/if}>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="layui-form-item layui-form-text">
|
|
<label class="layui-form-label">用户备注</label>
|
|
<div class="layui-input-block editor-text">
|
|
<textarea name="remarks" class="layui-textarea">{$item.remarks ?? ''}</textarea>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="layui-form-item">
|
|
<div class="layui-input-block">
|
|
<input type="hidden" name="id" value="{$item.id ?? 0}">
|
|
<button class="layui-btn layui-btn-normal" data-url="/manager/account/index/edit" lay-submit lay-filter="saveBtn">确认保存</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="__MANAGER__/js/account/account.js?v={:mt_rand()}"></script> |