版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/weixin_38747509/article/details/86528767
$("html,body").animate(
{ scrollTop: document.getElementsByTagName("body")[0].scrollHeight },
200
);
$("html,body").animate(
{ scrollTop: document.getElementsByTagName("body")[0].scrollHeight },
200
);