From e6e969ad460293d3e14ca5ed89fd3b1df82e37c3 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期四, 15 一月 2026 10:45:54 +0800
Subject: [PATCH] 页面调整优化
---
pages.json | 277 ++++++++++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 240 insertions(+), 37 deletions(-)
diff --git a/pages.json b/pages.json
index db9aa12..4e60068 100644
--- a/pages.json
+++ b/pages.json
@@ -3,21 +3,20 @@
"autoscan": true,
"custom": {
"^u-(.*)": "@/pages/subComponents/uview-components/uview-ui/components/u-$1/u-$1.vue",
+ "^l-(.*)": "@/pages/prize/lime-dialer_0.2.7/components/l-$1/l-$1.vue",
"__placeholder__": true
//uview,
// "^uni-(.*)": "@/uni_modules/uni-$1/components/uni-$1/uni-$1.vue" // uniapp缁勪欢
}
},
- // "preloadRule": {
- // "pages/tabbar/index/home": // 椤甸潰璺緞
- // // 椤甸潰鐨勯涓嬭浇閰嶇疆
- // {
- // "network": "all", // all(涓嶉檺缃戠粶) wifi(浠厀ifi涓嬮涓嬭浇)
- // "packages": [
- // "components/uview-components"
- // ] // 棰勪笅杞藉垎鍖呯殑 root 鎴� name銆俖_APP__ 琛ㄧず涓诲寘
- // }
- // },
+ "preloadRule": {
+ "pages/prize/PrizeDetail/PrizeDetail": {
+ "network": "all",
+ "packages": [
+ "pages/prize"
+ ]
+ }
+ },
"pages": [
// 绗竴涓氨鏄椤�
{
@@ -25,7 +24,10 @@
"style": {
// "navigationBarTitleText" : "瑙嗛",
"enablePullDownRefresh": false,
- "navigationStyle": "custom"
+ "navigationStyle": "custom",
+ "componentPlaceholder": {
+ "u-icon": "view"
+ }
// 闅愯棌椤堕儴瀵艰埅鏍�
}
},
@@ -198,6 +200,7 @@
// {
// "path": "pages/tabbar/user/my",
// "style": {
+ // "navigationBarTextStyle": "white",
// "navigationBarTextStyle": "white",
// "enablePullDownRefresh": true,
// "navigationStyle": "custom",
@@ -401,6 +404,31 @@
// ]
// },
{
+ "root": "pages/prizeRecord",
+ "pages": [
+ {
+ "path": "prizeRecord",
+ "style": {
+ "navigationBarTitleText": "",
+ "componentPlaceholder": {
+ "u-form": "view",
+ "u-form-item": "view",
+ "u-input": "view",
+ "u-icon": "view",
+ "u-action-sheet": "view",
+ "u-checkbox-group": "view",
+ "u-checkbox": "view",
+ "u-navbar": "view",
+ "u-button": "view",
+ "u-image": "view",
+ "u-empty": "view",
+ "u-loadmore": "view"
+ }
+ }
+ }
+ ]
+ },
+ {
"root": "pages/mine",
"pages": [
// {
@@ -554,13 +582,18 @@
}
}
},
- // {
- // "path": "address/storeAddress",
- // "style": {
- // "enablePullDownRefresh": true,
- // "navigationBarTitleText": "鑷彁鐐�"
- // }
- // },
+ {
+ "path": "address/storeAddress",
+ "style": {
+ "enablePullDownRefresh": true,
+ "navigationBarTitleText": "鑷彁鐐�",
+ "componentPlaceholder": {
+ "u-empty": "view",
+ "u-icon": "view",
+ "u-action-sheet": "view"
+ }
+ }
+ },
{
"path": "address/add",
"style": {
@@ -713,6 +746,17 @@
"u-picker": "view",
"u-icon": "view"
}
+ }
+ },
+ {
+ "path": "help/customerService",
+ "style": {
+ "navigationBarTitleText": "鑱旂郴瀹㈡湇",
+ "componentPlaceholder":{
+ "u-icon": "view"
+ }
+
+
}
},
{
@@ -1149,7 +1193,8 @@
"componentPlaceholder": {
"u-empty": "view",
"u-loadmore": "view",
- "u-image": "view"
+ "u-image": "view",
+ "u-empty": "view"
}
}
},
@@ -1181,7 +1226,11 @@
{
"path": "home-page",
"style": {
- "navigationBarTitleText": "TA鐨勪富椤�"
+ "navigationBarTitleText": "TA鐨勪富椤�",
+ "componentPlaceholder": {
+ "u-icon": "view",
+ "u-loadmore": "view"
+ }
}
},
{
@@ -1199,7 +1248,16 @@
{
"path": "video-edit",
"style": {
- "navigationBarTitleText": "瑙嗛缂栬緫"
+ "navigationBarTitleText": "瑙嗛缂栬緫",
+ "componentPlaceholder": {
+ "u-popup": "view",
+ "u-button": "view",
+ "u-icon": "view",
+ "u-form": "view",
+ "u-form-item": "view",
+ "u-input": "view",
+ "u-search": "view"
+ }
}
},
{
@@ -1207,11 +1265,14 @@
"style": {
"navigationBarTitleText": "瑙嗛鎺ㄨ崘鍟嗗搧",
"componentPlaceholder": {
- "u-button": "view",
- "u-icon": "view",
- "u-navbar": "view",
- "u-popup": "view"
+ "u-button": "view"
}
+ }
+ },
+ {
+ "path": "video-search",
+ "style": {
+ "navigationBarTitleText": ""
}
},
{
@@ -1245,12 +1306,6 @@
"path": "video-similar",
"style": {
"navigationBarTitleText": "鍟嗗搧鐩稿叧瑙嗛"
- }
- },
- {
- "path": "video-search",
- "style": {
- "navigationBarTitleText": ""
}
}
]
@@ -1525,13 +1580,28 @@
{
"path": "complain/complain",
"style": {
- "navigationBarTitleText": "璁㈠崟鍟嗗搧鎶曡瘔"
+ "navigationBarTitleText": "璁㈠崟鍟嗗搧鎶曡瘔",
+ "componentPlaceholder": {
+ "u-popup": "view",
+ "u-icon": "view",
+ "u-line": "view",
+ "u-image": "view",
+ "u-select": "view",
+ "u-input": "view",
+ "u-upload": "view"
+ }
}
},
{
"path": "complain/complainInfo",
"style": {
- "navigationBarTitleText": "鎶曡瘔璇︽儏"
+ "navigationBarTitleText": "鎶曡瘔璇︽儏",
+ "componentPlaceholder": {
+ "u-image": "view",
+ "u-cell-group": "view",
+ "u-cell-item": "view",
+ "u-input": "view"
+ }
}
},
{
@@ -1691,7 +1761,20 @@
}
},
{
- "path": "afterSales/afterSalesDetailExpress"
+ "path": "afterSales/afterSalesDetailExpress",
+ "style": {
+ "componentPlaceholder": {
+ "u-image": "view",
+ "u-icon": "view",
+ "u-form": "view",
+ "u-form-item": "view",
+ "u-input": "view",
+ "u-button": "view",
+ "u-select": "view",
+ "u-calendar": "view",
+ "u-toast": "view"
+ }
+ }
},
{
"path": "afterSales/afterSalesSelect",
@@ -1699,7 +1782,14 @@
"navigationBarTitleText": "鐢宠鍞悗",
"componentPlaceholder": {
"u-image": "view",
- "u-icon": "view"
+ "u-icon": "view",
+ "u-form": "view",
+ "u-form-item": "view",
+ "u-input": "view",
+ "u-button": "view",
+ "u-select": "view",
+ "u-calendar": "view",
+ "u-toast": "view"
}
}
},
@@ -1749,6 +1839,59 @@
"u-notice-bar": "view"
}
}
+ },
+ {
+ "path": "claim-coupon/claim-coupon",
+ "style": {
+ "navigationBarTitleText": "鍟嗗搧鍏戞崲鍒搁鍙�",
+ "enablePullDownRefresh": true,
+ "componentPlaceholder": {
+ "u-image": "view",
+ "u-tag": "view",
+ "u-loading": "view",
+ "u-empty": "view",
+ "u-modal": "view"
+ }
+ }
+ },
+ {
+ "path": "editOrderAddress/editOrderAddress",
+ "style": {
+ "navigationBarTitleText": "淇敼璁㈠崟",
+ "componentPlaceholder": {
+ "u-image": "view",
+ "u-row": "view",
+ "u-col": "view",
+ "u-input": "view",
+ "u-icon": "view",
+ "u-select": "view",
+ "u-notice-bar": "view"
+ }
+ }
+ },
+ {
+ "path": "cardPack",
+ "style": {
+ "navigationBarTitleText": "浼樻儬鍔靛崱鍖�",
+ "componentPlaceholder": {
+ "u-navbar": "view",
+ "u-checkbox-group": "view",
+ "u-checkbox": "view",
+ "u-swipe-action": "view",
+ "u-image": "view",
+ "u-icon": "view",
+ "u-count-down": "view",
+ "u-modal": "view",
+ "u-popup": "view",
+ "u-empty": "view"
+ }
+ }
+ },
+ {
+ "path": "constomize/constomize",
+ "style": {
+ "navigationBarTitleText": "瀹氬埗淇℃伅"
+ }
}
]
},
@@ -1782,6 +1925,32 @@
"navigationBarTitleText": "绁炲帹",
"navigationStyle": "custom"
// 闅愯棌绯荤粺瀵艰埅鏍�
+ }
+ },
+ {
+ "path": "KitchenCustomize",
+ "style": {
+ "navigationBarTitleText": "绁炲帹瀹氬埗",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "KitchenCover",
+ "style": {
+ "navigationBarTitleText": "绁炲帹灏侀潰",
+ "navigationStyle": "custom"
+ }
+ }
+ ]
+ },
+ {
+ "root": "pages/prize",
+ "pages": [
+ {
+ "path": "PrizeDetail/PrizeDetail",
+ "style": {
+ "navigationBarTitleText": "鎶藉娲诲姩",
+ "enablePullDownRefresh": false
}
}
]
@@ -2126,11 +2295,45 @@
}
}
]
+ },
+ {
+ "root": "pages/storeClaim",
+ "pages": [
+ {
+ "path": "store-claim",
+ "style": {
+ "navigationBarTitleText": "浼樻儬鍗烽鍙�",
+ "componentPlaceholder": {
+ "u-card": "view",
+ "u-navbar": "view",
+ "u-tag": "view",
+ "u-icon": "view",
+ "u-button": "view",
+ "u-empty": "view"
+ }
+ }
+ },
+ {
+ "path": "storePrizeClaim",
+ "style": {
+ "navigationBarTitleText": "棰嗗彇鎶藉鏈轰細",
+ "componentPlaceholder": {
+ "u-card": "view",
+ "u-navbar": "view",
+ "u-tag": "view",
+ "u-icon": "view",
+ "u-button": "view",
+ "u-empty": "view",
+ "u-image": "view"
+ }
+ }
+ }
+ ]
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
- "navigationBarTitleText": "缁挎弧绛�",
+ "navigationBarTitleText": "缇庣泭绛�",
"titleColor": "#303133",
"navigationBarBackgroundColor": "#fff",
"backgroundColor": "#fff",
@@ -2192,4 +2395,4 @@
// "query": "" //鍚姩鍙傛暟锛屽湪椤甸潰鐨刼nLoad鍑芥暟閲岄潰寰楀埌
// }]
}
-}
+}
\ No newline at end of file
--
Gitblit v1.8.0