微信小程序 返回给定坐标处的元素
slideIndex(e){ console.log([e.touches[0].clientX,e.touches[0].clientY])}, |
<view class="letter-item" v-for="(item,index) in citySort" :key='index' @click="gotoIndex(index)" @touchmove="slideIndex"> |
如题 如何根据 client 的X,Y坐标 获取view 绑定事件
难道就没有 类似
document.elementFromPoint(event.touches[0].clientX,event.touches[0].clientY) |
这种返回 给定坐标元素的吗?
