wx小程序的顶部栏,变色

备注,这个栏的颜色只能在app.json里面设置有效,在其他的页面的json设置是无效的。

"window": {
    "backgroundTextStyle": "light",
    "navigationBarBackgroundColor": "#3197ed",
    "navigationBarTitleText": "",
    "navigationBarTextStyle": "white"
  }

 

posted @ 2019-02-26 21:20  正能量教官  阅读(501)  评论(0编辑  收藏  举报