总结:
div如果要触发鼠标事件要加上css样式cusor:pointer。
获取当前鼠标的位置以及组件的位置
原文:https://www.cnblogs.com/qiuyagogo/p/9597184.html