From 2a9b2f72ef45b6c34babf065ba8290a0578f8b3c Mon Sep 17 00:00:00 2001 From: wanganxp Date: Wed, 29 May 2024 04:41:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=AD=90=E8=B6=85=E7=88=B6?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=8C=BA=E5=9F=9F=E6=BC=94=E7=A4=BA=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/CSS/overflow/overflow-visible-event.uvue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pages/CSS/overflow/overflow-visible-event.uvue b/pages/CSS/overflow/overflow-visible-event.uvue index 2969e29d..f2c3b4e9 100644 --- a/pages/CSS/overflow/overflow-visible-event.uvue +++ b/pages/CSS/overflow/overflow-visible-event.uvue @@ -23,10 +23,11 @@ methods: { handleClickOverflowPart() { console.log("click"); - this.jest_result = true; + this.jest_result = true; + uni.showToast({"title":"点击红色区域"}) }, - handleTouchMoveOverflowPart() { - console.log("move"); + handleTouchMoveOverflowPart(e:UniTouchEvent) { + console.log("touchmove:" + e.touches[0].clientX + "," + e.touches[0].clientY); }, jest_getRect() { const rect = uni.getElementById('child')?.getBoundingClientRect() -- GitLab