From 45cae0eb986eb95a12f2875994ba1074623c39d5 Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期五, 03 四月 2026 09:47:43 +0800
Subject: [PATCH] 修复app_new分支没有首页的问题
---
src/pages/login.vue | 2 +-
src/pages.json | 30 +++++++++++++++---------------
2 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/src/pages.json b/src/pages.json
index 060bdad..b6eeda7 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -40,19 +40,19 @@
}
},
{
- "path": "pages/works",
+ "path": "pages/index",
"style": {
"navigationBarTitleText": "棣栭〉",
"navigationStyle": "custom"
}
},
-// {
-// "path": "pages/works",
-// "style": {
-// "navigationBarTitleText": "宸ヤ綔鍙�",
-// "navigationStyle": "custom"
-// }
-// },
+ {
+ "path": "pages/works",
+ "style": {
+ "navigationBarTitleText": "宸ヤ綔鍙�",
+ "navigationStyle": "custom"
+ }
+ },
{
"path": "pages/login",
"style": {
@@ -1307,17 +1307,17 @@
"backgroundColor": "#ffffff",
"list": [
{
- "pagePath": "pages/works",
+ "pagePath": "pages/index",
"iconPath": "static/images/tabbar/home.png",
"selectedIconPath": "static/images/tabbar/homeBlue.png",
"text": "棣栭〉"
},
-// {
-// "pagePath": "pages/works",
-// "iconPath": "static/images/tabbar/work.png",
-// "selectedIconPath": "static/images/tabbar/workBlue.png",
-// "text": "宸ヤ綔鍙�"
-// },
+ {
+ "pagePath": "pages/works",
+ "iconPath": "static/images/tabbar/work.png",
+ "selectedIconPath": "static/images/tabbar/workBlue.png",
+ "text": "宸ヤ綔鍙�"
+ },
{
"pagePath": "pages/message",
"iconPath": "static/images/tabbar/new.png",
diff --git a/src/pages/login.vue b/src/pages/login.vue
index 806e964..5d9b63f 100644
--- a/src/pages/login.vue
+++ b/src/pages/login.vue
@@ -178,7 +178,7 @@
sendClientIdToServer();
// 鍚姩瀹氭椂鑾峰彇鏈娑堟伅鏁伴噺鐨勫畾鏃跺櫒
startNoticeCountTimer(userId);
- uni.switchTab({ url: "/pages/works" });
+ uni.switchTab({ url: "/pages/index" });
});
}
--
Gitblit v1.9.3