feat(团队收入记录): 取消默认的名字首字母头像
This commit is contained in:
parent
a7d86324af
commit
c989c4027e
@ -101,37 +101,14 @@
|
|||||||
width: 20%;
|
width: 20%;
|
||||||
aspect-ratio: 1/1;
|
aspect-ratio: 1/1;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
|
||||||
background-color: #8b5cf6;
|
|
||||||
color: white;
|
|
||||||
|
|
||||||
font-size: 18px;
|
|
||||||
font-weight: 600;
|
|
||||||
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
v-if="member.memberProfile?.userAvatar"
|
:src="member.memberProfile?.userAvatar || ''"
|
||||||
:src="member.memberProfile.userAvatar || ''"
|
|
||||||
:alt="member.memberProfile?.userNickname"
|
:alt="member.memberProfile?.userNickname"
|
||||||
@error="defaultAvatarUrl"
|
@error="defaultAvatarUrl"
|
||||||
style="width: 100%; height: 100%; border-radius: 50%; object-fit: cover"
|
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>
|
||||||
<!-- 账号信息 -->
|
<!-- 账号信息 -->
|
||||||
<div style="width: 35%; display: flex; flex-direction: column; gap: 4px">
|
<div style="width: 35%; display: flex; flex-direction: column; gap: 4px">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user