提交 b24de3ac authored 作者: 刘旭's avatar 刘旭

...

上级 038f8308
......@@ -17,7 +17,7 @@
>
<view
@touchstart="handleTouchstart($event, index)"
@touchmove="handleTouchmove"
@touchmove.prevent="handleTouchmove"
@touchend="handleTouchend"
style="width: 100%; height: 100%;"
>
......
......@@ -152,13 +152,7 @@ const initIndex = () => {
};
initIndex();
document.addEventListener(
'touchmove',
function(e) {
e.preventDefault();
},
{ passive: false }
);
// 点击滑动到底部
// setTimeout(() => {
// uni.pageScrollTo({scrollTop: 99999, duration: 0});
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论