1. document.getElementById("div").offsetLeft document.getElementById("div").offsetTop 这样可以获取node的当前位置