微信小程序開發(fā)文檔
/ 微信小程序API 設(shè)置導(dǎo)航條
微信小程序API 設(shè)置導(dǎo)航條
wx.setNavigationBarTitle(OBJECT)
動態(tài)設(shè)置當(dāng)前頁面的標(biāo)題
OBJECT參數(shù)說明:
示例代碼:
wx.setNavigationBarTitle({ title:"當(dāng)前頁面" })
wx.showNavigationBarLoading()
在當(dāng)前頁面顯示導(dǎo)航條加載動畫
wx.hideNavigationBarLoading()
隱藏導(dǎo)航條加載動畫