修改用户列表

This commit is contained in:
Anyon 2020-01-03 15:06:32 +08:00
parent 10fcf12b91
commit b639dfb15c
2 changed files with 14 additions and 4 deletions

View File

@ -43,15 +43,18 @@
<td class='text-left nowrap'>
<img alt="img" width="40px" height="40px" class="text-top margin-right-10" data-tips-image src="{$vo.headimg|default=''}">
<div class="inline-block">
登录账号 <b class="color-blue">{$vo.username|default=''}</b>,账号昵称 <b class="color-blue">{$vo.nickname|default='<span class="color-desc">未配置账号昵称</span>'|raw}</b><br>
用户账号 <b class="color-blue">{$vo.username|default=''}</b>,账号昵称 <b class="color-blue">{$vo.nickname|default='<span class="color-desc">未配置账号昵称</span>'|raw}</b><br>
联系手机 <span class="color-blue">{$vo.contact_phone|default='<i class="color-desc">未配置联系手机</i>'|raw}</span>
联系邮箱 <span class="color-blue">{$vo.contact_mail|default='<i class="color-desc">未配置联系邮箱</i>'|raw}</span>
</div>
</td>
<td class='text-left nowrap layui-hide-xs'>
共登录了 <b class="color-blue">{$vo.login_num|default=0}</b> 次,
最后访问 <b class="color-blue">{$vo.login_ip|default='--'}</b><br>
账号创建于 <i class="color-blue">{$vo.create_at|format_datetime}</i>,当前 {eq name='vo.status' value='0'}<b class="color-red">已禁用</b>{else}<b class="color-green">使用中</b>{/eq}
账号创建于 <span class="color-blue">{$vo.create_at|format_datetime}</span>,共登录了 <span class="color-blue">{$vo.login_num|default=0}</span><br>
{if $vo.login_at}
最近于 <span class="color-blue">{$vo.login_at|format_datetime}</span> 通过 <span class="color-blue">{$vo.login_ip|default='--'}</span> 登录,{else}
<span class="color-desc">该账号还没有登录过哦,登录之后才会有记录!</span>
{/if}
{eq name='vo.status' value='0'}<b class="color-red">已禁用</b>{else}<b class="color-green">使用中</b>{/eq}
</td>
<td class='text-left nowrap'>

View File

@ -47,6 +47,13 @@
</div>
</div>
<div class="layui-form-item layui-inline">
<label class="layui-form-label">创建时间</label>
<div class="layui-input-inline">
<input data-date-range name="create_at" value="{:input('get.create_at')}" placeholder="请选择创建时间" class="layui-input">
</div>
</div>
<div class="layui-form-item layui-inline">
<button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button>
</div>