zhangym118

 

查看API:

  wx.setNavigationBarColor(OBJECT)

代码:

wx.setNavigationBarColor({
    frontColor: \'#ffffff\', // 必写项
    backgroundColor: \'#1BC3B8\', // 必写项
    animation: { // 可选项
        duration: 400,
        timingFunc: \'easeIn\'
    }
})

  

 

分类:

技术点:

相关文章: