摘要: ![](https://img2020.cnblogs.com/blog/1968139/202006/1968139-20200604194238428-144634426.png) 阅读全文
posted @ 2020-06-04 19:45 17135131xjt 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 问题1、son1移动距离,son2也移动等比例距离 解决思路 son1的偏移距离(e.pageX-image1.offsetLeft)与son1的最大偏移距离(image.width-son1.width)之比 son2的偏移距离与son2的最大偏移距离之比 也就是 son2的偏移距离=son1的偏 阅读全文
posted @ 2020-06-04 19:38 17135131xjt 阅读(180) 评论(0) 推荐(0) 编辑