js原生回到顶部,并平滑过渡---- 记录
1 window.scrollTo({ 2 top: 0, 3 behavior: 'smooth', 4 });
本文来自博客园,作者:秋风2016,转载请注明原文链接:https://www.cnblogs.com/lml2017/p/10273176.html
1 window.scrollTo({ 2 top: 0, 3 behavior: 'smooth', 4 });
本文来自博客园,作者:秋风2016,转载请注明原文链接:https://www.cnblogs.com/lml2017/p/10273176.html