操作反馈loading:官方文档

 

Demo Code:

Page({
  data: {
    hidden: true
  },
  loadingChange: function () {
    console.log("loadingChange log");
  },
  loadingTap: function () {
    this.setData({
      hidden: false
    })

    var that = this
    setTimeout(function () {
      that.setData({
        hidden: true
      })
    }, 1500)
  }
})
JS

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2021-11-20
  • 2021-11-23
  • 2021-06-03
  • 2021-07-08
  • 2021-05-20
猜你喜欢
  • 2021-09-07
  • 2021-07-19
  • 2022-01-08
  • 2021-06-28
  • 2021-07-11
相关资源
相似解决方案