wx.getSystemInfo({
            success: (res) => {
              wx.createSelectorQuery().select('#scrollbox').boundingClientRect((rect) => {
                this.setData({
                  height: res.windowHeight - rect.top
                })
              }).exec()
            }
          })

 

相关文章:

  • 2022-01-04
  • 2022-01-07
  • 2021-06-09
  • 2022-01-07
  • 2022-01-07
  • 2022-01-07
  • 2022-02-07
猜你喜欢
  • 2022-12-23
  • 2022-01-07
  • 2022-01-07
  • 2022-12-23
  • 2021-12-16
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案