diff --git a/pages/classification/classification.vue b/pages/classification/classification.vue index 149a619..b311db7 100644 --- a/pages/classification/classification.vue +++ b/pages/classification/classification.vue @@ -127,11 +127,9 @@ methods: { // 触摸touch事件 start(e) { //@touchstart 触摸开始 - console.log(e) this.startData.pageY = e.changedTouches[0].pageY; //手指按下时的Y坐标 }, end(e) { //@touchend触摸结束 - console.log(this.startData.pageY - this.touch.pageY) if ((this.startData.pageY - this.touch.pageY) > 200) { //在事件结束时,判断滑动的距离是否达到出发需要执行事件的要求 if (this.goodsList.length >= this.total) {} else { this.pageNum++;