feat(团队收入记录): 取消默认的名字首字母头像

This commit is contained in:
hzj 2025-11-05 18:16:54 +08:00
parent a7d86324af
commit c989c4027e

View File

@ -101,37 +101,14 @@
width: 20%;
aspect-ratio: 1/1;
border-radius: 50%;
background-color: #8b5cf6;
color: white;
font-size: 18px;
font-weight: 600;
display: flex;
align-items: center;
justify-content: center;
"
>
<img
v-if="member.memberProfile?.userAvatar"
:src="member.memberProfile.userAvatar || ''"
:src="member.memberProfile?.userAvatar || ''"
:alt="member.memberProfile?.userNickname"
@error="defaultAvatarUrl"
style="width: 100%; height: 100%; border-radius: 50%; object-fit: cover"
/>
<div
v-else
style="
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-transform: uppercase;
"
>
{{ getAvatarPlaceholder(member.memberProfile?.userNickname) }}
</div>
</div>
<!-- 账号信息 -->
<div style="width: 35%; display: flex; flex-direction: column; gap: 4px">