From a77bbfaea09231e6bd73adc88416efcc3b663bf3 Mon Sep 17 00:00:00 2001 From: peng <peng.com> Date: 星期五, 18 七月 2025 15:22:13 +0800 Subject: [PATCH] 解决主包过大问题 --- pages.json | 372 +++++++++++++++++++++++++++++----------------------- 1 files changed, 205 insertions(+), 167 deletions(-) diff --git a/pages.json b/pages.json index 0b94002..37ca262 100644 --- a/pages.json +++ b/pages.json @@ -397,15 +397,15 @@ { "root": "pages/mine", "pages": [ - { - "path": "signIn", - "style": { - "navigationBarTitleText": "绛惧埌", - "componentPlaceholder": { - "u-icon": "view" - } - } - }, + // { + // "path": "signIn", + // "style": { + // "navigationBarTitleText": "绛惧埌", + // "componentPlaceholder": { + // "u-icon": "view" + // } + // } + // }, { "path": "myTracks", "style": { @@ -422,109 +422,109 @@ } } }, - { - "path": "myCollect", - "style": { - "navigationBarTitleText": "鏀惰棌", - "enablePullDownRefresh": true, - //涓嬫媺鍒锋柊 - "navigationStyle": "custom", - "app-plus": { - "scrollIndicator": "none" - }, - "componentPlaceholder": { - "u-navbar": "view", - "u-tabs": "view", - "u-empty": "view", - "u-swipe-action": "view", - "u-image": "view", - "u-loading": "view", - "u-tag": "view" - } - } - }, - { - "path": "distribution/list", - "style": { - "navigationBarTitleText": "鎺ㄥ箍鍒嗕剑", - "app-plus": { - //app椤甸潰涓嶆樉绀烘粴鍔ㄦ潯 - "scrollIndicator": "none" - }, - "componentPlaceholder": { - "u-swipe-action": "view", - "u-image": "view", - "u-modal": "view" - } - } - }, - { - "path": "distribution/withdrawal", - "style": { - "navigationBarTitleText": "鎻愮幇", - "app-plus": { - //app椤甸潰涓嶆樉绀烘粴鍔ㄦ潯 - "scrollIndicator": "none" - }, - "componentPlaceholder": { - "u-input": "view" - } - } - }, - { - "path": "distribution/join", - "style": { - "navigationBarTitleText": "鎺ㄥ箍璧勬牸鐢宠", - "navigationBarTextStyle": "black", - "app-plus": { - //app椤甸潰涓嶆樉绀烘粴鍔ㄦ潯 - "scrollIndicator": "none" - }, - "componentPlaceholder": { - "u-tabs": "view", - "u-form": "view", - "u-form-item": "view", - "u-input": "view", - "u-button": "view" - } - } - }, - { - "path": "distribution/history", - "style": { - "navigationBarTitleText": "鎻愮幇鍘嗗彶", - "componentPlaceholder": { - "u-loadmore": "view" - } - } - }, - { - "path": "distribution/auth", - "style": { - "navigationBarTitleText": "浼氬憳瀹炲悕璁よ瘉", - "componentPlaceholder": { - "u-form": "view", - "u-form-item": "view", - "u-input": "view", - "u-button": "view" - } - } - }, - { - "path": "distribution/achievement", - "style": { - "navigationBarTitleText": "鎴戠殑鍒嗛攢涓氱哗" - } - }, - { - "path": "distribution/home", - "style": { - "navigationBarTitleText": "鎺ㄥ箍鍒嗕剑", - "componentPlaceholder": { - "u-icon": "view" - } - } - }, + // { + // "path": "myCollect", + // "style": { + // "navigationBarTitleText": "鏀惰棌", + // "enablePullDownRefresh": true, + // //涓嬫媺鍒锋柊 + // "navigationStyle": "custom", + // "app-plus": { + // "scrollIndicator": "none" + // }, + // "componentPlaceholder": { + // "u-navbar": "view", + // "u-tabs": "view", + // "u-empty": "view", + // "u-swipe-action": "view", + // "u-image": "view", + // "u-loading": "view", + // "u-tag": "view" + // } + // } + // }, + // { + // "path": "distribution/list", + // "style": { + // "navigationBarTitleText": "鎺ㄥ箍鍒嗕剑", + // "app-plus": { + // //app椤甸潰涓嶆樉绀烘粴鍔ㄦ潯 + // "scrollIndicator": "none" + // }, + // "componentPlaceholder": { + // "u-swipe-action": "view", + // "u-image": "view", + // "u-modal": "view" + // } + // } + // }, + // { + // "path": "distribution/withdrawal", + // "style": { + // "navigationBarTitleText": "鎻愮幇", + // "app-plus": { + // //app椤甸潰涓嶆樉绀烘粴鍔ㄦ潯 + // "scrollIndicator": "none" + // }, + // "componentPlaceholder": { + // "u-input": "view" + // } + // } + // }, + // { + // "path": "distribution/join", + // "style": { + // "navigationBarTitleText": "鎺ㄥ箍璧勬牸鐢宠", + // "navigationBarTextStyle": "black", + // "app-plus": { + // //app椤甸潰涓嶆樉绀烘粴鍔ㄦ潯 + // "scrollIndicator": "none" + // }, + // "componentPlaceholder": { + // "u-tabs": "view", + // "u-form": "view", + // "u-form-item": "view", + // "u-input": "view", + // "u-button": "view" + // } + // } + // }, + // { + // "path": "distribution/history", + // "style": { + // "navigationBarTitleText": "鎻愮幇鍘嗗彶", + // "componentPlaceholder": { + // "u-loadmore": "view" + // } + // } + // }, + // { + // "path": "distribution/auth", + // "style": { + // "navigationBarTitleText": "浼氬憳瀹炲悕璁よ瘉", + // "componentPlaceholder": { + // "u-form": "view", + // "u-form-item": "view", + // "u-input": "view", + // "u-button": "view" + // } + // } + // }, + // { + // "path": "distribution/achievement", + // "style": { + // "navigationBarTitleText": "鎴戠殑鍒嗛攢涓氱哗" + // } + // }, + // { + // "path": "distribution/home", + // "style": { + // "navigationBarTitleText": "鎺ㄥ箍鍒嗕剑", + // "componentPlaceholder": { + // "u-icon": "view" + // } + // } + // }, { "path": "deposit/index", "style": { @@ -543,12 +543,12 @@ "navigationBarTitleText": "鍏呭�奸噾棰�" } }, - { - "path": "deposit/withdrawal", - "style": { - "navigationBarTitleText": "鎻愮幇閲戦" - } - }, + // { + // "path": "deposit/withdrawal", + // "style": { + // "navigationBarTitleText": "鎻愮幇閲戦" + // } + // }, { "path": "deposit/info", "style": { @@ -567,13 +567,13 @@ } } }, - { - "path": "address/storeAddress", - "style": { - "enablePullDownRefresh": true, - "navigationBarTitleText": "鑷彁鐐�" - } - }, + // { + // "path": "address/storeAddress", + // "style": { + // "enablePullDownRefresh": true, + // "navigationBarTitleText": "鑷彁鐐�" + // } + // }, { "path": "address/add", "style": { @@ -600,24 +600,24 @@ } } }, - { - "path": "set/versionFunctionList", - "style": { - "navigationBarTitleText": "鍔熻兘浠嬬粛" - } - }, - { - "path": "set/securityCenter/fingerLogin", - "style": { - "navigationBarTitleText": "鎸囩汗鐧诲綍" - } - }, - { - "path": "set/securityCenter/faceLogin", - "style": { - "navigationBarTitleText": "闈㈠鐧诲綍" - } - }, + // { + // "path": "set/versionFunctionList", + // "style": { + // "navigationBarTitleText": "鍔熻兘浠嬬粛" + // } + // }, + // { + // "path": "set/securityCenter/fingerLogin", + // "style": { + // "navigationBarTitleText": "鎸囩汗鐧诲綍" + // } + // }, + // { + // "path": "set/securityCenter/faceLogin", + // "style": { + // "navigationBarTitleText": "闈㈠鐧诲綍" + // } + // }, { "path": "set/securityCenter/editPassword", "style": { @@ -660,12 +660,12 @@ } } }, - { - "path": "set/securityCenter/securityCenter", - "style": { - "navigationBarTitleText": "瀹夊叏涓績" - } - }, + // { + // "path": "set/securityCenter/securityCenter", + // "style": { + // "navigationBarTitleText": "瀹夊叏涓績" + // } + // }, { "path": "set/editionIntro", "style": { @@ -734,24 +734,24 @@ } } }, - { - "path": "msgTips/main", - "style": { - "navigationBarTitleText": "娑堟伅涓績" - } - }, - { - "path": "msgTips/sysMsg/index", - "style": { - "navigationBarTitleText": "绯荤粺娑堟伅" - } - }, - { - "path": "msgTips/serviceMsg/index", - "style": { - "navigationBarTitleText": "瀹㈡湇璁板綍" - } - }, + // { + // "path": "msgTips/main", + // "style": { + // "navigationBarTitleText": "娑堟伅涓績" + // } + // }, + // { + // "path": "msgTips/sysMsg/index", + // "style": { + // "navigationBarTitleText": "绯荤粺娑堟伅" + // } + // }, + // { + // "path": "msgTips/serviceMsg/index", + // "style": { + // "navigationBarTitleText": "瀹㈡湇璁板綍" + // } + // }, { "path": "msgTips/packageMsg/index", "style": { @@ -788,6 +788,26 @@ "path": "activity/myActivity", "style": { "navigationBarTitleText": "鎴戠殑娲诲姩", + "enablePullDownRefresh": true, + //涓嬫媺鍒锋柊 + "componentPlaceholder": { + "u-form": "view", + "u-form-item": "view", + "u-input": "view", + "u-icon": "view", + "u-action-sheet": "view", + "u-checkbox-group": "view", + "u-checkbox": "view", + "u-navbar": "view", + "u-button": "view", + "u-image": "view" + } + } + }, + { + "path": "activity/applyActivityList", + "style": { + "navigationBarTitleText": "娲诲姩鐢宠", "enablePullDownRefresh": true, //涓嬫媺鍒锋柊 "componentPlaceholder": { @@ -859,6 +879,7 @@ }, { "root": "pages/product", + // 鍏抽敭閰嶇疆 "pages": [ { "path": "shopPage", @@ -1024,6 +1045,7 @@ }, { "root": "pages/floor", + "pages": [ { "path": "empty" @@ -1076,6 +1098,7 @@ }, { "root": "pages/passport", + "pages": [ { "path": "login", @@ -1184,6 +1207,7 @@ }, { "root": "pages/promotion", + "pages": [ { "path": "seckill", @@ -1260,6 +1284,7 @@ }, { "root": "pages/cart", + "pages": [ { "path": "coupon/myCoupon", @@ -1331,6 +1356,7 @@ }, { "root": "pages/order", + "pages": [ { "path": "complain/complain", @@ -1514,6 +1540,7 @@ }, { "root": "pages/health", + "pages": [ { "path": "healthVideo", @@ -1526,6 +1553,7 @@ }, { "root": "pages/tabbar/home", + "pages": [ { "path": "web-view", @@ -1535,6 +1563,7 @@ }, { "root": "pages/kitchen", + "pages": [ { "path": "KitchenVideo", @@ -1559,6 +1588,7 @@ }, { "root": "pages/tabbar/user", + "pages": [ { "path": "my", @@ -1577,6 +1607,7 @@ }, { "root": "pages/supplier/suppler-order", + "pages": [ { "path": "suppler-order", @@ -1596,6 +1627,7 @@ }, { "root": "pages/supplier/publish-goods", + "pages": [ { "path": "publishGoods", @@ -1624,6 +1656,7 @@ }, { "root": "pages/goods-manager", + "pages": [ { "path": "goodsList/goodsList", @@ -1660,6 +1693,7 @@ }, { "root": "pages/news", + "pages": [ { "path": "news", @@ -1701,6 +1735,7 @@ }, { "root": "pages/userPermissions", + "pages": [ { "path": "addStoreMember", @@ -1747,6 +1782,7 @@ }, { "root": "pages/commodity-square", + "pages": [ { "path": "commoditySquare", @@ -1769,6 +1805,7 @@ }, { "root": "pages/navigation", + "pages": [ { "path": "search/searchPage", @@ -1797,6 +1834,7 @@ }, { "root": "pages/cusbar", + "pages": [ { "path": "special/special", -- Gitblit v1.8.0