【小程序】使用uni-app搭建小程序环境---滚动位置
时间:2020-04-17 21:33:23
收藏:0
阅读:90
uni.createSelectorQuery().select(".comment").boundingClientRect((res)=>{
console.log(res);
// console.log(_this.imgHeight ,_this.imgHeight * 27);
uni.pageScrollTo({
duration:0,
scrollTop:7614 - 44
})
}).exec();
原文:https://www.cnblogs.com/websmile/p/11790575.html
评论(0)