小程序设置当前页面标题颜色背景

全局的属性在全局app.json里面设置,如果要设置单独界面里面的属性,就在那个文件夹底下的XXX.json里面设置就可以了。

{
  "navigationBarBackgroundColor": "#b3d4db",
  "navigationBarTitleText": "服务中心",
  "navigationBarTextStyle": "white"
}

猜你喜欢

转载自blog.csdn.net/weixin_44763569/article/details/89399657