想获取movable-view在页面的位置,但一直获取不到,应该获取它?
touchChange(e){
let moveDelail = {
id:e.target.id,
x:e.detail.x + e.target.offsetLeft,
y:e.detail.y + e.target.offsetTop
}
console.log(moveDelail)
},
https://developers.weixin.qq.com/miniprogram/dev/component/movable-view.html bindchange吧,拖动过程中获取坐标