完美解決微信小程序scroll-view高度自適應機型寬度的問題

  var obj = wx.createSelectorQuery(); obj.selectAll('.head,.bottom').boundingClientRect(function(rect) { let height = app.globalData.windowHeight - rect[0].height - rect[1].height + "px"
相關文章
相關標籤/搜索