Quellcode durchsuchen

更新页面标题和标签,优化用户界面

mcbaiyun vor 3 Monaten
Ursprung
Commit
2928af7f89
1 geänderte Dateien mit 36 neuen und 2 gelöschten Zeilen
  1. 36 2
      src/pages.json

+ 36 - 2
src/pages.json

@@ -1,9 +1,27 @@
 {
-	"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
+	"pages": [
 		{
 			"path": "pages/index/index",
 			"style": {
-				"navigationBarTitleText": "uni-app"
+				"navigationBarTitleText": "慢病APP"
+			}
+		},
+		{
+			"path": "pages/login/login",
+			"style": {
+				"navigationBarTitleText": "登录"
+			}
+		},
+		{
+			"path": "pages/health/health",
+			"style": {
+				"navigationBarTitleText": "健康数据"
+			}
+		},
+		{
+			"path": "pages/profile/profile",
+			"style": {
+				"navigationBarTitleText": "个人中心"
 			}
 		}
 	],
@@ -12,5 +30,21 @@
 		"navigationBarTitleText": "uni-app",
 		"navigationBarBackgroundColor": "#F8F8F8",
 		"backgroundColor": "#F8F8F8"
+	},
+	"tabBar": {
+		"list": [
+			{
+				"pagePath": "pages/index/index",
+				"text": "慢病首页"
+			},
+			{
+				"pagePath": "pages/health/health",
+				"text": "健康数据"
+			},
+			{
+				"pagePath": "pages/profile/profile",
+				"text": "个人中心"
+			}
+		]
 	}
 }