From f562cf22e554e7e89017ef98d60ccaf5fbfc0208 Mon Sep 17 00:00:00 2001 From: peng <peng.com> Date: 星期二, 05 八月 2025 09:27:28 +0800 Subject: [PATCH] 修改首页不兼容问题 --- pages.json | 492 ++++++++++++++++++++++++++++++++---------------------- 1 files changed, 294 insertions(+), 198 deletions(-) diff --git a/pages.json b/pages.json index 06eec49..9d92817 100644 --- a/pages.json +++ b/pages.json @@ -2,8 +2,8 @@ "easycom": { "autoscan": true, "custom": { - "^u-(.*)": "@/pages/subComponents/uview-components/uview-ui/components/u-$1/u-$1.vue", - "__placeholder__": true + "^u-(.*)": "@/pages/subComponents/uview-components/uview-ui/components/u-$1/u-$1.vue", + "__placeholder__": true //uview, // "^uni-(.*)": "@/uni_modules/uni-$1/components/uni-$1/uni-$1.vue" // uniapp缁勪欢 } @@ -146,18 +146,18 @@ // } // } // } - // , - // { - // "path": "components/m-buy/goods", - // "style": { - // "navigationBarTitleText": "", - // "componentPlaceholder": { - // "u-popup": "view", - // "u-image": "view", - // "u-alert-tips": "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": { @@ -530,13 +530,13 @@ "path": "deposit/index", "style": { // "navigationStyle": "custom" - "navigationBarTitleText": "棰勫瓨娆惧垪琛�" + "navigationBarTitleText": "棰勫瓨娆惧垪琛�" } }, { "path": "deposit/operation", "style": { - "navigationBarTitleText": "浣欓" + "navigationBarTitleText": "浣欓" // "navigationStyle": "custom" } }, @@ -632,7 +632,14 @@ "path": "set/securityCenter/bindMobile", "style": { "navigationBarTitleText": "缁戝畾鎵嬫満鍙�", - "app-plus": {} + "app-plus": {}, + "componentPlaceholder": { + "u-form": "view", + "u-form-item": "view", + "u-input": "view", + "u-verification-code": "view", + "u-icon": "view" + } } }, { @@ -651,11 +658,11 @@ // 闅愯棌绯荤粺瀵艰埅鏍� "enablePullDownRefresh": true, "app-plus": {}, - "componentPlaceholder": { - "u-navbar": "view", - "u-image": "view", - "u-avatar": "view" - } + "componentPlaceholder": { + "u-navbar": "view", + "u-image": "view", + "u-avatar": "view" + } } }, { @@ -719,7 +726,8 @@ "u-input": "view", "u-radio-group": "view", "u-radio": "view", - "u-picker": "view" + "u-picker": "view", + "u-icon":"view" } } }, @@ -770,12 +778,12 @@ "path": "msgTips/packageMsg/logisticsDetail", "style": { "navigationBarTitleText": "璁㈠崟璺熻釜", - "componentPlaceholder": { - "u-time-line": "view", - "u-time-line-item": "view", - "u-icon": "view", - "u-empty": "view" - } + "componentPlaceholder": { + "u-time-line": "view", + "u-time-line-item": "view", + "u-icon": "view", + "u-empty": "view" + } } }, { @@ -857,7 +865,8 @@ "u-navbar": "view", "u-button": "view", "u-image": "view", - "u-loadmore": "view" + "u-loadmore": "view", + "u-empty":"view" } } }, @@ -893,87 +902,111 @@ }, { "root": "pages/product", - // 鍏抽敭閰嶇疆 + // 鍏抽敭閰嶇疆 "pages": [ { "path": "shopPage", "style": { - "navigationBarTitleText": "" + "navigationBarTitleText": "", + "componentPlaceholder": { + "u-image": "view", + "u-navbar": "view", + "u-no-network": "view", + "u-icon": "view", + "tpl_banner": "view", + "tpl_title": "view", + "tpl_left_one_right_two":"view", + "tpl_left_two_right_one":"view", + "tpl_top_one_bottom_two":"view", + "tpl_top_two_bottom_one":"view", + "tpl_flex_three":"view", + "tpl_flex_five":"view", + "tpl_flex_four":"view", + "tpl_flex_two":"view", + "tpl_text_picture":"view", + "tpl_menu":"view", + "tpl_search":"view", + "tpl_flex_one":"view", + "tpl_goods":"view", + "tpl_group":"view" + + + } } }, - { - "path": "m-share/index", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom", - "componentPlaceholder": { - "u-popup": "view", - "u-icon": "view" - } - } - }, - { - "path": "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": "m-buy/goods", - "style": { - "navigationBarTitleText": "", - "componentPlaceholder": { - "u-popup": "view", - "u-image": "view", - "u-alert-tips": "view" - } - } - }, - { - "path": "m-take-down-sale-goods/index", - "style": { - "navigationBarTitleText": "", - "componentPlaceholder": { - "u-popup": "view" - } - } - }, - // { - // "path": "popups/popups", - // "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-image": "view", - // "u-loadmore": "view" - // } - // } - // }, + { + "path": "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": "m-share/index", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", + "componentPlaceholder": { + "u-popup": "view", + "u-icon": "view" + } + } + }, + { + "path": "m-buy/goods", + "style": { + "navigationBarTitleText": "", + "componentPlaceholder": { + "u-popup": "view", + "u-image": "view", + "u-alert-tips": "view" + } + } + }, + { + "path": "m-take-down-sale-goods/index", + "style": { + "navigationBarTitleText": "", + "componentPlaceholder": { + "u-popup": "view" + } + } + }, + // { + // "path": "popups/popups", + // "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-image": "view", + // "u-loadmore": "view" + // } + // } + // }, { "path": "shopList", "style": { @@ -984,7 +1017,10 @@ { "path": "licencePhoto", "style": { - "navigationBarTitleText": "钀ヤ笟鎵х収" + "navigationBarTitleText": "钀ヤ笟鎵х収", + "componentPlaceholder": { + "u-image": "view" + } } }, { @@ -992,19 +1028,19 @@ "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-navbar": "view", - "u-image": "view", - "u-loadmore": "view" - } + "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" + } } }, { @@ -1026,7 +1062,8 @@ "componentPlaceholder": { "u-icon": "view", "u-navbar": "view", - "u-popup": "view" + "u-popup": "view", + "popups": "view" } } }, @@ -1126,7 +1163,13 @@ "style": { "navigationBarTitleText": "鍟嗗搧璇勪环", //app椤甸潰涓嶆樉绀烘粴鍔ㄦ潯 - "scrollIndicator": "none" + "scrollIndicator": "none", + "componentPlaceholder": { + "u-empty": "view", + "u-loadmore": "view", + "u-image": "view", + "u-empty": "view" + } } }, { @@ -1145,7 +1188,6 @@ }, { "root": "pages/floor", - "pages": [ { "path": "empty" @@ -1198,7 +1240,6 @@ }, { "root": "pages/passport", - "pages": [ { "path": "login", @@ -1307,7 +1348,6 @@ }, { "root": "pages/promotion", - "pages": [ { "path": "seckill", @@ -1384,7 +1424,6 @@ }, { "root": "pages/cart", - "pages": [ { "path": "coupon/myCoupon", @@ -1408,7 +1447,11 @@ { "path": "coupon/index", "style": { - "navigationBarTitleText": "浼樻儬鍒�" + "navigationBarTitleText": "浼樻儬鍒�", + "componentPlaceholder": { + "u-tabs": "view", + "u-empty": "view" + } } }, { @@ -1429,11 +1472,11 @@ "popGesture": "none" //绂佹渚ф粦閫�鍑� }, - "componentPlaceholder": { - "u-count-down": "view", - "u-row": "view", - "u-icon": "view" - } + "componentPlaceholder": { + "u-count-down": "view", + "u-row": "view", + "u-icon": "view" + } } }, { @@ -1461,7 +1504,6 @@ }, { "root": "pages/order", - "pages": [ { "path": "complain/complain", @@ -1530,17 +1572,17 @@ "path": "orderDetail", "style": { "navigationBarTitleText": "璁㈠崟璇︽儏", - "componentPlaceholder": { - "u-icon": "view", - "u-image": "view", - "u-tag": "view", - "u-button": "view", - "u-popup": "view", - "u-radio-group": "view", - "u-radio": "view", - "u-toast": "view", - "u-modal": "view" - } + "componentPlaceholder": { + "u-icon": "view", + "u-image": "view", + "u-tag": "view", + "u-button": "view", + "u-popup": "view", + "u-radio-group": "view", + "u-radio": "view", + "u-toast": "view", + "u-modal": "view" + } } }, { @@ -1553,23 +1595,23 @@ "path": "evaluate/evaluateDetail", "style": { "navigationBarTitleText": "璇勪环璇︽儏", - "componentPlaceholder": { - "u-image": "view" - } + "componentPlaceholder": { + "u-image": "view" + } } }, { "path": "evaluate/releaseEvaluate", "style": { "navigationBarTitleText": "鍙戝竷璇勪环", - "componentPlaceholder": { - "u-icon": "view", - "u-image": "view", - "u-input": "view", - "u-upload": "view", - "u-rate": "view", - "u-toast": "view" - } + "componentPlaceholder": { + "u-icon": "view", + "u-image": "view", + "u-input": "view", + "u-upload": "view", + "u-rate": "view", + "u-toast": "view" + } } }, { @@ -1588,19 +1630,32 @@ { "path": "afterSales/applyProgress", "style": { - "navigationBarTitleText": "鍞悗鏈嶅姟" + "navigationBarTitleText": "鍞悗鏈嶅姟", + "componentPlaceholder": { + "u-time-line": "view", + "u-time-line-item": "view", + "u-empty": "view" + } } }, { "path": "afterSales/applyDetail", "style": { - "navigationBarTitleText": "鍞悗鏈嶅姟" + "navigationBarTitleText": "鍞悗鏈嶅姟", + "componentPlaceholder": { + "u-icon": "view", + "u-image": "view" + } } }, { "path": "afterSales/applySuccess", "style": { "navigationBarTitleText": "鎻愪氦鎴愬姛", + "componentPlaceholder": { + "u-icon": "view", + "u-button": "view" + }, "app-plus": { "bounce": "none", "titleNView": { @@ -1625,16 +1680,27 @@ "path": "afterSales/afterSalesSelect", "style": { "navigationBarTitleText": "鐢宠鍞悗", - "componentPlaceholder": { - "u-image": "view", - "u-icon": "view" - } + "componentPlaceholder": { + "u-image": "view", + "u-icon": "view" + } } }, { "path": "afterSales/afterSalesDetail", "style": { - "navigationBarTitleText": "鐢宠鍞悗" + "navigationBarTitleText": "鐢宠鍞悗", + "componentPlaceholder": { + "u-form": "view", + "u-image": "view", + "u-number-box": "view", + "u-form-item": "view", + "u-input": "view", + "u-upload": "view", + "u-button": "view", + "u-select": "view", + "u-toast": "view" + } } }, { @@ -1671,7 +1737,6 @@ }, { "root": "pages/health", - "pages": [ { "path": "healthVideo", @@ -1684,7 +1749,6 @@ }, { "root": "pages/tabbar/home", - "pages": [ { "path": "web-view", @@ -1694,7 +1758,6 @@ }, { "root": "pages/kitchen", - "pages": [ { "path": "KitchenVideo", @@ -1706,20 +1769,32 @@ } ] }, - { - "root": "pages/subComponents", - "pages": [{ - "path" : "empty/empty", - "style" : - { - "navigationBarTitleText" : "鍒嗗寘鍗犱綅" - } - } - ] - }, + { + "root": "pages/subComponents", + "pages": [ + { + "path": "empty/empty", + "style": { + "navigationBarTitleText": "鍒嗗寘鍗犱綅" + } + }, + { + "path": "popups/popups", + "style": { + "componentPlaceholder": { + "u-modal": "view", + "u-tabs": "view", + "u-image": "view", + "u-search": "view", + "u-icon": "view", + "u-loadmore": "view" + } + } + } + ] + }, { "root": "pages/tabbar/user", - "pages": [ { "path": "my", @@ -1738,27 +1813,40 @@ }, { "root": "pages/supplier/suppler-order", - "pages": [ { "path": "suppler-order", "style": { - "navigationBarTitleText": "渚涘簲鍟嗙" + "navigationBarTitleText": "渚涘簲鍟嗙", // "navigationStyle": "custom" + "componentPlaceholder":{ + "u-empty":"view", + "u-image":"view" + } } }, { "path": "order-detail", "style": { - "navigationBarTitleText": "璁㈠崟璇︽儏" + "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" + } // "navigationStyle": "custom" + } } ] }, { "root": "pages/supplier/publish-goods", - "pages": [ { "path": "publishGoods", @@ -1787,7 +1875,6 @@ }, { "root": "pages/goods-manager", - "pages": [ { "path": "goodsList/goodsList", @@ -1824,12 +1911,11 @@ }, { "root": "pages/news", - "pages": [ { "path": "news", "style": { - "navigationBarTitleText": "鏂伴椈", + "navigationBarTitleText": "蹇", "componentPlaceholder": { "u-icon": "view", "u-button": "view", @@ -1841,15 +1927,14 @@ "u-loading": "view", "u-navbar": "view", "u-loadmore": "view", - "u-empty": "view" - + "u-empty": "view" } } }, { "path": "detail", "style": { - "navigationBarTitleText": "鏂伴椈璇︽儏", + "navigationBarTitleText": "蹇璇︽儏", "componentPlaceholder": { "u-icon": "view", "u-button": "view", @@ -1868,7 +1953,6 @@ }, { "root": "pages/userPermissions", - "pages": [ { "path": "addStoreMember", @@ -1896,7 +1980,7 @@ { "path": "userPermissions", "style": { - "navigationBarTitleText": "鐢ㄦ埛鏉冮檺", + "navigationBarTitleText": "搴楀憳绠$悊", "componentPlaceholder": { "u-icon": "view", "u-button": "view", @@ -1915,7 +1999,6 @@ }, { "root": "pages/commodity-square", - "pages": [ { "path": "commoditySquare", @@ -1930,15 +2013,29 @@ "componentPlaceholder": { "u-navbar": "view", "u-search": "view", - "u-image": "view" + "u-image": "view", + "u-icon": "view" } } + }, + { + "path" : "coups-goods-list", + "style" : + { + "navigationStyle": "custom", + "navigationBarTitleText" : "浼樻儬鍗峰晢鍝侀〉闈�", + "componentPlaceholder": { + "u-navbar": "view", + "u-search": "view", + "u-image": "view", + "u-icon": "view" + } + } } ] }, { "root": "pages/navigation", - "pages": [ { "path": "search/searchPage", @@ -1967,14 +2064,13 @@ }, { "root": "pages/cusbar", - "pages": [ - { - "path": "special/special", - "style": { - "navigationBarTitleText": "涓撻" - } - }, + // { + // "path": "special/special", + // "style": { + // "navigationBarTitleText": "涓撻" + // } + // }, { "path": "cart/cartList", "style": { -- Gitblit v1.8.0