From 7fe7b6182c2d407d28c2c9da1c070c3ce964e3e7 Mon Sep 17 00:00:00 2001 From: zhuguifei <zhuguifei@zhuguifeideiMac.local> Date: 星期二, 20 五月 2025 10:49:14 +0800 Subject: [PATCH] 1.移动端添加自定义navbar导航栏 --- eims-ui-mobile/src/pages.json | 119 +++++++++++++++++++++++------------------------------------ 1 files changed, 47 insertions(+), 72 deletions(-) diff --git a/eims-ui-mobile/src/pages.json b/eims-ui-mobile/src/pages.json index f174d9d..08bf8fa 100644 --- a/eims-ui-mobile/src/pages.json +++ b/eims-ui-mobile/src/pages.json @@ -69,7 +69,8 @@ "layout": "default", "needLogin": true, "style": { - "navigationBarTitleText": "璁惧鍒楄〃" + "navigationBarTitleText": "璁惧鍒楄〃", + "navigationStyle": "custom" } }, { @@ -78,7 +79,7 @@ "layout": "tabbar", "needLogin": true, "style": { - "navigationBarTitleText": "鍏充簬" + "navigationBarTitleText": "璁惧" } }, { @@ -105,22 +106,7 @@ "needLogin": true, "style": { "navigationBarTitleText": "鐐规璁板綍", - "app-plus": { - "titleNView": { - "buttons": [ - { - "text": "鎻愪氦", - "fontSize": "14px", - "color": "#FFFFFF" - }, - { - "text": "", - "fontSize": "24px", - "color": "#FFFFFF" - } - ] - } - } + "navigationStyle": "custom" } }, { @@ -147,22 +133,7 @@ "needLogin": true, "style": { "navigationBarTitleText": "淇濆吇宸ュ崟", - "app-plus": { - "titleNView": { - "buttons": [ - { - "text": "鎻愪氦", - "fontSize": "14px", - "color": "#FFFFFF" - }, - { - "text": "", - "fontSize": "24px", - "color": "#FFFFFF" - } - ] - } - } + "navigationStyle": "custom" } }, { @@ -181,22 +152,7 @@ "needLogin": true, "style": { "navigationBarTitleText": "宸ュ崟鏄庣粏", - "app-plus": { - "titleNView": { - "buttons": [ - { - "text": "鎻愪氦", - "fontSize": "14px", - "color": "#FFFFFF" - }, - { - "text": "", - "fontSize": "24px", - "color": "#FFFFFF" - } - ] - } - } + "navigationStyle": "custom" } }, { @@ -212,8 +168,19 @@ "path": "pages/repair/repair-add", "type": "page", "layout": "default", + "needLogin": true, "style": { "navigationBarTitleText": "娣诲姞鎶ヤ慨", + "navigationStyle": "custom" + } + }, + { + "path": "pages/repair/repair-fb", + "type": "page", + "layout": "default", + "needLogin": true, + "style": { + "navigationBarTitleText": "缁翠慨璇勪环", "app-plus": { "titleNView": { "buttons": [ @@ -224,7 +191,7 @@ }, { "text": "", - "fontSize": "24px", + "fontSize": "14px", "color": "#FFFFFF" } ] @@ -238,18 +205,28 @@ "layout": "default", "needLogin": true, "style": { - "navigationBarTitleText": "璁惧鎶ヤ慨", + "navigationBarTitleText": "鎶ヤ慨鍒楄〃", + "navigationStyle": "custom" + } + }, + { + "path": "pages/repair/res-detail", + "type": "page", + "layout": "default", + "needLogin": true, + "style": { + "navigationBarTitleText": "缁翠慨鏄庣粏", "app-plus": { "titleNView": { "buttons": [ { - "text": "鏂板", + "text": "鎻愪氦", "fontSize": "14px", "color": "#FFFFFF" }, { - "text": "", - "fontSize": "24px", + "text": "淇濆瓨", + "fontSize": "14px", "color": "#FFFFFF" } ] @@ -264,23 +241,12 @@ "needLogin": true, "style": { "navigationBarTitleText": "璁惧缁翠慨", - "app-plus": { - "titleNView": { - "buttons": [ - { - "text": "鎺ュ崟", - "fontSize": "14px", - "color": "#FFFFFF" - }, - { - "text": "", - "fontSize": "24px", - "color": "#FFFFFF" - } - ] - } - } + "navigationStyle": "custom" } + }, + { + "path": "pages/scan/index", + "type": "page" }, { "path": "pages/spare/index", @@ -288,7 +254,16 @@ "layout": "tabbar", "needLogin": true, "style": { - "navigationBarTitleText": "spare" + "navigationBarTitleText": "澶囦欢" + } + }, + { + "path": "pages/spare/spare-list", + "type": "page", + "layout": "default", + "needLogin": true, + "style": { + "navigationBarTitleText": "澶囦欢鍒楄〃" } } ], -- Gitblit v1.9.3