diff --git a/pages/CSS/overflow/overflow-visible-event.uvue b/pages/CSS/overflow/overflow-visible-event.uvue index 2969e29d7ce7bc41b0698c9f56eed6ce85e710dd..f2c3b4e9f36a88f7a3790cc1c5bd12b2238d2f61 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()