From c5d0dbc3b02b211052acea9f36a970666917a6cc Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 2 Jul 2024 17:10:42 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E8=BF=9B=E5=85=A5=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=94=B9=E6=88=90/index/index=EF=BC=8C=E5=8E=BB?= =?UTF-8?q?=E6=8E=89/home/home?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apis/request.js | 4 +- pages.json | 10 +- pages/home/home.vue | 424 ---------------------------------- pages/index/index.vue | 138 +++++++++-- pages/login/login.vue | 2 +- pages/person/person.vue | 9 +- pages/workbench/workbench.vue | 9 +- team/setting/setting.vue | 2 +- 8 files changed, 142 insertions(+), 456 deletions(-) delete mode 100644 pages/home/home.vue diff --git a/apis/request.js b/apis/request.js index 7e43c8b..31e247e 100644 --- a/apis/request.js +++ b/apis/request.js @@ -39,8 +39,8 @@ const request = options => { }) setTimeout(() => { logouted = 0 - uni.redirectTo({ - url: '../index/index' + uni.reLaunch({ + url: '/pages/index/index' }) }, 1500) reject(data) diff --git a/pages.json b/pages.json index 7130a1f..a679049 100644 --- a/pages.json +++ b/pages.json @@ -16,14 +16,6 @@ "enablePullDownRefresh": false } }, - { - "path" : "pages/home/home", - "style" : - { - "navigationStyle": "custom", - "enablePullDownRefresh": false - } - }, { "path" : "pages/workbench/workbench", "style" : @@ -317,7 +309,7 @@ "fontSize": "22px", "iconWidth": "20px", "list": [{ - "pagePath": "pages/home/home", + "pagePath": "pages/index/index", "iconPath": "static/image/tab1.png", "selectedIconPath": "static/image/tab1-1.png", "text": "首页" diff --git a/pages/home/home.vue b/pages/home/home.vue deleted file mode 100644 index fe4d05c..0000000 --- a/pages/home/home.vue +++ /dev/null @@ -1,424 +0,0 @@ - - - - - diff --git a/pages/index/index.vue b/pages/index/index.vue index b1c5051..2ad1e87 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -15,9 +15,9 @@ - + - + @@ -27,7 +27,7 @@