内页不自定义导航:
在内页文件夹的json中写上:
{
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black",
"navigationStyle": "default", //顶部不自定义导航
"navigationBarTitleText": "产品中心"
}
上面是设置单页面的代码,不需要加window
下面是全局设置的代码,需要加window
"window": {
"backgroundColor": "#fafafa",
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationStyle":"custom", //顶部自定义导航
"navigationBarTextStyle": "black"
},