微信小程序wx.showLoading

技术图片

wx.showLoading({
      title: ‘加载中...‘,
})
wx.request({
  url: ‘‘,
  success(res){},
  fail(){},
  complete(){
    wx.hideLoading()
  }
})