效果图:

微信小程序wx.showLoading

代码:

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

 

小程序官方api   https://developers.weixin.qq.com/miniprogram/dev/api/wx.showLoading.html

微信小程序wx.showLoading

相关文章:

  • 2021-12-05
猜你喜欢
  • 2022-12-23
  • 2021-08-25
  • 2021-05-26
  • 2022-12-23
  • 2021-12-25
  • 2021-12-18
  • 2022-12-23
相关资源
相似解决方案