Parcourir la source

fix(pages.json): 修复页面配置格式与新增小程序适配配置

调整了游戏页面的缩进格式,新增全局底部导航指示器隐藏、横屏页面的微信小程序样式与安全区域配置
408249787@qq.com il y a 2 semaines
Parent
commit
61311cc174
1 fichiers modifiés avec 10 ajouts et 3 suppressions
  1. 10 3
      pages.json

+ 10 - 3
pages.json

@@ -81,7 +81,7 @@
 			"path": "pages/game/index",
 			"style": {
 				"navigationStyle": "custom",
-			"disableScroll": true
+				"disableScroll": true
 			}
 		},
 		{
@@ -105,8 +105,15 @@
 		"backgroundColorContent": "@bgContentColor",
 		"backgroundColor": "@bgColor",
 		"navigationBarBackgroundColor": "@navBgColor",
+		"hideBottomNavigationIndicator": true,
 		"pageOrientation": "landscape",
-		"navigationStyle": "custom"
+		"navigationStyle": "custom",
+		"mp-weixin": {
+			"style": "v2",
+			"app-plus": {
+				"safeArea": false
+			}
+		}
 	},
 	"uniIdRouter": {}
-}
+}