Browse Source

修改配置

qukaidi 4 years ago
parent
commit
0bbe1dc391
1 changed files with 33 additions and 39 deletions
  1. 33 39
      pages.json

+ 33 - 39
pages.json

@@ -13,58 +13,52 @@
 	"pages": [
 		// 首页
 		{
-		    "path" : "pages/home/index",
-		    "style" :                                                                                    
-		    {
-		        "navigationBarTitleText": "首页"
-		    }
-		    
+			"path": "pages/home/index",
+			"style": {
+				"navigationBarTitleText": "首页"
+			}
+
 		},
 		// 消息
 		{
-		    "path" : "pages/msg/index",
-		    "style" :                                                                                    
-		    {
-		        "navigationBarTitleText": "消息"
-		    }
-		    
+			"path": "pages/msg/index",
+			"style": {
+				"navigationBarTitleText": "消息"
+			}
+
 		},
 		// 我的
 		{
-		    "path" : "pages/me/index",
-		    "style" :                                                                                    
-		    {
-		        "navigationBarTitleText": "我的"
-		    }
-		    
+			"path": "pages/me/index",
+			"style": {
+				"navigationBarTitleText": "我的"
+			}
+
 		},
 		//登录
 		{
-		    "path" : "pages/login/index"    
-		}
-    ],
-	"subPackages": [
-		{
-			"root":"pages/login",
-			"pages":[
-				{
-				    "path" : "register",
-				    "style" :                                                                                    
-				    {
-				        "navigationBarTitleText": "注册"
-				    }
-				    
+			"path": "pages/login/index",
+			"style": {
+				"app-plus": {
+					"titleNView": false //禁用原生导航栏
 				}
-			]
+			}
 		}
 	],
-	"preloadRule": {
-	},
+	"subPackages": [{
+		"root": "pages/login",
+		"pages": [{
+			"path": "register",
+			"style": {
+				"navigationBarTitleText": "零售店注销"
+			}
+
+		}]
+	}],
+	"preloadRule": {},
 	"globalStyle": {
-		"navigationBarTextStyle": "black",
-		"navigationBarTitleText": "uView",
-		"navigationBarBackgroundColor": "#FFFFFF",
-		"backgroundColor": "#FFFFFF"
+		"navigationBarBackgroundColor":"#0095FF",
+		"navigationBarTextStyle":"white"
 	},
 	"tabBar": {
 		"list": [{