动态回到顶部jquery代码

jianfly.com 2019-01-31 1241次浏览

<script>
    $(".footer .gotop").click(function(){
        $('html, body').animate({scrollTop: 0},400);
    })
</script>