From 5ef23f712359ef7b86cd577c92df2b176965366a Mon Sep 17 00:00:00 2001 From: peng <peng.com> Date: 星期一, 21 七月 2025 09:02:50 +0800 Subject: [PATCH] 解决主包过大问题 --- pages.json | 163 +++++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 148 insertions(+), 15 deletions(-) diff --git a/pages.json b/pages.json index 37ca262..06eec49 100644 --- a/pages.json +++ b/pages.json @@ -2,7 +2,8 @@ "easycom": { "autoscan": true, "custom": { - "^u-(.*)": "@/components/uview-components/uview-ui/components/u-$1/u-$1.vue" + "^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缁勪欢 } @@ -528,13 +529,15 @@ { "path": "deposit/index", "style": { - "navigationStyle": "custom" + // "navigationStyle": "custom" + "navigationBarTitleText": "棰勫瓨娆惧垪琛�" } }, { "path": "deposit/operation", "style": { - "navigationStyle": "custom" + "navigationBarTitleText": "浣欓" + // "navigationStyle": "custom" } }, { @@ -647,7 +650,12 @@ "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� "enablePullDownRefresh": true, - "app-plus": {} + "app-plus": {}, + "componentPlaceholder": { + "u-navbar": "view", + "u-image": "view", + "u-avatar": "view" + } } }, { @@ -761,7 +769,13 @@ { "path": "msgTips/packageMsg/logisticsDetail", "style": { - "navigationBarTitleText": "璁㈠崟璺熻釜" + "navigationBarTitleText": "璁㈠崟璺熻釜", + "componentPlaceholder": { + "u-time-line": "view", + "u-time-line-item": "view", + "u-icon": "view", + "u-empty": "view" + } } }, { @@ -811,8 +825,8 @@ "enablePullDownRefresh": true, //涓嬫媺鍒锋柊 "componentPlaceholder": { - "u-form": "view", - "u-form-item": "view", + "u-empty": "view", + "u-loadmore": "view", "u-input": "view", "u-icon": "view", "u-action-sheet": "view", @@ -887,6 +901,79 @@ "navigationBarTitleText": "" } }, + { + "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": "shopList", "style": { @@ -904,7 +991,20 @@ "path": "shopPageGoods", "style": { "navigationBarTitleText": "", - "navigationStyle": "custom" + "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" + } } }, { @@ -1328,7 +1428,12 @@ "app-plus": { "popGesture": "none" //绂佹渚ф粦閫�鍑� - } + }, + "componentPlaceholder": { + "u-count-down": "view", + "u-row": "view", + "u-icon": "view" + } } }, { @@ -1424,7 +1529,18 @@ { "path": "orderDetail", "style": { - "navigationBarTitleText": "璁㈠崟璇︽儏" + "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" + } } }, { @@ -1436,13 +1552,24 @@ { "path": "evaluate/evaluateDetail", "style": { - "navigationBarTitleText": "璇勪环璇︽儏" + "navigationBarTitleText": "璇勪环璇︽儏", + "componentPlaceholder": { + "u-image": "view" + } } }, { "path": "evaluate/releaseEvaluate", "style": { - "navigationBarTitleText": "鍙戝竷璇勪环" + "navigationBarTitleText": "鍙戝竷璇勪环", + "componentPlaceholder": { + "u-icon": "view", + "u-image": "view", + "u-input": "view", + "u-upload": "view", + "u-rate": "view", + "u-toast": "view" + } } }, { @@ -1497,7 +1624,11 @@ { "path": "afterSales/afterSalesSelect", "style": { - "navigationBarTitleText": "鐢宠鍞悗" + "navigationBarTitleText": "鐢宠鍞悗", + "componentPlaceholder": { + "u-image": "view", + "u-icon": "view" + } } }, { @@ -1709,7 +1840,9 @@ "u-search": "view", "u-loading": "view", "u-navbar": "view", - "u-loadmore": "view" + "u-loadmore": "view", + "u-empty": "view" + } } }, @@ -1723,7 +1856,7 @@ "u-form": "view", "u-form-item": "view", "u-input": "view", - "u-popup": "view", + "u-toast": "view", "u-search": "view", "u-loading": "view", "u-navbar": "view", -- Gitblit v1.8.0