From 3be2362610e4ff5aba18d1964f7961c3353c2ccb Mon Sep 17 00:00:00 2001 From: Seven Date: Sun, 18 Jan 2026 17:38:40 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=9B=A2=E9=98=9F?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=EF=BC=8C=E6=94=AF=E6=8C=81=E5=9B=A2=E9=98=9F?= =?UTF-8?q?=E6=88=90=E5=91=98=E7=BB=9F=E8=AE=A1=E5=92=8C=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 4 + src/router/index.ts | 5 + src/views/home/index.vue | 2 +- src/views/team/index.vue | 576 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 586 insertions(+), 1 deletion(-) create mode 100644 src/views/team/index.vue diff --git a/components.d.ts b/components.d.ts index 0ed2f86..4d3bec8 100644 --- a/components.d.ts +++ b/components.d.ts @@ -32,6 +32,8 @@ declare module 'vue' { IonList: typeof import('@ionic/vue')['IonList'] IonPage: typeof import('@ionic/vue')['IonPage'] IonRouterOutlet: typeof import('@ionic/vue')['IonRouterOutlet'] + IonSegment: typeof import('@ionic/vue')['IonSegment'] + IonSegmentButton: typeof import('@ionic/vue')['IonSegmentButton'] IonSpinner: typeof import('@ionic/vue')['IonSpinner'] IonTabBar: typeof import('@ionic/vue')['IonTabBar'] IonTabButton: typeof import('@ionic/vue')['IonTabButton'] @@ -68,6 +70,8 @@ declare global { const IonList: typeof import('@ionic/vue')['IonList'] const IonPage: typeof import('@ionic/vue')['IonPage'] const IonRouterOutlet: typeof import('@ionic/vue')['IonRouterOutlet'] + const IonSegment: typeof import('@ionic/vue')['IonSegment'] + const IonSegmentButton: typeof import('@ionic/vue')['IonSegmentButton'] const IonSpinner: typeof import('@ionic/vue')['IonSpinner'] const IonTabBar: typeof import('@ionic/vue')['IonTabBar'] const IonTabButton: typeof import('@ionic/vue')['IonTabButton'] diff --git a/src/router/index.ts b/src/router/index.ts index d183e74..fdadc42 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -109,6 +109,11 @@ const routes: Array = [ component: () => import("@/views/recharge/records.vue"), meta: { requiresAuth: true }, }, + { + path: "/team", + component: () => import("@/views/team/index.vue"), + meta: { requiresAuth: true }, + }, ]; const router = createRouter({ diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 7cd3d87..7d0040a 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -91,7 +91,7 @@ function handleQuickAction(action: Action) { router.push("/check_in"); break; case "team": - console.log("团队中心"); + router.push("/team"); break; case "invite": router.push("/invite"); diff --git a/src/views/team/index.vue b/src/views/team/index.vue new file mode 100644 index 0000000..69c0d1b --- /dev/null +++ b/src/views/team/index.vue @@ -0,0 +1,576 @@ + + + + +