wx.showLoading() 加载框

wx.showLoading()

显示加载框,需要主动加 wx.hideLoading() 才能隐藏

样式:

 示例代码:

wx.showLoading({
  title: '加载中',
})

setTimeout(function () {
  wx.hideLoading()
}, 2000)
原文地址:https://www.cnblogs.com/GetcharZp/p/12171725.html