wx.showLoading() 加载框

wx.showLoading()

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

样式:

 

 示例代码:

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

setTimeout(function () {
  wx.hideLoading()
}, 2000)
posted @ 2020-01-09 15:24  GetcharZp  阅读(6656)  评论(0编辑  收藏  举报