天天看点

点击返回顶部

关键在于通过document.documentelement.scrolltop获取到鼠标向上滑动的距离,根据距离做一系列的操作

继续阅读