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 | 781 +++++++++++++++++++++++++++++++++++++------------------ 1 files changed, 526 insertions(+), 255 deletions(-) diff --git a/pages.json b/pages.json index 2a77e9f..4f57a8c 100644 --- a/pages.json +++ b/pages.json @@ -2,58 +2,63 @@ "easycom": { "autoscan": true, "custom": { - "^u-(.*)": "@/uview-components/uview-ui/components/u-$1/u-$1.vue", //uview, - "^uni-(.*)": "@/uni_modules/uni-$1/components/uni-$1/uni-$1.vue" // uniapp缁勪欢 + "^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": ["uview-components"] // 棰勪笅杞藉垎鍖呯殑 root 鎴� name銆俖_APP__ 琛ㄧず涓诲寘 - } - }, + // "preloadRule": { + // "pages/tabbar/index/home": // 椤甸潰璺緞 + // // 椤甸潰鐨勯涓嬭浇閰嶇疆 + // { + // "network": "all", // all(涓嶉檺缃戠粶) wifi(浠厀ifi涓嬮涓嬭浇) + // "packages": [ + // "components/uview-components" + // ] // 棰勪笅杞藉垎鍖呯殑 root 鎴� name銆俖_APP__ 琛ㄧず涓诲寘 + // } + // }, "pages": [ - // 绗竴涓氨鏄椤� { "path": "pages/tabbar/index/home", "style": { // "navigationBarTitleText" : "瑙嗛", "enablePullDownRefresh": false, - "navigationStyle": "custom" // 闅愯棌椤堕儴瀵艰埅鏍� + "navigationStyle": "custom" + // 闅愯棌椤堕儴瀵艰埅鏍� } }, - { - "path" : "pages/tabbar/index/home1", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path": "pages/tabbar/home/index", - "style": { - "navigationBarTitleText": "棣栭〉", - "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� - "navigationBarTextStyle": "black", - "enablePullDownRefresh": true - } - }, - { - "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, //瀹炵幇涓嬫媺鍒锋柊鏍峰紡 + "enablePullDownRefresh": true, + //瀹炵幇涓嬫媺鍒锋柊鏍峰紡 "componentPlaceholder": { "u-navbar": "view", "u-checkbox-group": "view", @@ -67,22 +72,25 @@ "u-toast": "view" } } - }, { - "path": "pages/tabbar/category/category", - "style": { - "navigationBarTitleText": "鍒嗙被", - "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� - "navigationBarTextStyle": "black", - "disableScroll": true, - "bounce": "none", - "scrollIndicator": "none", - "componentPlaceholder": { - "u-navbar": "view", - "u-search": "view", - "u-image": "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": "components/m-search-revision/m-search-revision", "style": { @@ -179,7 +187,8 @@ "u-back-top": "view" } } - }, { + }, + { "path": "pages/tabbar/user/my", "style": { "navigationBarTextStyle": "white", @@ -192,12 +201,9 @@ } } }, - { "path": "pages/tabbar/home/web-view", - "style": { - - } + "style": {} }, { "path": "pages/tabbar/special/special", @@ -225,19 +231,7 @@ "path": "pages/goods-manager/goodsList/goodsList", "style": { "enablePullDownRefresh": true, - "navigationBarTitleText": "鍟嗗搧鍒楄〃" - } - }, - { - "path": "pages/goods-manager/addGoods/addGoods", - "style": { - "navigationBarTitleText": "" - } - }, - { - "path": "pages/userPermissions/userPermissions", - "style": { - "navigationBarTitleText": "鐢ㄦ埛鏉冮檺", + "navigationBarTitleText": "鍟嗗搧鍒楄〃", "componentPlaceholder": { "u-icon": "view", "u-button": "view", @@ -245,18 +239,64 @@ "u-form-item": "view", "u-input": "view", "u-popup": "view", - "u-search": "view", - "u-loading": "view", - "u-navbar": "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/customerManager/customerManager", + "path": "pages/goods-manager/updateSkus/updateSkus", "style": { - "navigationBarTitleText": "瀹㈡埛绠$悊", + "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", @@ -266,17 +306,15 @@ "u-popup": "view", "u-search": "view", "u-loading": "view", - "u-checkbox": "view", - "u-checkbox-group": "view", - "u-navbar": "view" + "u-navbar": "view", + "u-loadmore": "view" } } }, { - "path": "pages/userPermissions/addStoreMember", + "path": "pages/news/detail", "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom", // 闅愯棌椤堕儴瀵艰埅鏍� + "navigationBarTitleText": "鏂伴椈璇︽儏", "componentPlaceholder": { "u-icon": "view", "u-button": "view", @@ -286,28 +324,78 @@ "u-popup": "view", "u-search": "view", "u-loading": "view", - "u-checkbox": "view", - "u-checkbox-group": "view", - "u-navbar": "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": "uview-components", // 蹇呴』涓巔reloadRule涓殑鍚嶇О瀹屽叏涓�鑷� - "name": "uview-components", - "pages": [{ - "path": "pages/empty-page/empty-page", - "style": { - "navigationBarTitleText": "", - "disableScroll": true - } - }] - }, + "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": { @@ -316,7 +404,8 @@ "u-icon": "view" } } - }, { + }, + { "path": "myTracks", "style": { "navigationBarTitleText": "鎴戠殑瓒宠抗", @@ -331,11 +420,13 @@ "u-checkbox": "view" } } - }, { + }, + { "path": "myCollect", "style": { "navigationBarTitleText": "鏀惰棌", - "enablePullDownRefresh": true, //涓嬫媺鍒锋柊 + "enablePullDownRefresh": true, + //涓嬫媺鍒锋柊 "navigationStyle": "custom", "app-plus": { "scrollIndicator": "none" @@ -437,43 +528,42 @@ "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": "address/address", "style": { "enablePullDownRefresh": true, - "navigationBarTitleText": "鍦板潃绠$悊" + "navigationBarTitleText": "鍦板潃绠$悊", + "componentPlaceholder": { + "u-empty": "view", + "u-icon": "view", + "u-action-sheet": "view" + } } }, { @@ -515,7 +605,6 @@ "navigationBarTitleText": "鍔熻兘浠嬬粛" } }, - { "path": "set/securityCenter/fingerLogin", "style": { @@ -528,44 +617,36 @@ "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": {} - } }, { "path": "im/index", "style": { - "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� + "navigationStyle": "custom", + // 闅愯棌绯荤粺瀵艰埅鏍� "enablePullDownRefresh": true, "app-plus": {} - } }, { @@ -584,7 +665,6 @@ "navigationBarTitleText": "瀹夊叏涓績" } }, - { "path": "set/editionIntro", "style": { @@ -614,12 +694,14 @@ "app-plus": { "titleNView": { "padding-right": "12", - "buttons": [{ - "text": "淇濆瓨", - "fontSize": "16", - "width": "auto", - "color": "#FFFFFF" - }] + "buttons": [ + { + "text": "淇濆瓨", + "fontSize": "16", + "width": "auto", + "color": "#FFFFFF" + } + ] } }, "componentPlaceholder": { @@ -631,7 +713,8 @@ "u-picker": "view" } } - }, { + }, + { "path": "help/tips", "style": { "navigationBarTitleText": "", @@ -639,7 +722,8 @@ "u-parse": "view" } } - }, { + }, + { "path": "point/myPoint", "style": { "navigationBarTitleText": "鎴戠殑绉垎", @@ -678,11 +762,13 @@ "style": { "navigationBarTitleText": "璁㈠崟璺熻釜" } - }, { + }, + { "path": "activity/detail", "style": { "navigationBarTitleText": "娲诲姩璇︽儏", - "enablePullDownRefresh": true, //涓嬫媺鍒锋柊 + "enablePullDownRefresh": true, + //涓嬫媺鍒锋柊 "componentPlaceholder": { "u-form": "view", "u-form-item": "view", @@ -696,11 +782,13 @@ "u-image": "view" } } - }, { + }, + { "path": "activity/myActivity", "style": { "navigationBarTitleText": "鎴戠殑娲诲姩", - "enablePullDownRefresh": true, //涓嬫媺鍒锋柊 + "enablePullDownRefresh": true, + //涓嬫媺鍒锋柊 "componentPlaceholder": { "u-form": "view", "u-form-item": "view", @@ -714,11 +802,15 @@ "u-image": "view" } } - }, { + }, + { "path": "activity/reportActivity", "style": { "navigationBarTitleText": "娲诲姩", - "enablePullDownRefresh": true, //涓嬫媺鍒锋柊 + "enablePullDownRefresh": true, + //涓嬫媺鍒锋柊 + "navigationStyle": "custom", + // 闅愯棌椤堕儴瀵艰埅鏍� "componentPlaceholder": { "u-form": "view", "u-form-item": "view", @@ -733,11 +825,13 @@ "u-loadmore": "view" } } - }, { + }, + { "path": "myCollect/myCollect", "style": { "navigationBarTitleText": "鎴戠殑鏀惰棌", - "enablePullDownRefresh": true, //涓嬫媺鍒锋柊 + "enablePullDownRefresh": true, + //涓嬫媺鍒锋柊 "componentPlaceholder": { "u-icon": "view", "u-button": "view", @@ -750,37 +844,41 @@ "u-navbar": "view", "u-image": "view", "u-loadmore": "view" - } - + } + }, + { + "path": "myAttention", + "style": { + "navigationBarTitleText": "鍏虫敞鍒楄〃", + "enablePullDownRefresh": true } } - ] - }, - - { "root": "pages/product", - "pages": [{ + "pages": [ + { "path": "shopPage", "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom" + "navigationBarTitleText": "" } - }, { + }, + { "path": "shopList", "style": { "navigationBarTitleText": "", "navigationStyle": "custom" } - }, { + }, + { "path": "licencePhoto", "style": { "navigationBarTitleText": "钀ヤ笟鎵х収" } - }, { + }, + { "path": "shopPageGoods", "style": { "navigationBarTitleText": "", @@ -899,7 +997,8 @@ } } }, - { //鍟嗗搧璇勪环 + { + //鍟嗗搧璇勪环 "path": "comment", "navigationStyle": "custom", "style": { @@ -908,7 +1007,8 @@ "scrollIndicator": "none" } }, - { // 瀹㈡湇 + { + // 瀹㈡湇 "path": "customerservice/index", "style": { "navigationBarTitleText": "瀹㈡湇", @@ -919,51 +1019,64 @@ } } } - ] - }, { "root": "pages/floor", - "pages": [{ - "path": "empty" - }] - + "pages": [ + { + "path": "empty" + } + ] }, { "root": "pages/video", - "pages": [{ + "pages": [ + { "path": "home-page", "style": { "navigationBarTitleText": "TA鐨勪富椤�" } }, { - "path" : "video-play", - "style" : - { - "navigationBarTitleText" : "" + "path": "video-play", + "style": { + "navigationBarTitleText": "" } }, { - "path" : "home-page-edit", - "style" : - { - "navigationBarTitleText" : "涓婚〉淇℃伅淇敼" + "path": "home-page-edit", + "style": { + "navigationBarTitleText": "涓婚〉淇℃伅淇敼" } }, { - "path" : "video-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": "", @@ -980,7 +1093,6 @@ } } }, - { "path": "entry/seller/index", "style": { @@ -1068,16 +1180,16 @@ } } ] - }, - { "root": "pages/promotion", - "pages": [{ + "pages": [ + { "path": "seckill", "style": { "navigationBarTitleText": "闄愭椂鎶㈣喘", - "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� + "navigationStyle": "custom", + // 闅愯棌绯荤粺瀵艰埅鏍� "navigationBarTextStyle": "black", "app-plus": { "titleNView": { @@ -1086,40 +1198,41 @@ } } }, - { "path": "joinGroup", "style": { "navigationBarTitleText": "鎷煎洟娲诲姩", - "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� + "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": "鐮嶄环璁板綍", @@ -1128,28 +1241,26 @@ "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": "鎴戠殑浼樻儬鍒�", @@ -1174,7 +1285,6 @@ "navigationBarTitleText": "浼樻儬鍒�" } }, - { "path": "coupon/couponCenter", "style": { @@ -1190,8 +1300,8 @@ "style": { "navigationBarTitleText": "鏀粯璁㈠崟", "app-plus": { - "popGesture": "none" //绂佹渚ф粦閫�鍑� - + "popGesture": "none" + //绂佹渚ф粦閫�鍑� } } }, @@ -1199,10 +1309,12 @@ "path": "payment/success", "style": { "navigationBarTitleText": "鏀粯鎴愬姛", - "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� + "navigationStyle": "custom", + // 闅愯棌绯荤粺瀵艰埅鏍� "navigationBarTextStyle": "white", "app-plus": { - "popGesture": "none", //绂佹渚ф粦閫�鍑� + "popGesture": "none", + //绂佹渚ф粦閫�鍑� "titleNView": false } } @@ -1211,18 +1323,15 @@ "path": "payment/shareOrderGoods", "style": { "navigationBarTitleText": "", - "app-plus": { - - } + "app-plus": {} } } - ] - }, { "root": "pages/order", - "pages": [{ + "pages": [ + { "path": "complain/complain", "style": { "navigationBarTitleText": "璁㈠崟鍟嗗搧鎶曡瘔" @@ -1232,6 +1341,17 @@ "path": "complain/complainInfo", "style": { "navigationBarTitleText": "鎶曡瘔璇︽儏" + } + }, + { + "path": "invoice/setInvoice", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", + "componentPlaceholder": { + "u-popup": "view", + "u-input": "view" + } } }, { @@ -1292,7 +1412,6 @@ "navigationBarTitleText": "璇勪环璇︽儏" } }, - { "path": "evaluate/releaseEvaluate", "style": { @@ -1312,7 +1431,6 @@ } } }, - { "path": "afterSales/applyProgress", "style": { @@ -1333,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)" + } + ] } } } @@ -1377,7 +1497,156 @@ { "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" + } } } ] @@ -1393,51 +1662,53 @@ "app-plus": { // 鍏ㄥ眬鍏抽棴鍥炲脊鍔熻兘 "bounce": "none" - } }, - "tabBar": { - "custom": true, - "color": "#666", - "selectedColor": "#ff573e", - "borderStyle": "black", - "backgroundColor": "#ffffff", - "list": [{ - "pagePath": "pages/tabbar/index/home1", - "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": "", //妯″紡鍚嶇О -- Gitblit v1.8.0