完善测试建表并统一前端格式

This commit is contained in:
yml2213
2026-07-14 01:32:14 +08:00
parent 2efcede800
commit 2ca6fd9306
36 changed files with 714 additions and 478 deletions
+2 -4
View File
@@ -258,10 +258,8 @@ const hasChatPermission = computed(() => adminSession.hasPermission('chat:view')
const hasNotificationPermission = computed(
() => adminSession.isSuperAdmin || adminSession.hasPermission('notification:view')
)
const {
unreadCount: adminNotificationUnreadCount,
unreadLabel: adminNotificationUnreadLabel,
} = useAdminNotificationUnreadCount(route)
const { unreadCount: adminNotificationUnreadCount, unreadLabel: adminNotificationUnreadLabel } =
useAdminNotificationUnreadCount(route)
const statusLabels: Record<string, string> = {
online: '在线',
+5 -2
View File
@@ -136,7 +136,9 @@ async function handleSupportClick() {
<RouterLink v-for="item in navItems" :key="item.to" class="pc-nav-link" :to="item.to">
<el-icon><component :is="item.icon" /></el-icon>
<span>{{ item.label }}</span>
<em v-if="item.to === '/messages' && unreadCount > 0" class="pc-nav-badge">{{ unreadLabel }}</em>
<em v-if="item.to === '/messages' && unreadCount > 0" class="pc-nav-badge">{{
unreadLabel
}}</em>
</RouterLink>
</nav>
@@ -320,7 +322,8 @@ async function handleSupportClick() {
target="_blank"
rel="noopener noreferrer"
class="pc-footer-icp"
>湘ICP备2025146668号</a>
>湘ICP备2025146668号</a
>
<span class="pc-footer-divider">|</span>
<span class="pc-footer-copyright">版权所有 ©2026 大锤网络游戏有限公司</span>
</div>