vue 中使用 @scroll事件 没有用 当在vue获取滚动条滚动的距离时 通过@scroll时 并没有用 所以需要在 mounted 中通过 window.addEventListener('scroll',this.topList, true)