From 36eeb4a4bc84e98d718ba855a0c37e6fee8198c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Thu, 9 Mar 2023 10:21:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/classification/classification.vue | 2 -- 1 file changed, 2 deletions(-) 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++;