From 6a0a2c52a4ea8049909b8d7a40d0c2d098b5e74c Mon Sep 17 00:00:00 2001
From: Jacob <hlnie@tohours.com>
Date: 星期五, 23 十月 2026 13:19:18 +0800
Subject: [PATCH] fix:解决专区图片拉伸问题
---
pages.json | 357 +++++++++++++++++++++++++++++++++++++---------------------
1 files changed, 227 insertions(+), 130 deletions(-)
diff --git a/pages.json b/pages.json
index 74046e7..15aa6b0 100644
--- a/pages.json
+++ b/pages.json
@@ -11,21 +11,6 @@
}
},
{
- "path": "pages/order_addcart/order_addcart",
- "style": {
- "navigationBarTitleText": "璐墿杞�",
- "navigationBarBackgroundColor": "#FFE20E",
- "navigationStyle": "custom",
- "app-plus": {
- // #ifdef APP-PLUS
- "titleNView": {
- "type": "default"
- }
- // #endif
- }
- }
- },
- {
"path": "pages/user/index",
"style": {
"navigationBarTitleText": "鎴戠殑",
@@ -41,12 +26,6 @@
}
// #endif
}
- }
- },
- {
- "path": "pages/goods_details/index",
- "style": {
- "navigationStyle": "custom"
}
},
{
@@ -79,120 +58,11 @@
},
// #endif
{
- "path": "pages/zone/index",
- "style": {
- "navigationBarTitleText": "娲诲姩涓撳尯",
- // "navigationBarBackgroundColor": "#f5f5f5",
- "navigationStyle": "custom",
- "app-plus": {
- // #ifdef APP-PLUS
- "titleNView": {
- "type": "default"
- }
- // #endif
- }
- }
- },
- {
- "path": "pages/goods_list/index",
- "style": {
- "navigationBarTitleText": "鍟嗗搧鍒楄〃",
- "navigationBarBackgroundColor": "#FFE20E",
- "app-plus": {
- // #ifdef APP-PLUS
- "titleNView": {
- "type": "default"
- }
- // #endif
- }
- }
- },
- {
- "path": "pages/news_list/index",
- "style": {
- //"navigationBarTitleText": "璧勮",
- "navigationBarBackgroundColor": "#FFE20E",
- "app-plus": {
- // #ifdef APP-PLUS
- "titleNView": {
- "type": "default"
- }
- // #endif
- }
- }
- },
- {
- "path": "pages/news_details/index",
- "style": {
- //"navigationBarTitleText": "璧勮璇︽儏",
- "navigationBarBackgroundColor": "#FFE20E",
- "app-plus": {
- // #ifdef APP-PLUS
- "titleNView": {
- "type": "default"
- }
- // #endif
- }
- }
- },
- {
- "path": "pages/goods_search/index",
- "style": {
- //"navigationBarTitleText": "鎼滅储鍟嗗搧",
- "navigationBarBackgroundColor": "#FFE20E",
- "app-plus": {
- // #ifdef APP-PLUS
- "titleNView": {
- "type": "default"
- }
- // #endif
- }
- }
- },
- {
- "path": "pages/order_pay_status/index",
- "style": {
- "navigationBarTitleText": "鏀粯鎴愬姛",
- "navigationBarBackgroundColor": "#FFE20E"
- }
- },
- {
- "path": "pages/order_details/index",
- "style": {
- //"navigationBarTitleText": "璁㈠崟璇︽儏",
- "navigationBarBackgroundColor": "#FFE20E",
- "navigationStyle": "custom",
- "app-plus": {
- // #ifdef APP-PLUS
- "titleNView": {
- "type": "default"
- }
- // #endif
- }
- }
- },
- {
"path": "pages/index/components/a_seckill",
"style": {}
},
{
"path": "pages/index/components/b_combination",
- "style": {}
- },
- {
- "path": "pages/lottery/index",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/lottery/components/popGetPrize",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/consumption/index",
"style": {}
}
],
@@ -698,8 +568,235 @@
}
}
]
+ },
+ /* 浠ヤ笅鍒嗗寘 root 涓庨〉闈㈠師鐩綍涓�鑷达紝椤甸潰璁块棶璺緞淇濇寔涓嶅彉锛堟棤闇�鏀逛换浣曡烦杞唬鐮侊級 */
+ {
+ "root": "pages/order_addcart",
+ "name": "orderAddcart",
+ "pages": [
+ {
+ "path": "order_addcart",
+ "style": {
+ "navigationBarTitleText": "璐墿杞�",
+ "navigationBarBackgroundColor": "#FFE20E",
+ "navigationStyle": "custom",
+ "app-plus": {
+ // #ifdef APP-PLUS
+ "titleNView": {
+ "type": "default"
+ }
+ // #endif
+ }
+ }
+ }
+ ]
+ },
+ {
+ "root": "pages/goods_details",
+ "name": "goodsDetails",
+ "pages": [
+ {
+ "path": "index",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ }
+ ]
+ },
+ {
+ "root": "pages/zone",
+ "name": "zone",
+ "pages": [
+ {
+ "path": "index",
+ "style": {
+ "navigationBarTitleText": "娲诲姩涓撳尯",
+ // "navigationBarBackgroundColor": "#f5f5f5",
+ "navigationStyle": "custom",
+ "app-plus": {
+ // #ifdef APP-PLUS
+ "titleNView": {
+ "type": "default"
+ }
+ // #endif
+ }
+ }
+ }
+ ]
+ },
+ {
+ "root": "pages/goods_list",
+ "name": "goodsList",
+ "pages": [
+ {
+ "path": "index",
+ "style": {
+ "navigationBarTitleText": "鍟嗗搧鍒楄〃",
+ "navigationBarBackgroundColor": "#FFE20E",
+ "app-plus": {
+ // #ifdef APP-PLUS
+ "titleNView": {
+ "type": "default"
+ }
+ // #endif
+ }
+ }
+ }
+ ]
+ },
+ {
+ "root": "pages/news_list",
+ "name": "newsList",
+ "pages": [
+ {
+ "path": "index",
+ "style": {
+ //"navigationBarTitleText": "璧勮",
+ "navigationBarBackgroundColor": "#FFE20E",
+ "app-plus": {
+ // #ifdef APP-PLUS
+ "titleNView": {
+ "type": "default"
+ }
+ // #endif
+ }
+ }
+ }
+ ]
+ },
+ {
+ "root": "pages/news_details",
+ "name": "newsDetails",
+ "pages": [
+ {
+ "path": "index",
+ "style": {
+ //"navigationBarTitleText": "璧勮璇︽儏",
+ "navigationBarBackgroundColor": "#FFE20E",
+ "app-plus": {
+ // #ifdef APP-PLUS
+ "titleNView": {
+ "type": "default"
+ }
+ // #endif
+ }
+ }
+ }
+ ]
+ },
+ {
+ "root": "pages/goods_search",
+ "name": "goodsSearch",
+ "pages": [
+ {
+ "path": "index",
+ "style": {
+ //"navigationBarTitleText": "鎼滅储鍟嗗搧",
+ "navigationBarBackgroundColor": "#FFE20E",
+ "app-plus": {
+ // #ifdef APP-PLUS
+ "titleNView": {
+ "type": "default"
+ }
+ // #endif
+ }
+ }
+ }
+ ]
+ },
+ {
+ "root": "pages/order_pay_status",
+ "name": "orderPayStatus",
+ "pages": [
+ {
+ "path": "index",
+ "style": {
+ "navigationBarTitleText": "鏀粯鎴愬姛",
+ "navigationBarBackgroundColor": "#FFE20E"
+ }
+ }
+ ]
+ },
+ {
+ "root": "pages/order_details",
+ "name": "orderDetails",
+ "pages": [
+ {
+ "path": "index",
+ "style": {
+ //"navigationBarTitleText": "璁㈠崟璇︽儏",
+ "navigationBarBackgroundColor": "#FFE20E",
+ "navigationStyle": "custom",
+ "app-plus": {
+ // #ifdef APP-PLUS
+ "titleNView": {
+ "type": "default"
+ }
+ // #endif
+ }
+ }
+ }
+ ]
+ },
+ {
+ "root": "pages/lottery",
+ "name": "lottery",
+ "pages": [
+ {
+ "path": "index",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "components/popGetPrize",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ }
+ ]
+ },
+ {
+ "root": "pages/consumption",
+ "name": "consumption",
+ "pages": [
+ {
+ "path": "index",
+ "style": {}
+ }
+ ]
}
],
+ "preloadRule": {
+ "pages/index/index": {
+ "network": "all",
+ "packages": ["pages/goods_details", "pages/order_addcart", "pages/zone"]
+ },
+ "pages/goods_cate/goods_cate": {
+ "network": "all",
+ "packages": ["pages/goods_details", "pages/goods_list", "pages/goods_search"]
+ },
+ "pages/user/index": {
+ "network": "all",
+ "packages": ["pages/order_details", "pages/news_list"]
+ },
+ "pages/goods_list/index": {
+ "network": "all",
+ "packages": ["pages/goods_details"]
+ },
+ "pages/goods_search/index": {
+ "network": "all",
+ "packages": ["pages/goods_details"]
+ },
+ "pages/zone/index": {
+ "network": "all",
+ "packages": ["pages/consumption"]
+ },
+ "pages/news_list/index": {
+ "network": "all",
+ "packages": ["pages/news_details"]
+ }
+ },
"globalStyle": {
"navigationBarTextStyle": "black",
//"navigationBarTitleText": "crmeb",
--
Gitblit v1.4.0