let query = wx.createSelectorQuery();
query.select('.map-list').boundingClientRect()
query.exec(res=>{
/*
res= {
id,
width,
height,
top,
bottom,
left,
right,
dataset
}
*/
console.log('res3',res)
})
网友评论