微信小程序获取指定class层的高度
var query = wx.createSelectorQuery()
//.wt为指定类名高度
query.select('.wt').boundingClientRect((res) => {
console.log('body->',res);
}).exec()wx.getSystemInfoSync().windowWidth // 获取当前窗口的宽度 wx.getSystemInfoSync().windowHeight // 获取当前窗口的高度 wx.getSystemInfoSync().model // 获取当前采用的设备 wx.getSystemInfoSync().pixelRatio wx.getSystemInfoSync().language // 获取当前所采用的的语言 wx.getSystemInfoSync().version // 获取当前设备的版本