>[info]用于设置小程序的状态栏、导航条、标题、窗口背景色。
![](https://box.kancloud.cn/9858667e45ef025d9368cb713604d848_836x446.png)
如 app.json :注:HexColor(十六进制颜色值),如"#ff00ff"
~~~
{
"window":{
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "微信接口功能演示",
"backgroundColor": "#eeeeee",
"backgroundTextStyle": "light"
}
}
~~~
<center>
![](https://box.kancloud.cn/344358b13c642cd4c48ca03ec5cc278b_2196x2724.jpg)
</center>