Revert "feat: add BaseUserAvatar and unify avatar usage"

This reverts commit efbb83924b.
This commit is contained in:
tim
2025-09-24 00:30:23 +08:00
parent 0f75a95dbe
commit a1eccb3b1e
15 changed files with 91 additions and 263 deletions

View File

@@ -7,13 +7,7 @@
<div v-else>
<div class="profile-page-header">
<div class="profile-page-header-avatar">
<BaseUserAvatar
class="profile-page-header-avatar-img"
:user-id="user.id"
:avatar="user.avatar"
:username="user.username"
:width="200"
/>
<BaseImage :src="user.avatar" alt="avatar" class="profile-page-header-avatar-img" />
</div>
<div class="profile-page-header-user-info">
<div class="profile-page-header-user-info-name">{{ user.username }}</div>
@@ -657,6 +651,8 @@ watch(selectedTab, async (val) => {
.profile-page-header-avatar-img {
width: 200px;
height: 200px;
border-radius: 50%;
object-fit: cover;
}
.profile-page-header-user-info {