<scroll-view id='c_sv' enhanced scroll-x scroll-y></scroll-view>
wx.createSelectorQuery().select('#c_sv').node().exec((res) => {
const scrollView = res[0].node;
scrollView.scrollTo(left:xx,top:xx)//left不生效,top生效
})
当不设置scroll-y时,left就生效
d代码片段:https://developers.weixin.qq.com/s/MWuu0hmi7twW
同问 IOS没有问题,安卓会出现这个问题
代码片段:https://developers.weixin.qq.com/s/MWuu0hmi7twW