diff --git a/Build_God_Game/src/views/GameView.vue b/Build_God_Game/src/views/GameView.vue index f5fc1fc..6e9375d 100644 --- a/Build_God_Game/src/views/GameView.vue +++ b/Build_God_Game/src/views/GameView.vue @@ -13,6 +13,7 @@ import trainingIcon from '@/assets/images/training.svg' import missionIcon from '@/assets/images/mission.svg' import scrapIcon from '@/assets/images/scrap.svg' import characterIco from '@/assets/images/character.svg' +import bagIcon from '@/assets/images/bag.svg' const authStore = useAuthStore() const characterStore = useCharacterStore() @@ -42,6 +43,7 @@ const menuItems = computed(() => [ { label: '任务', icon: missionIcon, useImage: true }, { label: '角色', icon: characterIco, useImage: true }, { label: isTraining.value ? '打坐中' : '打坐', icon: trainingIcon, useImage: true, isTraining: isTraining.value }, + { label: '背包', icon: bagIcon, useImage: true }, { label: '捡垃圾', icon: scrapIcon, useImage: true }, ]) @@ -64,6 +66,8 @@ const navigateTo = (item: { label: string }) => { router.push('/training') } else if (item.label === '任务') { router.push('/daily-mission') + } else if (item.label === '背包') { + router.push('/bag') } else if (item.label === '捡垃圾') { router.push('/scrap') }