注意frontColor和backgroundColor要同时设置
wx.setNavigationBarColor({
frontColor: '#ffffff',
backgroundColor: '#ff0000',
//动画的样式,可以给他去掉的
animation: {
duration: 400,
timingFunc: 'easeIn'
}
})
注意frontColor和backgroundColor要同时设置
wx.setNavigationBarColor({
frontColor: '#ffffff',
backgroundColor: '#ff0000',
//动画的样式,可以给他去掉的
animation: {
duration: 400,
timingFunc: 'easeIn'
}
})