1、配置全局背景颜色和标题
在app.json文件中进行全局配置
"window": {
"backgroundTextStyle": "dark",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "慕慕到家",
"navigationBarTextStyle": "black",
"backgroundColorBottom": "#efefef"
},
navigationBarBackgroundColor 导航栏颜色
navigationBarTitleText 导航栏标题
backgroundColorBottom iOS上拉触底的弹性效果背景色
2、配置单个页面的
在单独的页面中例如home.json中配置home页面的标题颜色,标题等
{
"navigationBarBackgroundColor": "#f3d066",
"navigationBarTitleText": "服务广场",
"enablePullDownRefresh": true,
"usingComponents": {
}
}