一、模态窗口
二、提示你想提示的信息
提示你想提示的信息
注意
- wx.showLoading 和 wx.showToast 同时只能显示一个
- wx.showToast 应与 wx.hideToast 配对使用
三、显示 loading 提示框
wx.showLoading({ title: '加载中',})setTimeout(function () { wx.hideLoading()}, 2000)四、 wx.showActionSheet(OBJECT)
wx.showActionSheet({ itemList: ['A', 'B', 'C'], success: function(res) { console.log(res.tapIndex) }, fail: function(res) { console.log(res.errMsg) }})以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持。