1.单个页面,在该页面的json文件里修改
(1)修改导航栏颜色:
"navigationBarBackgroundColor": "#1556D2",
去除导航栏,保留胶囊,只有("custom",defalut)
"navigationStyle": "custom",
修改导航栏文字
wx.setNavigationBarTitle ({title:Y+"-"+M+"-"+D})
(2)修改整个程序的,在app.josn里面
"backgroundColor": "#F6F6F6",
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#F6F6F6",
"navigationBarTitleText": "1111",
"navigationBarTextStyle": "black"