From df4dd9f030ac4e830d93f2f64e2379a9b7dad278 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 25 六月 2025 20:41:20 +0800 Subject: [PATCH] 自定义顶部组件、顶部tab对应页面接入该组件 --- pages.json | 34 ++++++++++++++++++---------------- 1 files changed, 18 insertions(+), 16 deletions(-) diff --git a/pages.json b/pages.json index a606eaf..49495a3 100644 --- a/pages.json +++ b/pages.json @@ -65,10 +65,10 @@ { // "path": "pages/tabbar/category/category", "path": "pages/commodity-square/commoditySquare", - + "style": { "navigationBarTitleText": "鍟嗗搧骞垮満", - // "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� + "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� "navigationBarTextStyle": "black", // "disableScroll": true, "bounce": "none", @@ -749,6 +749,7 @@ "style": { "navigationBarTitleText": "娲诲姩", "enablePullDownRefresh": true, //涓嬫媺鍒锋柊 + "navigationStyle": "custom", // 闅愯棌椤堕儴瀵艰埅鏍� "componentPlaceholder": { "u-form": "view", "u-form-item": "view", @@ -987,7 +988,7 @@ }, { "path" : "video-goods-detail", - "style" : + "style" : { "navigationBarTitleText" : "瑙嗛鎺ㄨ崘鍟嗗搧", "componentPlaceholder": { @@ -1435,7 +1436,8 @@ "pages": [{ "path": "healthVideo", "style": { - "navigationBarTitleText": "澶у仴搴�" + "navigationBarTitleText": "澶у仴搴�", + "navigationStyle": "custom" } }] }, @@ -1452,13 +1454,13 @@ "root": "pages/supplier", "pages": [{ "path" : "suppler-order/suppler-order", - "style" : + "style" : { "navigationBarTitleText" : "" } }] } - + // , // { // "root": "pages/commodity-square", @@ -1496,13 +1498,13 @@ "selectedIconPath": "static/tabbar/home-s.png", "text": "棣栭〉" }, - { - // "pagePath": "pages/tabbar/category/category", - "pagePath": "pages/commodity-square/commoditySquare", - "iconPath": "static/tabbar/category.png", - "selectedIconPath": "static/tabbar/category-s.png", - "text": "鍟嗗煄" - }, + // { + // // "pagePath": "pages/tabbar/category/category", + // "pagePath": "pages/commodity-square/commoditySquare", + // "iconPath": "static/tabbar/category.png", + // "selectedIconPath": "static/tabbar/category-s.png", + // "text": "鍟嗗煄" + // }, { "pagePath": "pages/tabbar/video/video", "iconPath": "static/tabbar/video.png", @@ -1522,11 +1524,11 @@ } ] }, - // #todo 涓轰粈涔堣娉ㄩ噴condition涓嬩唬鐮侊紵 + // #todo 涓轰粈涔堣娉ㄩ噴condition涓嬩唬鐮侊紵 // IOS plus.runtime.arguments 娣诲姞 condition鑺傜偣鍚庯紝 妗嗘灦浼氫慨鏀� runtime.arguments // 浼氬奖鍝嶄粈涔堝姛鑳斤紵 // -鍦╤5涓敜閱抋pp浼氫竴鐩磋繑鍥為粯璁ゅ�� {"name":"","path":"","query":"","id":0} - "condition": { //妯″紡閰嶇疆锛屼粎寮�鍙戞湡闂寸敓鏁� + "condition": { //妯″紡閰嶇疆锛屼粎寮�鍙戞湡闂寸敓鏁� // "current": 0, //褰撳墠婵�娲荤殑妯″紡(list 鐨勭储寮曢」) // "list": [{ // "name": "", //妯″紡鍚嶇О @@ -1534,4 +1536,4 @@ // "query": "" //鍚姩鍙傛暟锛屽湪椤甸潰鐨刼nLoad鍑芥暟閲岄潰寰楀埌 // }] } -} \ No newline at end of file +} -- Gitblit v1.8.0