提交 2a9b2f72 编写于 作者: W wanganxp

完善子超父点击区域演示页面

上级 a71eac3a
......@@ -24,9 +24,10 @@
handleClickOverflowPart() {
console.log("click");
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()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册