feat(抽奖活动页): 修复排行榜的头像名称显示问题
This commit is contained in:
parent
5f05bc4855
commit
bd728d0588
@ -51,16 +51,21 @@
|
||||
padding: 12px;
|
||||
"
|
||||
>
|
||||
<div style="display: flex; align-items: center; gap: 4px">
|
||||
<div style="display: flex; align-items: center; gap: 4px; width: 80%">
|
||||
<div style="font-weight: 700">{{ user.rank }}</div>
|
||||
<img
|
||||
:src="user.avatar || ''"
|
||||
:alt="user.nickname || ''"
|
||||
width="15%"
|
||||
style="display: block; border-radius: 50%; aspect-ratio: 1/1; object-fit: cover"
|
||||
style="
|
||||
display: block;
|
||||
width: 11vw;
|
||||
border-radius: 50%;
|
||||
aspect-ratio: 1/1;
|
||||
object-fit: cover;
|
||||
"
|
||||
@error="defaultAvatarUrl"
|
||||
/>
|
||||
<div style="width: 70%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis">
|
||||
<div style="width: 60%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis">
|
||||
{{ user.nickname || '' }}
|
||||
</div>
|
||||
</div>
|
||||
@ -625,13 +630,12 @@
|
||||
backdrop-filter: blur(32px);
|
||||
"
|
||||
>
|
||||
<div style="display: flex; align-items: center; gap: 4px">
|
||||
<div style="display: flex; align-items: center; gap: 4px; width: 80%">
|
||||
<div style="font-weight: 700">{{ userInfo.rank || 999 }}</div>
|
||||
<img
|
||||
:src="userInfo.userAvatar || ''"
|
||||
:alt="userInfo.userNickname || ''"
|
||||
width="15%"
|
||||
style="border-radius: 50%; aspect-ratio: 1/1; object-fit: cover"
|
||||
style="border-radius: 50%; width: 11vw; aspect-ratio: 1/1; object-fit: cover"
|
||||
@error="defaultAvatarUrl"
|
||||
/>
|
||||
<div style="width: 70%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis">
|
||||
@ -645,7 +649,9 @@
|
||||
alt=""
|
||||
style="display: block; object-fit: cover; width: 6vw"
|
||||
/>
|
||||
<div style="color: #2df860; font-weight: 500">{{ userInfo.totalAmount || 0 }}</div>
|
||||
<div style="color: #2df860; font-weight: 500">
|
||||
{{ userInfo.totalAmount || 0 }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user