From 90da13f8f061cb67986ead59eb2adb50b2797fbc Mon Sep 17 00:00:00 2001 From: qinhan Date: Fri, 10 Apr 2026 15:42:50 +0800 Subject: [PATCH] feat(game): add bag view and route --- Build_God_Game/src/assets/images/bag.svg | 5 + Build_God_Game/src/router/index.ts | 6 + Build_God_Game/src/views/BagView.vue | 292 +++++++++++++++++++++++ 3 files changed, 303 insertions(+) create mode 100644 Build_God_Game/src/assets/images/bag.svg create mode 100644 Build_God_Game/src/views/BagView.vue diff --git a/Build_God_Game/src/assets/images/bag.svg b/Build_God_Game/src/assets/images/bag.svg new file mode 100644 index 0000000..564b198 --- /dev/null +++ b/Build_God_Game/src/assets/images/bag.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/Build_God_Game/src/router/index.ts b/Build_God_Game/src/router/index.ts index b0fd07c..4561829 100644 --- a/Build_God_Game/src/router/index.ts +++ b/Build_God_Game/src/router/index.ts @@ -51,6 +51,12 @@ const router = createRouter({ component: () => import('@/views/ScrapView.vue'), meta: { requiresAuth: true } }, + { + path: '/bag', + name: 'bag', + component: () => import('@/views/BagView.vue'), + meta: { requiresAuth: true } + }, { path: '/:pathMatch(.*)*', name: 'NotFound', diff --git a/Build_God_Game/src/views/BagView.vue b/Build_God_Game/src/views/BagView.vue new file mode 100644 index 0000000..537d176 --- /dev/null +++ b/Build_God_Game/src/views/BagView.vue @@ -0,0 +1,292 @@ + + + + + \ No newline at end of file