效果图:
代码:
wx.showLoading({
title: '加载中...',
})
wx.request({
url: '',
success(res){},
fail(){},
complete(){
wx.hideLoading()
}
})
小程序官方api https://developers.weixin.qq.com/miniprogram/dev/api/wx.showLoading.html
2023-07-28 21:33:52
效果图:
代码:
wx.showLoading({
title: '加载中...',
})
wx.request({
url: '',
success(res){},
fail(){},
complete(){
wx.hideLoading()
}
})
小程序官方api https://developers.weixin.qq.com/miniprogram/dev/api/wx.showLoading.html