Documentation de développement de l'applet WeChat
/ 微信小程序API 設置導航條
微信小程序API 設置導航條
wx.setNavigationBarTitle(OBJECT)
動態(tài)設置當前頁面的標題
OBJECT參數(shù)說明:
示例代碼:
wx.setNavigationBarTitle({ title:"當前頁面" })
wx.showNavigationBarLoading()
在當前頁面顯示導航條加載動畫
wx.hideNavigationBarLoading()
隱藏導航條加載動畫