From a99a1a3a332f875d9c0e89b8de56a7326623e97b Mon Sep 17 00:00:00 2001 From: hreenshan112 Date: Tue, 26 Nov 2024 08:35:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E6=88=91=E7=9A=84=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/router/index.ts | 5 ++ src/views/common/bottom/index.vue | 2 +- src/views/home/index.vue | 4 +- src/views/user/index.vue | 94 +++++++++++++++++++++++++++++++ 4 files changed, 102 insertions(+), 3 deletions(-) create mode 100644 src/views/user/index.vue diff --git a/src/utils/router/index.ts b/src/utils/router/index.ts index 9dd046e..6883a97 100644 --- a/src/utils/router/index.ts +++ b/src/utils/router/index.ts @@ -59,6 +59,11 @@ export const staticRouting : RouteRecordRaw[] = [ path: '/app', component: () => import('@/views/app/index.vue'), meta: { hidden: true }, + }, + { + path: '/user', + component: () => import('@/views/user/index.vue'), + meta: { hidden: true }, } ] diff --git a/src/views/common/bottom/index.vue b/src/views/common/bottom/index.vue index 1095a0b..2253037 100644 --- a/src/views/common/bottom/index.vue +++ b/src/views/common/bottom/index.vue @@ -27,7 +27,7 @@ const openPage = (val:number) => { router.push({ path: "/news",query:{id: "16213848089876281",fa:4}}); break; case 5: - router.push({ path: "/my",query:{fa:5}}); + router.push({ path: "/user",query:{fa:5}}); break; default: router.push({ path: "/"}); diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 49e5bb3..eaf0ef7 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -305,7 +305,7 @@ const openNews = (val:any,name:string) => {
新闻资讯 - MODE + MORE