修改后台用户编辑表单

This commit is contained in:
Anyon 2020-04-16 22:13:07 +08:00
parent 72d3aa7880
commit 94059c0739

View File

@ -1,9 +1,8 @@
<form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
<div class="layui-card-body padding-left-40">
<fieldset class="layui-form-item">
<legend class="layui-bg-gray">账号信息</legend>
<div class="layui-row layui-col-space15">
<div class="layui-col-xs2" style="width:100px">
<div class="layui-col-xs2 text-center">
<input type="hidden" name="headimg" value="{$vo.headimg|default=''}">
<script>$('[name=headimg]').uploadOneImage()</script>
</div>
@ -28,9 +27,8 @@
</label>
</div>
</div>
</fieldset>
<fieldset class="layui-form-item">
<legend class="layui-bg-gray">用户资料</legend>
<div class="layui-row layui-col-space15">
<div class="layui-col-xs4">
<label class="relative block">
@ -57,9 +55,9 @@
</label>
</div>
</div>
</fieldset>
{notempty name='authorizes'}
<div class="layui-form-item layui-col-space10">
<div class="layui-form-item">
<span class="color-green font-w7">访问权限</span>
<span class="color-desc margin-left-5">Authorize</span>
<div class="layui-textarea">
@ -81,9 +79,8 @@
</div>
</div>
{/notempty}
<label class="layui-form-item layui-col-space10 block">
<span class="color-green font-w7">用户描述</span>
<span class="color-desc margin-left-5">Description</span>
<label class="layui-form-item block relative">
<span class="color-green font-w7">用户描述</span><span class="color-desc">Description</span>
<textarea placeholder="请输入用户描述" class="layui-textarea" name="describe">{$vo.describe|default=""}</textarea>
</label>
<div class="hr-line-dashed"></div>