動態設置頁面標題
動態設置頁面標題的顏色和背景等
樣式:
示例代碼:
wx.setNavigationBarTitle({ title: '當前頁面' }) wx.setNavigationBarColor({ frontColor: '#ffffff', backgroundColor: '#ff0000', animation: { duration: 400, timingFunc: 'easeIn' } })
動態設置頁面標題
動態設置頁面標題的顏色和背景等
樣式:
示例代碼:
wx.setNavigationBarTitle({ title: '當前頁面' }) wx.setNavigationBarColor({ frontColor: '#ffffff', backgroundColor: '#ff0000', animation: { duration: 400, timingFunc: 'easeIn' } })
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。