From 482a95a678cad87c087370c203d18887306cd5fa Mon Sep 17 00:00:00 2001 From: admin <> Date: Thu, 11 Apr 2024 14:06:04 +0800 Subject: [PATCH] =?UTF-8?q?update:=20pages=E5=86=85=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=88=86=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/NavBar/NavBar.vue | 2 +- src/components/NavBar/NavBarLayout.vue | 2 +- src/components/TabBar/index.vue | 12 +-- src/manifest.json | 2 +- src/pages.json | 94 ++++++++---------- src/pagesLaunch/index.vue | 2 +- .../login/components/loginLayout.vue | 0 src/{pages => pagesLogin}/login/forgetPwd.vue | 4 +- src/{pages => pagesLogin}/login/index.vue | 6 +- src/{pages => pagesLogin}/message/index.vue | 0 .../profile/baseinfo.vue | 0 src/{pages => pagesLogin}/profile/index.vue | 8 +- .../profile/modifyPwd.vue | 0 src/static/img/TabMenu/bg.png | Bin 23716 -> 0 bytes src/static/img/login/hide.png | Bin 2128 -> 0 bytes src/static/img/login/show.png | Bin 3670 -> 0 bytes src/static/img/logo.png | Bin 20356 -> 0 bytes src/static/js/echarts.min.js | 1 - src/static/logo.png | Bin 2939 -> 0 bytes src/utils/http.ts | 2 +- 20 files changed, 63 insertions(+), 72 deletions(-) rename src/{pages => pagesLogin}/login/components/loginLayout.vue (100%) rename src/{pages => pagesLogin}/login/forgetPwd.vue (92%) rename src/{pages => pagesLogin}/login/index.vue (91%) rename src/{pages => pagesLogin}/message/index.vue (100%) rename src/{pages => pagesLogin}/profile/baseinfo.vue (100%) rename src/{pages => pagesLogin}/profile/index.vue (93%) rename src/{pages => pagesLogin}/profile/modifyPwd.vue (100%) delete mode 100644 src/static/img/TabMenu/bg.png delete mode 100644 src/static/img/login/hide.png delete mode 100644 src/static/img/login/show.png delete mode 100644 src/static/img/logo.png delete mode 100644 src/static/js/echarts.min.js delete mode 100644 src/static/logo.png diff --git a/src/components/NavBar/NavBar.vue b/src/components/NavBar/NavBar.vue index 8402d7b..b1dcd71 100644 --- a/src/components/NavBar/NavBar.vue +++ b/src/components/NavBar/NavBar.vue @@ -48,7 +48,7 @@ onMounted(() => { }); const handleMsg = () => { uni.navigateTo({ - url: "/pages/message/index", // 要跳转到的页面路径 + url: "/pagesLogin/message/index", // 要跳转到的页面路径 }); }; diff --git a/src/components/NavBar/NavBarLayout.vue b/src/components/NavBar/NavBarLayout.vue index 4b2f297..bf407ed 100644 --- a/src/components/NavBar/NavBarLayout.vue +++ b/src/components/NavBar/NavBarLayout.vue @@ -29,7 +29,7 @@ onMounted(() => { }); const handleMsg = () => { uni.navigateTo({ - url: "/pages/message/index", // 要跳转到的页面路径 + url: "/pagesLogin/message/index", // 要跳转到的页面路径 }); }; diff --git a/src/components/TabBar/index.vue b/src/components/TabBar/index.vue index 8300081..4f11f60 100644 --- a/src/components/TabBar/index.vue +++ b/src/components/TabBar/index.vue @@ -49,7 +49,7 @@ const tabMenuList = reactive([ [ "pagesStatistics/index", "pagesHome/index", - "pages/profile/index", + "pagesLogin/profile/index", ].indexOf(pages[pages.length - 1].route) === 0 ) { return; @@ -68,7 +68,7 @@ const tabMenuList = reactive([ [ "pagesStatistics/index", "pagesHome/index", - "pages/profile/index", + "pagesLogin/profile/index", ].indexOf(pages[pages.length - 1].route) === 1 ) { return; @@ -87,13 +87,13 @@ const tabMenuList = reactive([ [ "pagesStatistics/index", "pagesHome/index", - "pages/profile/index", + "pagesLogin/profile/index", ].indexOf(pages[pages.length - 1].route) === 2 ) { return; } uni.redirectTo({ - url: "/pages/profile/index", // 要跳转到的页面路径 + url: "/pagesLogin/profile/index", // 要跳转到的页面路径 }); }, }, @@ -106,14 +106,14 @@ onLoad(() => { currentIndex.value = [ "pagesStatistics/index", "pagesHome/index", - "pages/profile/index", + "pagesLogin/profile/index", ].indexOf(pages[pages.length - 1].route); });