国内版本

This commit is contained in:
13121765685 2025-12-18 16:05:34 +08:00
parent 2cc18a7079
commit 0f7647fdbc
1 changed files with 12 additions and 11 deletions

View File

@ -37,12 +37,13 @@
<el-avatar :size="32" :src="currentUser.avatarUrl">
<UserIcon />
</el-avatar>
<div class="role-badge" :class="userRole">{{ getRoleDisplayName(currentUser.user_role) }}</div>
<!-- <div class="role-badge" :class="userRole">{{ getRoleDisplayName(currentUser.user_role) }}</div> -->
<div class="role-badge" :class="userRole">{{ currentUser.nickname }}</div>
</div>
<div class="user-points">
<!-- <div class="user-points">
<span class="points-icon">🪄</span>
<span class="points-text">{{ remainingPoints }}</span>
</div>
</div> -->
<!-- 用户信息模块已取消 -->
</div>
@ -52,7 +53,7 @@
<el-avatar :size="32" :src="currentUser.avatarUrl">
<UserIcon />
</el-avatar>
<div class="role-badge" :class="userRole">{{ getRoleDisplayName(currentUser.user_role) }}</div>
<!-- <div class="role-badge" :class="userRole">{{ getRoleDisplayName(currentUser.user_role) }}</div> -->
</div>
</div>
</div>
@ -148,13 +149,13 @@ const coreMenuItems = computed(() => [
icon: 'OrdersIcon',
badge: null
},
{
id: 'user-center',
path: '/user-center',
label: t('sidebar.userCenter'),
icon: 'UserIcon',
badge: null
},
// {
// id: 'user-center',
// path: '/user-center',
// label: t('sidebar.userCenter'),
// icon: 'UserIcon',
// badge: null
// },
])
//