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 | 96 ++++++++++++++++++++++++++++++----------------- 1 files changed, 61 insertions(+), 35 deletions(-) diff --git a/pages.json b/pages.json index e738c2e..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", @@ -277,29 +277,31 @@ "u-popup": "view", "u-search": "view", "u-loading": "view", - "u-navbar": "view" + "u-navbar": "view", + "u-loadmore":"view" } } }, - { - "path": "pages/customerManager/customerManager", - "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-loading": "view", - "u-checkbox": "view", - "u-checkbox-group": "view", - "u-navbar": "view" - } - } - }, + // { + // "path": "pages/customerManager/customerManager", + // "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-loading": "view", + // "u-checkbox": "view", + // "u-checkbox-group": "view", + // "u-navbar": "view", + // "u-loadmore":"view" + // } + // } + // }, { "path": "pages/userPermissions/addStoreMember", "style": { @@ -316,7 +318,9 @@ "u-loading": "view", "u-checkbox": "view", "u-checkbox-group": "view", - "u-navbar": "view" + "u-navbar": "view", + "u-loadmore":"view", + "u-switch": "view" } } } @@ -745,6 +749,7 @@ "style": { "navigationBarTitleText": "娲诲姩", "enablePullDownRefresh": true, //涓嬫媺鍒锋柊 + "navigationStyle": "custom", // 闅愯棌椤堕儴瀵艰埅鏍� "componentPlaceholder": { "u-form": "view", "u-form-item": "view", @@ -983,7 +988,7 @@ }, { "path" : "video-goods-detail", - "style" : + "style" : { "navigationBarTitleText" : "瑙嗛鎺ㄨ崘鍟嗗搧", "componentPlaceholder": { @@ -1431,10 +1436,31 @@ "pages": [{ "path": "healthVideo", "style": { - "navigationBarTitleText": "澶у仴搴�" + "navigationBarTitleText": "澶у仴搴�", + "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", @@ -1472,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", @@ -1498,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": "", //妯″紡鍚嶇О @@ -1510,4 +1536,4 @@ // "query": "" //鍚姩鍙傛暟锛屽湪椤甸潰鐨刼nLoad鍑芥暟閲岄潰寰楀埌 // }] } -} \ No newline at end of file +} -- Gitblit v1.8.0