修改用户头像样式

This commit is contained in:
邹景立 2021-05-08 19:22:17 +08:00
parent fcf2e25c14
commit 29537f0591
4 changed files with 3 additions and 4 deletions

View File

@ -33,7 +33,7 @@
<dd lay-unselect><a data-load="{:url('admin/login/out')}" data-confirm="确定要退出登录吗?"><i class="layui-icon layui-icon-release"></i> 退出登录</a></dd>
</dl>
<a class="layui-elip">
<img alt=" " onerror="this.src='__ROOT__/static/theme/img/headimg.png'" src="{:htmlentities(session('user.headimg'))}">
<span class="headimg headimg-xs" data-lazy-src="{:htmlentities(session('user.headimg'))}"></span>
<span>{:htmlentities(session('user.nickname')?:session('user.username'))}</span>
</a>
</li>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,6 @@
.headimg {
width: 35px;
height: 35px;
border: 1px solid @BoxBorderRadius;
display: inline-block;
overflow: hidden;
text-align: center;