From b185d60269102c404509156f7cf6859b9b0e034c Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期一, 01 九月 2025 21:55:47 +0800 Subject: [PATCH] 添加左右滑动跳转相应页面功能 --- pages.json | 273 ++++++++++++++++++++++++++++++++++-------------------- 1 files changed, 173 insertions(+), 100 deletions(-) diff --git a/pages.json b/pages.json index 1211af5..db9aa12 100644 --- a/pages.json +++ b/pages.json @@ -2,7 +2,7 @@ "easycom": { "autoscan": true, "custom": { - "^u-(.*)": "@/pages/subComponents/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缁勪欢 @@ -27,6 +27,12 @@ "enablePullDownRefresh": false, "navigationStyle": "custom" // 闅愯棌椤堕儴瀵艰埅鏍� + } + }, + { + "path": "pages/ActivityPopup/ActivityPopup", + "style": { + "navigationBarTitleText": "" } } // { @@ -77,7 +83,6 @@ // { // // "path": "pages/tabbar/category/category", // "path": "pages/commodity-square/commoditySquare", - // "style": { // "navigationBarTitleText": "鍟嗗搧骞垮満", // "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� @@ -424,27 +429,6 @@ } }, // { - // "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": "鎺ㄥ箍鍒嗕剑", @@ -632,7 +616,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" + } } }, { @@ -720,7 +711,7 @@ "u-radio-group": "view", "u-radio": "view", "u-picker": "view", - "u-icon":"view" + "u-icon": "view" } } }, @@ -858,31 +849,32 @@ "u-navbar": "view", "u-button": "view", "u-image": "view", - "u-loadmore": "view" + "u-loadmore": "view", + "u-empty": "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": "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": { @@ -900,30 +892,28 @@ "path": "shopPage", "style": { "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" - - - } + "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" + } } }, { @@ -1010,9 +1000,9 @@ "path": "licencePhoto", "style": { "navigationBarTitleText": "钀ヤ笟鎵х収", - "componentPlaceholder": { - "u-image": "view" - } + "componentPlaceholder": { + "u-image": "view" + } } }, { @@ -1159,8 +1149,7 @@ "componentPlaceholder": { "u-empty": "view", "u-loadmore": "view", - "u-image": "view", - "u-empty": "view" + "u-image": "view" } } }, @@ -1218,8 +1207,44 @@ "style": { "navigationBarTitleText": "瑙嗛鎺ㄨ崘鍟嗗搧", "componentPlaceholder": { - "u-button": "view" + "u-button": "view", + "u-icon": "view", + "u-navbar": "view", + "u-popup": "view" } + } + }, + { + "path": "video-goods-detail-swiper", + "style": { + "navigationBarTitleText": "瑙嗛鎺ㄨ崘鍟嗗搧", + "componentPlaceholder": { + "u-button": "view", + "u-icon": "view", + "u-navbar": "view", + "u-popup": "view", + "popups": "view", + "shares": "view", + "promotion-layout": "view", + "promotion-details-layout": "view", + "promotion-assemble-layout": "view", + "promotion-assemble-list-layout": "view", + "promotion-coupon": "view", + "goods-intro": "view", + "goods-recommend": "view", + "store-layout": "view", + "evaluation": "view", + "goods-swiper": "view", + "popup-goods": "view", + "popup-address": "view", + "take-down-form-sale-goods": "view" + } + } + }, + { + "path": "video-similar", + "style": { + "navigationBarTitleText": "鍟嗗搧鐩稿叧瑙嗛" } }, { @@ -1253,7 +1278,7 @@ { "path": "entry/seller/index", "style": { - "navigationBarTitleText": "搴楅摵鍏ラ┗", + "navigationBarTitleText": "渚涘簲鍟嗗叆椹�", "navigationStyle": "custom", "componentPlaceholder": { "u-navbar": "view" @@ -1440,10 +1465,10 @@ "path": "coupon/index", "style": { "navigationBarTitleText": "浼樻儬鍒�", - "componentPlaceholder": { - "u-tabs": "view", - "u-empty": "view" - } + "componentPlaceholder": { + "u-tabs": "view", + "u-empty": "view" + } } }, { @@ -1622,19 +1647,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": { @@ -1668,7 +1706,18 @@ { "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" + } } }, { @@ -1787,16 +1836,26 @@ "style": { "navigationBarTitleText": "渚涘簲鍟嗙", // "navigationStyle": "custom" - "componentPlaceholder":{ - "u-empty":"view", - "u-image":"view" - } + "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" } } @@ -1872,7 +1931,7 @@ { "path": "news", "style": { - "navigationBarTitleText": "鏂伴椈", + "navigationBarTitleText": "蹇", "componentPlaceholder": { "u-icon": "view", "u-button": "view", @@ -1891,7 +1950,7 @@ { "path": "detail", "style": { - "navigationBarTitleText": "鏂伴椈璇︽儏", + "navigationBarTitleText": "蹇璇︽儏", "componentPlaceholder": { "u-icon": "view", "u-button": "view", @@ -1970,7 +2029,21 @@ "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" } } } @@ -2007,12 +2080,12 @@ { "root": "pages/cusbar", "pages": [ - { - "path": "special/special", - "style": { - "navigationBarTitleText": "涓撻" - } - }, + // { + // "path": "special/special", + // "style": { + // "navigationBarTitleText": "涓撻" + // } + // }, { "path": "cart/cartList", "style": { @@ -2119,4 +2192,4 @@ // "query": "" //鍚姩鍙傛暟锛屽湪椤甸潰鐨刼nLoad鍑芥暟閲岄潰寰楀埌 // }] } -} \ No newline at end of file +} -- Gitblit v1.8.0