wxml: <view class="index-list-keys" catch:touchstart="scrollTo" catchtouchmove='scrollTo' catchtouchend='removeTouching'
></view>
js: const clientY = e.changedTouches[0].clientY;
最近在做通讯录索引的需求,右侧可以滑动并索引,想要根据clientY来计算当前滑动到的位置,发现了如果在连续触发触摸事件时在ios端,clientY会出现负值,或者超大值;比如从开始到结束:324,327,330,-100,1700,333,336,339