|
|
@ -283,6 +283,7 @@ Page({ |
|
|
|
const touchMoveY = e.changedTouches[0].clientY//滑动变化坐标
|
|
|
|
//获取滑动角度
|
|
|
|
const angle = that.angle({ X: startX, Y: startY }, { X: touchMoveX, Y: touchMoveY }) |
|
|
|
if (Math.abs(angle) > 30) return; |
|
|
|
this.data.commentList.forEach((item,index) => { |
|
|
|
item.isTouchMove = false |
|
|
|
if (currentIndex == index) { |
|
|
|