bindtouchmove 滑动触发次数问题
发布于 5 年前 作者 juanbai 10674 次浏览 来自 问答

1.bindtouchmove="touchM"

在三星note8手机上。向上滑动和向下滑动执行次数不一样。

<view class="c" bindtouchmove="touchM" style="position:fixed; z-index:100;width:100rpx;height:100vh;background-color:#333;"></view>

   

touchM(){

   console.log('a')

 },

最简单的复现demo 在向上滑动时控制台出现a的次数比向下滑动的次数多。

1 回复

想问你咋测试的次数?

回到顶部