From 549e25155cf75693eaaf23231eac5dc390c5d73e Mon Sep 17 00:00:00 2001 From: MJ Date: Wed, 6 Aug 2025 16:00:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=8D=A2=E5=9B=9Euniapp=E8=87=AA=E5=B8=A6t?= =?UTF-8?q?abbar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/request/interceptor.ts | 2 +- src/pages.json | 31 ++++++++++-- src/pages/academicReport/index.vue | 59 +++++++++++------------ src/pages/applicationManagement/index.vue | 37 +++++++++++--- src/pages/home/index.vue | 32 ++++++++++-- src/pages/mine/index.vue | 26 +++++++++- 6 files changed, 139 insertions(+), 48 deletions(-) diff --git a/src/api/request/interceptor.ts b/src/api/request/interceptor.ts index f765ab0..5a75f73 100644 --- a/src/api/request/interceptor.ts +++ b/src/api/request/interceptor.ts @@ -33,7 +33,7 @@ export const responseInterceptor = async ( response: ResponseData, ): Promise> => { const { statusCode, data } = response as any - console.log('response', response) + // console.log('response', response) // 处理成功响应 if (statusCode === HTTP_STATUS.SUCCESS && data.code === 200) { diff --git a/src/pages.json b/src/pages.json index 33d280c..ab4f27a 100644 --- a/src/pages.json +++ b/src/pages.json @@ -375,11 +375,36 @@ } ], "tabBar": { - "color": "#333333", - "selectedColor": "#333333", + "color": "#8E8D9D", + "selectedColor": "#625EFF", "borderStyle": "white", "backgroundColor": "#ffffff", - "list": [] + "list": [ + { + "pagePath": "pages/home/index", + "iconPath": "static/tabBar/homeno.png", + "selectedIconPath": "static/tabBar/home.png", + "text": "首页" + }, + { + "pagePath": "pages/academicReport/index", + "iconPath": "static/tabBar/studyReportNo.png", + "selectedIconPath": "static/tabBar/studyReport.png", + "text": "学情报告" + }, + { + "pagePath": "pages/applicationManagement/index", + "iconPath": "static/tabBar/applicationNo.png", + "selectedIconPath": "static/tabBar/application.png", + "text": "应用管控" + }, + { + "pagePath": "pages/mine/index", + "iconPath": "static/tabBar/mineno.png", + "selectedIconPath": "static/tabBar/mine.png", + "text": "我的" + } + ] }, "globalStyle": { "navigationBarTextStyle": "black", diff --git a/src/pages/academicReport/index.vue b/src/pages/academicReport/index.vue index 032722a..5724467 100644 --- a/src/pages/academicReport/index.vue +++ b/src/pages/academicReport/index.vue @@ -6,52 +6,25 @@ @updateShowItem="handleUpdateShowChild" /> - - - diff --git a/src/pages/home/index.vue b/src/pages/home/index.vue index 233dac9..35f3e68 100644 --- a/src/pages/home/index.vue +++ b/src/pages/home/index.vue @@ -71,14 +71,17 @@ - + diff --git a/src/pages/mine/index.vue b/src/pages/mine/index.vue index 2ff3b0a..f07dc8b 100644 --- a/src/pages/mine/index.vue +++ b/src/pages/mine/index.vue @@ -2,14 +2,36 @@ - +