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 | 235 +++++++++++++++++++++++++++++++++------------------------- 1 files changed, 132 insertions(+), 103 deletions(-) diff --git a/pages.json b/pages.json index 9bfa037..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缁勪欢 @@ -30,11 +30,10 @@ } }, { - "path" : "pages/ActivityPopup/ActivityPopup", - "style" : - { - "navigationBarTitleText" : "" - } + "path": "pages/ActivityPopup/ActivityPopup", + "style": { + "navigationBarTitleText": "" + } } // { // "path": "pages/tabbar/home/index", @@ -84,7 +83,6 @@ // { // // "path": "pages/tabbar/category/category", // "path": "pages/commodity-square/commoditySquare", - // "style": { // "navigationBarTitleText": "鍟嗗搧骞垮満", // "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� @@ -619,13 +617,13 @@ "style": { "navigationBarTitleText": "缁戝畾鎵嬫満鍙�", "app-plus": {}, - "componentPlaceholder": { - "u-form": "view", - "u-form-item": "view", - "u-input": "view", - "u-verification-code": "view", - "u-icon": "view" - } + "componentPlaceholder": { + "u-form": "view", + "u-form-item": "view", + "u-input": "view", + "u-verification-code": "view", + "u-icon": "view" + } } }, { @@ -713,7 +711,7 @@ "u-radio-group": "view", "u-radio": "view", "u-picker": "view", - "u-icon":"view" + "u-icon": "view" } } }, @@ -852,7 +850,7 @@ "u-button": "view", "u-image": "view", "u-loadmore": "view", - "u-empty":"view" + "u-empty": "view" } } }, @@ -894,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" + } } }, { @@ -1004,9 +1000,9 @@ "path": "licencePhoto", "style": { "navigationBarTitleText": "钀ヤ笟鎵х収", - "componentPlaceholder": { - "u-image": "view" - } + "componentPlaceholder": { + "u-image": "view" + } } }, { @@ -1153,8 +1149,7 @@ "componentPlaceholder": { "u-empty": "view", "u-loadmore": "view", - "u-image": "view", - "u-empty": "view" + "u-image": "view" } } }, @@ -1212,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": "鍟嗗搧鐩稿叧瑙嗛" } }, { @@ -1434,10 +1465,10 @@ "path": "coupon/index", "style": { "navigationBarTitleText": "浼樻儬鍒�", - "componentPlaceholder": { - "u-tabs": "view", - "u-empty": "view" - } + "componentPlaceholder": { + "u-tabs": "view", + "u-empty": "view" + } } }, { @@ -1617,31 +1648,31 @@ "path": "afterSales/applyProgress", "style": { "navigationBarTitleText": "鍞悗鏈嶅姟", - "componentPlaceholder": { - "u-time-line": "view", - "u-time-line-item": "view", - "u-empty": "view" - } + "componentPlaceholder": { + "u-time-line": "view", + "u-time-line-item": "view", + "u-empty": "view" + } } }, { "path": "afterSales/applyDetail", "style": { "navigationBarTitleText": "鍞悗鏈嶅姟", - "componentPlaceholder": { - "u-icon": "view", - "u-image": "view" - } + "componentPlaceholder": { + "u-icon": "view", + "u-image": "view" + } } }, { "path": "afterSales/applySuccess", "style": { "navigationBarTitleText": "鎻愪氦鎴愬姛", - "componentPlaceholder": { - "u-icon": "view", - "u-button": "view" - }, + "componentPlaceholder": { + "u-icon": "view", + "u-button": "view" + }, "app-plus": { "bounce": "none", "titleNView": { @@ -1676,17 +1707,17 @@ "path": "afterSales/afterSalesDetail", "style": { "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" - } + "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" + } } }, { @@ -1805,28 +1836,27 @@ "style": { "navigationBarTitleText": "渚涘簲鍟嗙", // "navigationStyle": "custom" - "componentPlaceholder":{ - "u-empty":"view", - "u-image":"view" - } + "componentPlaceholder": { + "u-empty": "view", + "u-image": "view" + } } }, { "path": "order-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-upload": "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-upload": "view" + } // "navigationStyle": "custom" - } } ] @@ -2000,23 +2030,22 @@ "u-navbar": "view", "u-search": "view", "u-image": "view", - "u-icon": "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" - } - } + "path": "coups-goods-list", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "浼樻儬鍗峰晢鍝侀〉闈�", + "componentPlaceholder": { + "u-navbar": "view", + "u-search": "view", + "u-image": "view", + "u-icon": "view" + } + } } ] }, @@ -2163,4 +2192,4 @@ // "query": "" //鍚姩鍙傛暟锛屽湪椤甸潰鐨刼nLoad鍑芥暟閲岄潰寰楀埌 // }] } -} \ No newline at end of file +} -- Gitblit v1.8.0