js点击回到顶部

function back2Top() {
$("body,html").animate({scrollTop:0},1000);
return false;
}

posted @ 2019-06-29 17:44  泽泽生龙  阅读(426)  评论(0编辑  收藏  举报