补全翻译

This commit is contained in:
谦君
2025-12-27 01:04:14 +08:00
parent 7cc885c62a
commit 66783f896c
20 changed files with 371 additions and 406 deletions

View File

@@ -1,8 +1,6 @@
<template>
<!-- 首页无侧边栏/头部 -->
<template v-if="isHomePage">
<RouterView />
</template>
<RouterView v-if="isHomePage" />
<!-- 其他页面完整布局含侧边栏 -->
<SidebarProvider v-else :open="sidebarOpen" @update:open="handleSidebarOpenChange">
@@ -133,13 +131,6 @@
<SidebarMenuBadge v-if="item.path === '/fleet' && activeFleetMissionsCount > 0" class="bg-primary text-primary-foreground">
{{ activeFleetMissionsCount }}
</SidebarMenuBadge>
<!-- 未读外交报告数量 -->
<SidebarMenuBadge
v-if="item.path === '/diplomacy' && unreadDiplomaticReportsCount > 0"
class="bg-destructive text-destructive-foreground"
>
{{ unreadDiplomaticReportsCount }}
</SidebarMenuBadge>
</SidebarMenuButton>
</SidebarMenuItem>
</SidebarMenu>
@@ -738,11 +729,6 @@
return fleetMissions + flyingMissiles
})
// 未读外交报告数量
const unreadDiplomaticReportsCount = computed(() => {
return (gameStore.player.diplomaticReports || []).filter(r => !r.read).length
})
// 月球相关
const moon = computed(() => {
if (!planet.value || planet.value.isMoon) return null