From 36e794d948b856f2a542aaadd0e374892635be14 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 25 六月 2025 21:19:17 +0800 Subject: [PATCH] 自定义顶部组件优化 --- pages.json | 51 +++++++++++++++++++-------------------------------- 1 files changed, 19 insertions(+), 32 deletions(-) diff --git a/pages.json b/pages.json index 49495a3..e03183c 100644 --- a/pages.json +++ b/pages.json @@ -36,6 +36,13 @@ } }, { + "path": "pages/kitchen/KitchenVideo", + "style": { + "navigationBarTitleText": "绁炲帹", + "navigationStyle": "custom" // 闅愯棌绯荤粺瀵艰埅鏍� + } + }, + { "path": "pages/tabbar/home/title", "style": { "navigationBarTitleText": "娑堟伅" @@ -65,7 +72,7 @@ { // "path": "pages/tabbar/category/category", "path": "pages/commodity-square/commoditySquare", - + "style": { "navigationBarTitleText": "鍟嗗搧骞垮満", "navigationStyle": "custom", // 闅愯棌绯荤粺瀵艰埅鏍� @@ -988,7 +995,7 @@ }, { "path" : "video-goods-detail", - "style" : + "style" : { "navigationBarTitleText" : "瑙嗛鎺ㄨ崘鍟嗗搧", "componentPlaceholder": { @@ -1440,27 +1447,7 @@ "navigationStyle": "custom" } }] - }, - { - "root": "pages/kitchen", - "pages": [{ - "path": "KitchenVideo", - "style": { - "navigationBarTitleText": "鍘ㄧ" - } - }] - }, - { - "root": "pages/supplier", - "pages": [{ - "path" : "suppler-order/suppler-order", - "style" : - { - "navigationBarTitleText" : "" - } - }] } - // , // { // "root": "pages/commodity-square", @@ -1498,13 +1485,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/kitchen/KitchenVideo", + "iconPath": "static/tabbar/category.png", + "selectedIconPath": "static/tabbar/category-s.png", + "text": "绁炲帹" + }, { "pagePath": "pages/tabbar/video/video", "iconPath": "static/tabbar/video.png", @@ -1524,11 +1511,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": "", //妯″紡鍚嶇О @@ -1536,4 +1523,4 @@ // "query": "" //鍚姩鍙傛暟锛屽湪椤甸潰鐨刼nLoad鍑芥暟閲岄潰寰楀埌 // }] } -} +} \ No newline at end of file -- Gitblit v1.8.0