From 032ff5ffbbbdfa6ecbbb8010d22a5bee1dd6c9fb Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 16 七月 2025 10:19:18 +0800 Subject: [PATCH] 解决主包过大问题 --- pages.json | 1398 ++++++++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 1,114 insertions(+), 284 deletions(-) diff --git a/pages.json b/pages.json index 95c0015..4f57a8c 100644 --- a/pages.json +++ b/pages.json @@ -1,75 +1,101 @@ { - "easycom": { - "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue" + "autoscan": true, + "custom": { + "^u-(.*)": "@/components/uview-components/uview-ui/components/u-$1/u-$1.vue" + //uview, + // "^uni-(.*)": "@/uni_modules/uni-$1/components/uni-$1/uni-$1.vue" // uniapp缁勪欢 + } }, + // "preloadRule": { + // "pages/tabbar/index/home": // 椤甸潰璺緞 + // // 椤甸潰鐨勯涓嬭浇閰嶇疆 + // { + // "network": "all", // all(涓嶉檺缃戠粶) wifi(浠厀ifi涓嬮涓嬭浇) + // "packages": [ + // "components/uview-components" + // ] // 棰勪笅杞藉垎鍖呯殑 root 鎴� name銆俖_APP__ 琛ㄧず涓诲寘 + // } + // }, "pages": [ // 绗竴涓氨鏄椤� { - "path" : "pages/tabbar/index/home", - "style" : - { + "path": "pages/tabbar/index/home", + "style": { // "navigationBarTitleText" : "瑙嗛", - "enablePullDownRefresh" : false, - "navigationStyle": "custom" // 闅愯棌椤堕儴瀵艰埅鏍� + "enablePullDownRefresh": false, + "navigationStyle": "custom" + // 闅愯棌椤堕儴瀵艰埅鏍� } }, - { - "path": "pages/tabbar/home/index", - "style": { - "navigationBarTitleText": "棣栭〉", - "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� - "navigationBarTextStyle": "black", - "enablePullDownRefresh":true - } - }, - { - "path":"pages/tabbar/screen/fullScreen", - "style": { - "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� - "app-plus":{ - "animationType": "fade-in", // 璁剧疆fade-in娣″叆鍔ㄧ敾锛屼负鏈�鍚堢悊鐨勫姩鐢荤被鍨� - "background": "transparent", // 鑳屾櫙閫忔槑 - "backgroundColor": "rgba(0,0,0,0)", // 鑳屾櫙閫忔槑 - "popGesture": "none" // 鍏抽棴IOS灞忓箷宸﹁竟婊戝姩鍏抽棴褰撳墠椤甸潰鐨勫姛鑳� - } - } - }, - { - "path": "pages/tabbar/home/title", - "style": { - "navigationBarTitleText": "娑堟伅" - } - }, + // { + // "path": "pages/tabbar/home/index", + // "style": { + // "navigationBarTitleText": "棣栭〉", + // "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� + // "navigationBarTextStyle": "black", + // "enablePullDownRefresh": true + // } + // }, + // { + // "path": "pages/kitchen/KitchenVideo", + // "style": { + // "navigationBarTitleText": "绁炲帹", + // "navigationStyle": "custom" // 闅愯棌绯荤粺瀵艰埅鏍� + // } + // }, + // { + // "path": "pages/tabbar/home/title", + // "style": { + // "navigationBarTitleText": "娑堟伅" + // } + // }, { "path": "pages/tabbar/cart/cartList", "style": { "navigationBarTitleText": "璐墿杞�", - "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� + "navigationStyle": "custom", + // 闅愯棌绯荤粺瀵艰埅鏍� "navigationBarBackgroundColor": "#fff", - "enablePullDownRefresh":true //瀹炵幇涓嬫媺鍒锋柊鏍峰紡 - - } - }, { - "path": "pages/tabbar/category/category", - "style": { - "navigationBarTitleText": "鍒嗙被", - "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� - "navigationBarTextStyle": "black", - "disableScroll": true, - "bounce": "none", - "scrollIndicator": "none" - - + "enablePullDownRefresh": true, + //瀹炵幇涓嬫媺鍒锋柊鏍峰紡 + "componentPlaceholder": { + "u-navbar": "view", + "u-checkbox-group": "view", + "u-checkbox": "view", + "u-swipe-action": "view", + "u-image": "view", + "u-icon": "view", + "u-count-down": "view", + "u-modal": "view", + "u-popup": "view", + "u-toast": "view" + } } }, - + // { + // // "path": "pages/tabbar/category/category", + // "path": "pages/commodity-square/commoditySquare", + + // "style": { + // "navigationBarTitleText": "鍟嗗搧骞垮満", + // "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� + // "navigationBarTextStyle": "black", + // // "disableScroll": true, + // "bounce": "none", + // "scrollIndicator": "none", + // "componentPlaceholder": { + // "u-navbar": "view", + // "u-search": "view", + // "u-image": "view" + // } + // } + // }, { - "path": "pages/navigation/search/searchPage", + "path": "components/m-search-revision/m-search-revision", "style": { - "navigationBarTitleText": "鎼滅储", + "navigationBarTitleText": "", "navigationStyle": "custom", - "app-plus": { //app椤甸潰涓嶆樉绀烘粴鍔ㄦ潯 "scrollIndicator": "none", @@ -77,68 +103,342 @@ "contentAdjust": "false", "bounce": "none", "safearea": { - "bottom": "none" + "bottom": "none" } + }, + "componentPlaceholder": { + "u-icon": "view" } } - }, { + }, + { + "path": "components/m-goods-list/list", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", + "app-plus": { + //app椤甸潰涓嶆樉绀烘粴鍔ㄦ潯 + "scrollIndicator": "none", + "bottom": "0", + "contentAdjust": "false", + "bounce": "none", + "safearea": { + "bottom": "none" + } + }, + "componentPlaceholder": { + "u-image": "view", + "u-loading": "view", + "u-tag": "view", + "u-icon": "view" + } + } + }, + { + "path": "components/m-share/index", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", + "componentPlaceholder": { + "u-popup": "view", + "u-icon": "view" + } + } + }, + { + "path": "components/m-buy/goods", + "style": { + "navigationBarTitleText": "", + "componentPlaceholder": { + "u-popup": "view", + "u-image": "view", + "u-alert-tips": "view" + } + } + }, + { + "path": "components/m-take-down-sale-goods/index", + "style": { + "navigationBarTitleText": "", + "componentPlaceholder": { + "u-popup": "view" + } + } + }, + { + "path": "pages/navigation/search/searchPage", + "style": { + "navigationBarTitleText": "鎼滅储", + "navigationStyle": "custom", + "app-plus": { + //app椤甸潰涓嶆樉绀烘粴鍔ㄦ潯 + "scrollIndicator": "none", + "bottom": "0", + "contentAdjust": "false", + "bounce": "none", + "safearea": { + "bottom": "none" + } + }, + "componentPlaceholder": { + "u-navbar": "view", + "u-popup": "view", + "u-input": "view", + "u-back-top": "view" + } + } + }, + { "path": "pages/tabbar/user/my", "style": { "navigationBarTextStyle": "white", "enablePullDownRefresh": true, - "navigationStyle": "custom" + "navigationStyle": "custom", + "componentPlaceholder": { + "u-icon": "view", + "u-row": "view", + "u-col": "view" + } } }, - { "path": "pages/tabbar/home/web-view", - "style": { - - } - }, - { - "path": "pages/tabbar/special/special", - "style": { - "navigationBarTitleText": "涓撻" - } + "style": {} }, { - "path" : "pages/tabbar/video/video", - "style" : - { - "navigationBarTitleText" : "鍙戝竷瑙嗛", - "enablePullDownRefresh" : false + "path": "pages/tabbar/special/special", + "style": { + "navigationBarTitleText": "涓撻" + } + }, + { + "path": "pages/tabbar/video/video", + "style": { + "navigationBarTitleText": "鍙戝竷瑙嗛", + "enablePullDownRefresh": false, + "componentPlaceholder": { + "u-icon": "view", + "u-button": "view", + "u-form": "view", + "u-form-item": "view", + "u-input": "view", + "u-popup": "view", + "u-search": "view" + } + } + }, + { + "path": "pages/goods-manager/goodsList/goodsList", + "style": { + "enablePullDownRefresh": true, + "navigationBarTitleText": "鍟嗗搧鍒楄〃", + "componentPlaceholder": { + "u-icon": "view", + "u-button": "view", + "u-form": "view", + "u-form-item": "view", + "u-input": "view", + "u-popup": "view", + "u-search": "view" + } + } + }, + // { + // "path": "pages/supplier/publish-goods/publishGoods", + // "style": { + // "enablePullDownRefresh": true, + // "navigationBarTitleText": "鏂板鍟嗗搧", + // "componentPlaceholder": { + // "u-icon": "view", + // "u-button": "view", + // "u-form": "view", + // "u-form-item": "view", + // "u-input": "view", + // "u-popup": "view", + // "u-search": "view", + // "u-upload": "view" + // } + // } + // }, + { + "path": "pages/goods-manager/updateSkus/updateSkus", + "style": { + "enablePullDownRefresh": true, + "navigationBarTitleText": "璋冩暣搴撳瓨", + "componentPlaceholder": { + "u-icon": "view", + "u-button": "view", + "u-form": "view", + "u-form-item": "view", + "u-input": "view", + "u-popup": "view" + } + } + }, + // { + // "path": "pages/userPermissions/userPermissions", + // "style": { + // "navigationBarTitleText": "鐢ㄦ埛鏉冮檺", + // "componentPlaceholder": { + // "u-icon": "view", + // "u-button": "view", + // "u-form": "view", + // "u-form-item": "view", + // "u-input": "view", + // "u-popup": "view", + // "u-search": "view", + // "u-loading": "view", + // "u-navbar": "view", + // "u-loadmore":"view" + // } + // } + // }, + { + "path": "pages/news/news", + "style": { + "navigationBarTitleText": "鏂伴椈", + "componentPlaceholder": { + "u-icon": "view", + "u-button": "view", + "u-form": "view", + "u-form-item": "view", + "u-input": "view", + "u-popup": "view", + "u-search": "view", + "u-loading": "view", + "u-navbar": "view", + "u-loadmore": "view" + } + } + }, + { + "path": "pages/news/detail", + "style": { + "navigationBarTitleText": "鏂伴椈璇︽儏", + "componentPlaceholder": { + "u-icon": "view", + "u-button": "view", + "u-form": "view", + "u-form-item": "view", + "u-input": "view", + "u-popup": "view", + "u-search": "view", + "u-loading": "view", + "u-navbar": "view", + "u-loadmore": "view" + } } } - - + // { + // "path": "pages/customerManager/customerManager", + // "style": { + // "navigationBarTitleText": "瀹㈡埛绠$悊", + // "componentPlaceholder": { + // "u-icon": "view", + // "u-button": "view", + // "u-form": "view", + // "u-form-item": "view", + // "u-input": "view", + // "u-popup": "view", + // "u-search": "view", + // "u-loading": "view", + // "u-checkbox": "view", + // "u-checkbox-group": "view", + // "u-navbar": "view", + // "u-loadmore":"view" + // } + // } + // }, + // { + // "path": "pages/userPermissions/addStoreMember", + // "style": { + // "navigationBarTitleText": "", + // "navigationStyle": "custom", // 闅愯棌椤堕儴瀵艰埅鏍� + // "componentPlaceholder": { + // "u-icon": "view", + // "u-button": "view", + // "u-form": "view", + // "u-form-item": "view", + // "u-input": "view", + // "u-popup": "view", + // "u-search": "view", + // "u-loading": "view", + // "u-checkbox": "view", + // "u-checkbox-group": "view", + // "u-navbar": "view", + // "u-loadmore":"view", + // "u-switch": "view" + // } + // } + // }, + // { + // "path" : "pages/supplier/publish-goods/goodsInfo", + // "style" : + // { + // "navigationBarTitleText" : "" + // } + // } ], "subPackages": [ - + // { + // "root": "components/uview-components", // 蹇呴』涓巔reloadRule涓殑鍚嶇О瀹屽叏涓�鑷� + // "name": "uview-components", + // "pages": [ + // { + // "path": "pages/empty-page/empty-page", + // "style": { + // "navigationBarTitleText": "", + // "disableScroll": true + // } + // } + // ] + // }, { "root": "pages/mine", "pages": [ - { "path": "signIn", "style": { - "navigationBarTitleText": "绛惧埌" + "navigationBarTitleText": "绛惧埌", + "componentPlaceholder": { + "u-icon": "view" + } } - }, { + }, + { "path": "myTracks", "style": { "navigationBarTitleText": "鎴戠殑瓒宠抗", "enablePullDownRefresh": true, - "navigationStyle": "custom" + "navigationStyle": "custom", + "componentPlaceholder": { + "u-navbar": "view", + "u-notice-bar": "view", + "u-empty": "view", + "u-swipe-action": "view", + "u-checkbox-group": "view", + "u-checkbox": "view" + } } - }, { + }, + { "path": "myCollect", "style": { "navigationBarTitleText": "鏀惰棌", - "enablePullDownRefresh": true, //涓嬫媺鍒锋柊 + "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" } } }, @@ -149,6 +449,11 @@ "app-plus": { //app椤甸潰涓嶆樉绀烘粴鍔ㄦ潯 "scrollIndicator": "none" + }, + "componentPlaceholder": { + "u-swipe-action": "view", + "u-image": "view", + "u-modal": "view" } } }, @@ -159,6 +464,9 @@ "app-plus": { //app椤甸潰涓嶆樉绀烘粴鍔ㄦ潯 "scrollIndicator": "none" + }, + "componentPlaceholder": { + "u-input": "view" } } }, @@ -170,78 +478,92 @@ "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": "鎻愮幇鍘嗗彶" - + "navigationBarTitleText": "鎻愮幇鍘嗗彶", + "componentPlaceholder": { + "u-loadmore": "view" + } } }, { "path": "distribution/auth", "style": { - "navigationBarTitleText": "浼氬憳瀹炲悕璁よ瘉" - + "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": "鎺ㄥ箍鍒嗕剑" - + "navigationBarTitleText": "鎺ㄥ箍鍒嗕剑", + "componentPlaceholder": { + "u-icon": "view" + } } }, { "path": "deposit/index", "style": { "navigationStyle": "custom" - } }, { "path": "deposit/operation", "style": { "navigationStyle": "custom" - } }, { "path": "deposit/recharge", "style": { "navigationBarTitleText": "鍏呭�奸噾棰�" - } }, { "path": "deposit/withdrawal", "style": { "navigationBarTitleText": "鎻愮幇閲戦" - } }, - - { - "path": "deposit/info", - "style": { - "navigationBarTitleText": "棰勫瓨娆捐鎯�" - - } - }, - { + { + "path": "deposit/info", + "style": { + "navigationBarTitleText": "棰勫瓨娆捐鎯�" + } + }, + { "path": "address/address", "style": { "enablePullDownRefresh": true, - "navigationBarTitleText": "鍦板潃绠$悊" + "navigationBarTitleText": "鍦板潃绠$悊", + "componentPlaceholder": { + "u-empty": "view", + "u-icon": "view", + "u-action-sheet": "view" + } } }, { @@ -254,13 +576,27 @@ { "path": "address/add", "style": { - "navigationBarTitleText": "鏀惰揣浜�" + "navigationBarTitleText": "鏀惰揣浜�", + "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" + } } }, { "path": "address/addressManage", "style": { - "navigationBarTitleText": "鍦板潃绠$悊" + "navigationBarTitleText": "鍦板潃绠$悊", + "componentPlaceholder": { + "u-empty": "view", + "u-icon": "view", + "u-action-sheet": "view" + } } }, { @@ -269,7 +605,6 @@ "navigationBarTitleText": "鍔熻兘浠嬬粛" } }, - { "path": "set/securityCenter/fingerLogin", "style": { @@ -282,52 +617,46 @@ "navigationBarTitleText": "闈㈠鐧诲綍" } }, - - { "path": "set/securityCenter/editPassword", "style": { "navigationBarTitleText": "淇敼瀵嗙爜", - "app-plus": { - - } + "app-plus": {} } }, - { "path": "set/securityCenter/bindMobile", "style": { "navigationBarTitleText": "缁戝畾鎵嬫満鍙�", - "app-plus": { - - } + "app-plus": {} } }, - { "path": "im/list", "style": { - "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� + "navigationStyle": "custom", + // 闅愯棌绯荤粺瀵艰埅鏍� "enablePullDownRefresh": true, - "app-plus": { - } - + "app-plus": {} } }, { "path": "im/index", "style": { - "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� + "navigationStyle": "custom", + // 闅愯棌绯荤粺瀵艰埅鏍� "enablePullDownRefresh": true, - "app-plus": { - } - + "app-plus": {} } }, { "path": "set/feedBack", "style": { - "navigationBarTitleText": "鎰忚鍙嶉" + "navigationBarTitleText": "鎰忚鍙嶉", + "componentPlaceholder": { + "u-input": "view", + "u-upload": "view" + } } }, { @@ -336,17 +665,26 @@ "navigationBarTitleText": "瀹夊叏涓績" } }, - { "path": "set/editionIntro", "style": { - "navigationBarTitleText": "鍏充簬鎴戜滑" + "navigationBarTitleText": "鍏充簬鎴戜滑", + "componentPlaceholder": { + "u-cell-group": "view", + "u-cell-item": "view" + } } }, { "path": "set/setUp", "style": { - "navigationBarTitleText": "璁剧疆" + "navigationBarTitleText": "璁剧疆", + "componentPlaceholder": { + "u-image": "view", + "u-icon": "view", + "u-cell-group": "view", + "u-cell-item": "view" + } } }, { @@ -356,27 +694,46 @@ "app-plus": { "titleNView": { "padding-right": "12", - "buttons": [{ - "text": "淇濆瓨", - "fontSize": "16", - "width": "auto", - "color": "#FFFFFF" - }] + "buttons": [ + { + "text": "淇濆瓨", + "fontSize": "16", + "width": "auto", + "color": "#FFFFFF" + } + ] } + }, + "componentPlaceholder": { + "u-form": "view", + "u-form-item": "view", + "u-input": "view", + "u-radio-group": "view", + "u-radio": "view", + "u-picker": "view" } } - }, { + }, + { "path": "help/tips", "style": { - "navigationBarTitleText": "" - } - }, { - "path": "point/myPoint", - "style": { - "navigationBarTitleText": "鎴戠殑绉垎" + "navigationBarTitleText": "", + "componentPlaceholder": { + "u-parse": "view" + } } }, - { + { + "path": "point/myPoint", + "style": { + "navigationBarTitleText": "鎴戠殑绉垎", + "componentPlaceholder": { + "u-row": "view", + "u-col": "view" + } + } + }, + { "path": "msgTips/main", "style": { "navigationBarTitleText": "娑堟伅涓績" @@ -405,39 +762,129 @@ "style": { "navigationBarTitleText": "璁㈠崟璺熻釜" } + }, + { + "path": "activity/detail", + "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/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/reportActivity", + "style": { + "navigationBarTitleText": "娲诲姩", + "enablePullDownRefresh": true, + //涓嬫媺鍒锋柊 + "navigationStyle": "custom", + // 闅愯棌椤堕儴瀵艰埅鏍� + "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", + "u-loadmore": "view" + } + } + }, + { + "path": "myCollect/myCollect", + "style": { + "navigationBarTitleText": "鎴戠殑鏀惰棌", + "enablePullDownRefresh": true, + //涓嬫媺鍒锋柊 + "componentPlaceholder": { + "u-icon": "view", + "u-button": "view", + "u-form": "view", + "u-form-item": "view", + "u-input": "view", + "u-popup": "view", + "u-search": "view", + "u-loading": "view", + "u-navbar": "view", + "u-image": "view", + "u-loadmore": "view" + } + } + }, + { + "path": "myAttention", + "style": { + "navigationBarTitleText": "鍏虫敞鍒楄〃", + "enablePullDownRefresh": true + } } - ] - }, - - { "root": "pages/product", - "pages": [{ - "path": "shopPage", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom" - } - },{ - "path": "shopList", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom" - } - },{ - "path": "licencePhoto", - "style": { - "navigationBarTitleText": "钀ヤ笟鎵х収" - } - },{ - "path": "shopPageGoods", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom" - } - }, + "pages": [ + { + "path": "shopPage", + "style": { + "navigationBarTitleText": "" + } + }, + { + "path": "shopList", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, + { + "path": "licencePhoto", + "style": { + "navigationBarTitleText": "钀ヤ笟鎵х収" + } + }, + { + "path": "shopPageGoods", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, { "path": "goods", "style": { @@ -449,10 +896,15 @@ // 绂佹椤甸潰婊氬姩 "scrollIndicator": "none", "safearea": { - "bottom": { - "offset": "none" - } - } + "bottom": { + "offset": "none" + } + } + }, + "componentPlaceholder": { + "u-icon": "view", + "u-navbar": "view", + "u-popup": "view" } } }, @@ -462,7 +914,91 @@ "navigationBarTitleText": "闂瓟涓撳尯" } }, - { //鍟嗗搧璇勪环 + { + "path": "product/promotion/-promotion-details", + "style": { + "navigationBarTitleText": "", + "componentPlaceholder": { + "u-tag": "view" + } + } + }, + { + "path": "product/promotion/-promotion-assemble-promotions", + "style": { + "navigationBarTitleText": "", + "componentPlaceholder": { + "u-tag": "view", + "u-count-down": "view" + } + } + }, + { + "path": "product/promotion/-promotion-assemble-list", + "style": { + "navigationBarTitleText": "", + "componentPlaceholder": { + "u-image": "view", + "u-button": "view", + "u-empty": "view" + } + } + }, + { + "path": "product/goods/-goods-intro", + "style": { + "navigationBarTitleText": "", + "componentPlaceholder": { + "u-empty": "view", + "u-parse": "view" + } + } + }, + { + "path": "product/shop/-shop", + "style": { + "navigationBarTitleText": "", + "componentPlaceholder": { + "u-image": "view", + "u-loading": "view" + } + } + }, + { + "path": "product/evaluation/-evaluation", + "style": { + "navigationBarTitleText": "", + "componentPlaceholder": { + "u-avatar": "view", + "u-read-more": "view", + "u-image": "view", + "u-empty": "view" + } + } + }, + { + "path": "product/goods/-goods-swiper", + "style": { + "navigationBarTitleText": "", + "componentPlaceholder": { + "u-loading": "view", + "u-image": "view" + } + } + }, + { + "path": "product/popup/address", + "style": { + "navigationBarTitleText": "", + "componentPlaceholder": { + "u-popup": "view", + "u-icon": "view", + "u-empty": "view" + } + } + }, + { + //鍟嗗搧璇勪环 "path": "comment", "navigationStyle": "custom", "style": { @@ -471,7 +1007,8 @@ "scrollIndicator": "none" } }, - { // 瀹㈡湇 + { + // 瀹㈡湇 "path": "customerservice/index", "style": { "navigationBarTitleText": "瀹㈡湇", @@ -482,20 +1019,64 @@ } } } - ] - }, { "root": "pages/floor", - "pages": [{ - "path": "empty" - }] - + "pages": [ + { + "path": "empty" + } + ] + }, + { + "root": "pages/video", + "pages": [ + { + "path": "home-page", + "style": { + "navigationBarTitleText": "TA鐨勪富椤�" + } + }, + { + "path": "video-play", + "style": { + "navigationBarTitleText": "" + } + }, + { + "path": "home-page-edit", + "style": { + "navigationBarTitleText": "涓婚〉淇℃伅淇敼" + } + }, + { + "path": "video-edit", + "style": { + "navigationBarTitleText": "瑙嗛缂栬緫" + } + }, + { + "path": "video-goods-detail", + "style": { + "navigationBarTitleText": "瑙嗛鎺ㄨ崘鍟嗗搧", + "componentPlaceholder": { + "u-button": "view" + } + } + }, + { + "path": "video-search", + "style": { + "navigationBarTitleText": "" + } + } + ] }, { "root": "pages/passport", - "pages": [{ + "pages": [ + { "path": "login", "style": { "navigationBarTitleText": "", @@ -505,26 +1086,70 @@ "animationType": "slide-in-bottom", "scrollIndicator": "none", "safearea": { - "bottom": { - "offset": "none" - } - } + "bottom": { + "offset": "none" + } + } } } }, - { "path": "entry/seller/index", "style": { "navigationBarTitleText": "搴楅摵鍏ラ┗", - "navigationStyle": "custom" + "navigationStyle": "custom", + "componentPlaceholder": { + "u-navbar": "view" + } + } + }, + { + "path": "entry/seller/step1", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", + "componentPlaceholder": { + "u-form": "view", + "u-form-item": "view", + "u-input": "view", + "u-upload": "view" + } + } + }, + { + "path": "entry/seller/step2", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", + "componentPlaceholder": { + "u-form": "view", + "u-form-item": "view", + "u-input": "view" + } + } + }, + { + "path": "entry/seller/step3", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", + "componentPlaceholder": { + "u-form": "view", + "u-form-item": "view", + "u-input": "view", + "u-upload": "view", + "u-select": "view" + } } }, { "path": "entry/seller/control", "style": { "navigationBarTitleText": "", - "navigationStyle": "custom" + "navigationStyle": "custom", + "componentPlaceholder": { + "u-navbar": "view" + } } }, { @@ -538,7 +1163,12 @@ "style": { "navigationBarTitleText": "灏忕▼搴忕櫥褰�", "navigationStyle": "custom", - "navigationBarTextStyle": "black" + "navigationBarTextStyle": "black", + "componentPlaceholder": { + "u-navbar": "view", + "u-modal": "view", + "u-checkbox": "view" + } } }, { @@ -550,90 +1180,96 @@ } } ] - }, - { "root": "pages/promotion", - "pages": [ { + "pages": [ + { "path": "seckill", "style": { "navigationBarTitleText": "闄愭椂鎶㈣喘", - "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� - "navigationBarTextStyle": "black" , + "navigationStyle": "custom", + // 闅愯棌绯荤粺瀵艰埅鏍� + "navigationBarTextStyle": "black", "app-plus": { "titleNView": { - "homeButton":true + "homeButton": true } } } }, - - { + { "path": "joinGroup", "style": { "navigationBarTitleText": "鎷煎洟娲诲姩", - "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� - "navigationBarTextStyle": "black" , + "navigationStyle": "custom", + // 闅愯棌绯荤粺瀵艰埅鏍� + "navigationBarTextStyle": "black", "app-plus": { // 灏嗗洖寮瑰睘鎬у叧鎺� "bounce": "none" } } - },{ + }, + { "path": "lives", "style": { "navigationStyle": "custom", "navigationBarTextStyle": "black" - } - },{ + }, + { "path": "bargain/list", "style": { "navigationStyle": "custom", "navigationBarTextStyle": "white" - } - },{ + }, + { "path": "bargain/detail", "style": { "navigationStyle": "custom", "navigationBarTextStyle": "white" - } - },{ + }, + { "path": "bargain/log", "style": { - "navigationBarTitleText": "鐮嶄环璁板綍" + "navigationBarTitleText": "鐮嶄环璁板綍", + "componentPlaceholder": { + "u-image": "view", + "u-empty": "view" + } } - },{ + }, + { "path": "point/detail", "style": { "navigationStyle": "custom", "navigationBarTextStyle": "white" - } - },{ + }, + { "path": "point/pointList", "style": { "navigationBarTitleText": "绉垎鍟嗗煄" - - } } - ] - }, { "root": "pages/cart", - "pages": [{ + "pages": [ + { "path": "coupon/myCoupon", "style": { "navigationBarTitleText": "鎴戠殑浼樻儬鍒�", "app-plus": { "bounce": "coupon/none" - + }, + "componentPlaceholder": { + "u-empty": "view", + "u-icon": "view" } } }, @@ -649,13 +1285,14 @@ "navigationBarTitleText": "浼樻儬鍒�" } }, - { "path": "coupon/couponCenter", "style": { "navigationBarTitleText": "棰嗗埜涓績", - "enablePullDownRefresh": true - + "enablePullDownRefresh": true, + "componentPlaceholder": { + "u-empty": "view" + } } }, { @@ -663,8 +1300,8 @@ "style": { "navigationBarTitleText": "鏀粯璁㈠崟", "app-plus": { - "popGesture": "none" //绂佹渚ф粦閫�鍑� - + "popGesture": "none" + //绂佹渚ф粦閫�鍑� } } }, @@ -672,10 +1309,12 @@ "path": "payment/success", "style": { "navigationBarTitleText": "鏀粯鎴愬姛", - "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� + "navigationStyle": "custom", + // 闅愯棌绯荤粺瀵艰埅鏍� "navigationBarTextStyle": "white", "app-plus": { - "popGesture": "none", //绂佹渚ф粦閫�鍑� + "popGesture": "none", + //绂佹渚ф粦閫�鍑� "titleNView": false } } @@ -684,18 +1323,15 @@ "path": "payment/shareOrderGoods", "style": { "navigationBarTitleText": "", - "app-plus": { - - } + "app-plus": {} } } - ] - }, { "root": "pages/order", - "pages": [{ + "pages": [ + { "path": "complain/complain", "style": { "navigationBarTitleText": "璁㈠崟鍟嗗搧鎶曡瘔" @@ -708,9 +1344,27 @@ } }, { + "path": "invoice/setInvoice", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", + "componentPlaceholder": { + "u-popup": "view", + "u-input": "view" + } + } + }, + { "path": "complain/complainList", "style": { - "navigationBarTitleText": "鎶曡瘔鍒楄〃" + "navigationBarTitleText": "鎶曡瘔鍒楄〃", + "componentPlaceholder": { + "u-line": "view", + "u-image": "view", + "u-tag": "view", + "u-empty": "view", + "u-modal": "view" + } } }, { @@ -720,7 +1374,17 @@ "enablePullDownRefresh": true, "app-plus": { "bounce": "none" - + }, + "componentPlaceholder": { + "u-empty": "view", + "u-modal": "view", + "u-image": "view", + "u-popup": "view", + "u-radio-group": "view", + "u-radio": "view", + "u-button": "view", + "u-toast": "view", + "u-modal": "view" } } }, @@ -748,7 +1412,6 @@ "navigationBarTitleText": "璇勪环璇︽儏" } }, - { "path": "evaluate/releaseEvaluate", "style": { @@ -758,10 +1421,16 @@ { "path": "evaluate/myEvaluate", "style": { - "navigationBarTitleText": "鎴戠殑璇勪环" + "navigationBarTitleText": "鎴戠殑璇勪环", + "componentPlaceholder": { + "u-empty": "view", + "u-tabs": "view", + "u-image": "view", + "u-read-more": "view", + "u-tag": "view" + } } }, - { "path": "afterSales/applyProgress", "style": { @@ -782,13 +1451,15 @@ "bounce": "none", "titleNView": { "titleColor": "#FFFFFF", - "buttons": [{ - "text": "瀹屾垚", - "fontSize": "14", - "color": "#FFFFFF", - "width": "36px" - // "background": "rgba(0,0,0,0)" - }] + "buttons": [ + { + "text": "瀹屾垚", + "fontSize": "14", + "color": "#FFFFFF", + "width": "36px" + // "background": "rgba(0,0,0,0)" + } + ] } } } @@ -812,13 +1483,170 @@ "path": "afterSales/afterSales", "style": { "navigationBarTitleText": "鍞悗绠$悊", - "enablePullDownRefresh": true + "enablePullDownRefresh": true, + "componentPlaceholder": { + "u-modal": "view", + "u-tabs": "view", + "u-image": "view", + "u-search": "view", + "u-icon": "view", + "u-loadmore": "view" + } } }, { "path": "fillorder", "style": { - "navigationBarTitleText": "濉啓璁㈠崟" + "navigationBarTitleText": "濉啓璁㈠崟", + "componentPlaceholder": { + "u-image": "view", + "u-row": "view", + "u-col": "view", + "u-input": "view", + "u-icon": "view", + "u-select": "view", + "u-notice-bar": "view" + } + } + } + ] + }, + { + "root": "pages/health", + "pages": [ + { + "path": "healthVideo", + "style": { + "navigationBarTitleText": "澶у仴搴�", + "navigationStyle": "custom" + } + } + ] + }, + { + "root": "pages/kitchen", + "pages": [ + { + "path": "KitchenVideo", + "style": { + "navigationBarTitleText": "绁炲帹", + "navigationStyle": "custom" + // 闅愯棌绯荤粺瀵艰埅鏍� + } + } + ] + }, + { + "root": "pages/supplier/suppler-order", + "pages": [ + { + "path": "suppler-order", + "style": { + "navigationBarTitleText": "渚涘簲鍟嗙" + // "navigationStyle": "custom" + } + }, + { + "path": "order-detail", + "style": { + "navigationBarTitleText": "璁㈠崟璇︽儏" + // "navigationStyle": "custom" + } + } + ] + }, + { + "root": "pages/supplier/publish-goods", + "pages": [ + { + "path": "publishGoods", + "style": { + "enablePullDownRefresh": true, + "navigationBarTitleText": "鏂板鍟嗗搧", + "componentPlaceholder": { + "u-icon": "view", + "u-button": "view", + "u-form": "view", + "u-form-item": "view", + "u-input": "view", + "u-popup": "view", + "u-search": "view", + "u-upload": "view" + } + } + }, + { + "path": "goodsInfo", + "style": { + "navigationBarTitleText": "" + } + } + ] + }, + { + "root": "pages/userPermissions", + "pages": [ + { + "path": "addStoreMember", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", + // 闅愯棌椤堕儴瀵艰埅鏍� + "componentPlaceholder": { + "u-icon": "view", + "u-button": "view", + "u-form": "view", + "u-form-item": "view", + "u-input": "view", + "u-popup": "view", + "u-search": "view", + "u-loading": "view", + "u-checkbox": "view", + "u-checkbox-group": "view", + "u-navbar": "view", + "u-loadmore": "view", + "u-switch": "view" + } + } + }, + { + "path": "userPermissions", + "style": { + "navigationBarTitleText": "鐢ㄦ埛鏉冮檺", + "componentPlaceholder": { + "u-icon": "view", + "u-button": "view", + "u-form": "view", + "u-form-item": "view", + "u-input": "view", + "u-popup": "view", + "u-search": "view", + "u-loading": "view", + "u-navbar": "view", + "u-loadmore": "view" + } + } + } + ] + }, + { + "root": "pages/commodity-square", + "pages": [ + { + "path": "commoditySquare", + "style": { + "navigationBarTitleText": "鍟嗗搧骞垮満", + "navigationStyle": "custom", + // 闅愯棌绯荤粺瀵艰埅鏍� + "navigationBarTextStyle": "black", + // "disableScroll": true, + "bounce": "none", + "scrollIndicator": "none", + "componentPlaceholder": { + "u-navbar": "view", + "u-search": "view", + "u-image": "view" + } } } ] @@ -826,7 +1654,7 @@ ], "globalStyle": { "navigationBarTextStyle": "black", - "navigationBarTitleText": "Lili鍟嗗煄", + "navigationBarTitleText": "缁挎弧绛�", "titleColor": "#303133", "navigationBarBackgroundColor": "#fff", "backgroundColor": "#fff", @@ -834,51 +1662,53 @@ "app-plus": { // 鍏ㄥ眬鍏抽棴鍥炲脊鍔熻兘 "bounce": "none" - } }, - "tabBar": { - "custom": true, - "color": "#666", - "selectedColor": "#ff573e", - "borderStyle": "black", - "backgroundColor": "#ffffff", - "list": [{ - "pagePath": "pages/tabbar/index/home", - "iconPath": "static/tabbar/home.png", - "selectedIconPath": "static/tabbar/home-s.png", - "text": "棣栭〉" - }, - { - "pagePath": "pages/tabbar/category/category", - "iconPath": "static/tabbar/category.png", - "selectedIconPath": "static/tabbar/category-s.png", - "text": "鍟嗗煄" - }, - { - "pagePath": "pages/tabbar/video/video", - "iconPath": "static/tabbar/video.png", - "selectedIconPath": "static/tabbar/video-selected.png" - }, - { - "pagePath": "pages/tabbar/cart/cartList", - "iconPath": "static/tabbar/cart.png", - "selectedIconPath": "static/tabbar/cart-s.png", - "text": "璐墿杞�" - }, - { - "pagePath": "pages/tabbar/user/my", - "iconPath": "static/tabbar/mine.png", - "selectedIconPath": "static/tabbar/mine-s.png", - "text": "鎴戠殑" - } - ] - }, + // "tabBar": { + // "custom": true, + // "color": "#666", + // "selectedColor": "#ff573e", + // "borderStyle": "black", + // "backgroundColor": "#ffffff", + // "list": [ + // { + // "pagePath": "pages/tabbar/index/home", + // "iconPath": "static/tabbar/home.png", + // "selectedIconPath": "static/tabbar/home-s.png", + // "text": "棣栭〉" + // }, + // { + // // "pagePath": "pages/tabbar/category/category", + // "pagePath": "pages/kitchen/KitchenVideo", + // "iconPath": "static/tabbar/category.png", + // "selectedIconPath": "static/tabbar/category-s.png", + // "text": "绁炲帹" + // }, + // { + // "pagePath": "pages/tabbar/video/video", + // "iconPath": "static/tabbar/video.png", + // "selectedIconPath": "static/tabbar/video-selected.png" + // }, + // { + // "pagePath": "pages/tabbar/cart/cartList", + // "iconPath": "static/tabbar/cart.png", + // "selectedIconPath": "static/tabbar/cart-s.png", + // "text": "璐墿杞�" + // }, + // { + // "pagePath": "pages/tabbar/user/my", + // "iconPath": "static/tabbar/mine.png", + // "selectedIconPath": "static/tabbar/mine-s.png", + // "text": "鎴戠殑" + // } + // ] + // }, // #todo 涓轰粈涔堣娉ㄩ噴condition涓嬩唬鐮侊紵 // IOS plus.runtime.arguments 娣诲姞 condition鑺傜偣鍚庯紝 妗嗘灦浼氫慨鏀� runtime.arguments // 浼氬奖鍝嶄粈涔堝姛鑳斤紵 // -鍦╤5涓敜閱抋pp浼氫竴鐩磋繑鍥為粯璁ゅ�� {"name":"","path":"","query":"","id":0} - "condition": { //妯″紡閰嶇疆锛屼粎寮�鍙戞湡闂寸敓鏁� + "condition": { + //妯″紡閰嶇疆锛屼粎寮�鍙戞湡闂寸敓鏁� // "current": 0, //褰撳墠婵�娲荤殑妯″紡(list 鐨勭储寮曢」) // "list": [{ // "name": "", //妯″紡鍚嶇О @@ -886,4 +1716,4 @@ // "query": "" //鍚姩鍙傛暟锛屽湪椤甸潰鐨刼nLoad鍑芥暟閲岄潰寰楀埌 // }] } -} +} \ No newline at end of file -- Gitblit v1.8.0