获取屏幕高度
let scrollTop = document.documentElement.clientHeight || document.body.clientHeight;
// 获取元素高度
let imgHeight = this.$refs['bread_crumb'].offsetHeight
元素滚动scrollTop
window.addEventListener("scroll",this.handleScroll, true);
handleScroll(e) {
// 元素滚动高度
e.target.scrollTop
}