diff --git a/pwuniapp/pages.json b/pwuniapp/pages.json index 114905f..3cfe71e 100644 --- a/pwuniapp/pages.json +++ b/pwuniapp/pages.json @@ -65,24 +65,6 @@ "backgroundColor": "#0A0F1D" } }, - { - "path": "pages/expert/detail", - "style": { - "navigationBarTitleText": "陪玩大神主页", - "navigationBarBackgroundColor": "#0A0F1D", - "navigationBarTextStyle": "white", - "backgroundColor": "#0A0F1D" - } - }, - { - "path": "pages/expert/apply", - "style": { - "navigationBarTitleText": "大神入驻认证", - "navigationBarBackgroundColor": "#0A0F1D", - "navigationBarTextStyle": "white", - "backgroundColor": "#0A0F1D" - } - }, { "path": "pages/order/create", "style": { @@ -102,7 +84,6 @@ "backgroundColor": "#0A0F1D" } }, - { "path": "pages/user/index", "style": { @@ -230,57 +211,93 @@ "navigationBarTextStyle": "white", "backgroundColor": "#0A0F1D" } - }, - { - "path": "pages/expert/workspace", - "style": { - "navigationBarTitleText": "大神接单工作台", - "navigationBarBackgroundColor": "#0A0F1D", - "navigationBarTextStyle": "white", - "backgroundColor": "#0A0F1D" - } - }, - { - "path": "pages/community/index", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "友圈广场", - "navigationBarBackgroundColor": "#0A0F1D", - "navigationBarTextStyle": "white", - "backgroundColor": "#0A0F1D" - } - }, - { - "path": "pages/community/detail", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "动态详情", - "navigationBarBackgroundColor": "#0A0F1D", - "navigationBarTextStyle": "white", - "backgroundColor": "#0A0F1D" - } - }, - { - "path": "pages/expert/radar", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "我要接单", - "navigationBarBackgroundColor": "#0A0F1D", - "navigationBarTextStyle": "white", - "backgroundColor": "#0A0F1D" - } - }, - { - "path": "pages/expert/hall", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "接单大厅", - "navigationBarBackgroundColor": "#0A0F1D", - "navigationBarTextStyle": "white", - "backgroundColor": "#0A0F1D" - } } ], + "subPackages": [ + { + "root": "pages/expert", + "pages": [ + { + "path": "detail", + "style": { + "navigationBarTitleText": "陪玩大神主页", + "navigationBarBackgroundColor": "#0A0F1D", + "navigationBarTextStyle": "white", + "backgroundColor": "#0A0F1D" + } + }, + { + "path": "apply", + "style": { + "navigationBarTitleText": "大神入驻认证", + "navigationBarBackgroundColor": "#0A0F1D", + "navigationBarTextStyle": "white", + "backgroundColor": "#0A0F1D" + } + }, + { + "path": "workspace", + "style": { + "navigationBarTitleText": "大神接单工作台", + "navigationBarBackgroundColor": "#0A0F1D", + "navigationBarTextStyle": "white", + "backgroundColor": "#0A0F1D" + } + }, + { + "path": "radar", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "我要接单", + "navigationBarBackgroundColor": "#0A0F1D", + "navigationBarTextStyle": "white", + "backgroundColor": "#0A0F1D" + } + }, + { + "path": "hall", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "接单大厅", + "navigationBarBackgroundColor": "#0A0F1D", + "navigationBarTextStyle": "white", + "backgroundColor": "#0A0F1D" + } + } + ] + }, + { + "root": "pages/community", + "pages": [ + { + "path": "index", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "友圈广场", + "navigationBarBackgroundColor": "#0A0F1D", + "navigationBarTextStyle": "white", + "backgroundColor": "#0A0F1D" + } + }, + { + "path": "detail", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "动态详情", + "navigationBarBackgroundColor": "#0A0F1D", + "navigationBarTextStyle": "white", + "backgroundColor": "#0A0F1D" + } + } + ] + } + ], + "preloadRule": { + "pages/index/index": { + "network": "all", + "packages": ["pages/expert", "pages/community"] + } + }, "globalStyle": { "navigationBarTextStyle": "white", "navigationBarTitleText": "陪玩中心",