修改头像,添加 md 尺寸

This commit is contained in:
邹景立 2021-03-18 11:52:30 +08:00
parent 9ffb226053
commit 7c3acd1024
5 changed files with 10 additions and 5 deletions

View File

@ -34,7 +34,7 @@
<label><input class="list-check-box" value='{$vo.id}' type='checkbox'></label>
</td>
<td class="nowrap">
<div class="headimg" data-tips-image data-lazy-src="{$vo.user.headimg|default='__ROOT__/static/theme/img/headimg.png'}"></div>
<div class="headimg headimg-md" data-tips-image data-lazy-src="{$vo.user.headimg|default='__ROOT__/static/theme/img/headimg.png'}"></div>
<div class="inline-block">
<div>用户昵称:<span class="color-blue">{$vo.user.nickname|default='--'}</span></div>
<div>用户手机:<span class="color-blue">{$vo.user.phone|default='--'}</span></div>

View File

@ -34,7 +34,7 @@
</td>
<td class="text-left nowrap relative">
{notempty name='vo.agent.headimg'}
<div class="headimg" data-tips-image data-lazy-src="{$vo.agent.headimg|default='__ROOT__/static/theme/img/headimg.png'}"></div>
<div class="headimg headimg-md" data-tips-image data-lazy-src="{$vo.agent.headimg|default='__ROOT__/static/theme/img/headimg.png'}"></div>
{/notempty}
<div class="inline-block text-middle">
代理昵称:{$vo.agent.nickname|default='--'}<br>
@ -44,7 +44,7 @@
</td>
<td class="text-left nowrap relative">
{notempty name='vo.user.headimg'}
<div class="headimg" data-tips-image data-lazy-src="{$vo.user.headimg|default='__ROOT__/static/theme/img/headimg.png'}"></div>
<div class="headimg headimg-md" data-tips-image data-lazy-src="{$vo.user.headimg|default='__ROOT__/static/theme/img/headimg.png'}"></div>
{/notempty}
<div class="inline-block text-middle">
用户昵称:{$vo.user.nickname|default='--'}<br>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -296,6 +296,11 @@ label.think-radio, label.think-checkbox {
background-repeat: no-repeat;
background-position: center center;
&-md {
width: 55px;
height: 55px;
}
> img {
width: 110%;
height: 110%;