小程序彈窗的幾種形式

小程序彈窗的幾種形式 一.wx.showToast(Object object) 顯示消息提示框 1.不帶圖標的信息提示 wx.showToast({ title: '服務暫未開通', icon: 'none', duration: 2000 }) 2.帶圖標得提示:加載中、提示成功 加載中提示: (1)顯示 loading 提示框。需主動調用 wx.hideLoading 才能關閉提
相關文章
相關標籤/搜索