1.显示消息提示框,长度不超过12个字节,即6个汉字 wx.showToast({ title: '演示1', }) 2.显示loading提示框,主动调用wx.hideLoading()才能关闭 wx.showLoading({ title: '演示2', }) wx.hideLoading(); 3.显示模拟弹框,可操作 wx.showModal({ title: '提示', confirmText: '确定', cancelText: '取消', content: '点击确定,演示3完成', success: function (res) { if (res.confirm) { wx.redirectTo({ url: '/pages/index' }) } else if (res.cancel) { return; } } })