<scroll-view id="chatScrollView" refresher-default-style="none" refresher-enabled="{{true}}" refresher-threshold="60" class="chatList" enhanced="{{true}}" scroll-y="{{true}}" enable-passive="{{true}}" scroll-with-animation="{{false}}" show-scrollbar="{{false}}" scroll-into-view="{{toViewId}}" refresherTriggered="{{refresherTriggered}}" bindrefresherrefresh="refresherrefresh">
手机端 隐藏了滚动条, 但是PC端还是现实, 手机端可以
wx.createSelectorQuery()
.select('#chatScrollView')
.node()
.exec((res) => {
res[0].node.scrollTo({
top: 9999999999 * Math.random() * 10,
animated: false
});
});
这个是滑动到底部, 手机端生效 PC端不成功
请问这些问题 有遇到的吗? 怎么解决?