skeleton
skeleton copied to clipboard
我在别的微信小程序中使用systemInfo.height一直取不到
wx.createSelectorQuery().selectAll(.${this.data.selector}
).boundingClientRect().exec(function(res){
that.setData({
'systemInfo.height': res[0][0].height + res[0][0].top
})
});
res传出的array为0
请仔细看文档, 下面有示例
请提供代码片段