锚点

锚点有时候不管用时,可以用下面的代码

 $("html,body").animate({ scrollTop: 0}, 1000);
原文地址:https://www.cnblogs.com/wanliyuan/p/4250881.html