小程序js頁面設置上導航顏色

//導航條顏色更改
wx.setNavigationBarColor({
frontColor: '#ffffff', // 必寫項
backgroundColor: '#008de6', // 必寫項
//animation: { // 可選項
// duration: 0,
// timingFunc: 'easeIn'
//}
})
相關文章
相關標籤/搜索