回到顶部过渡js代码 $(document).ready(function(){$('.gotop').click(function(){$('html, body').animate({scrollTop: 0},300);});});