Js:
//回到顶部
$(".totop").click(function () {
$("body,html").animate({scrollTop: 0}, 800);
return false;
});
Js:
//回到顶部
$(".totop").click(function () {
$("body,html").animate({scrollTop: 0}, 800);
return false;
});
转载于:https://www.cnblogs.com/qiao20/p/5683541.html