点击按钮页面滑到底部 $(".buy_btn button").click(function(){ var h = $(document).height()-$(window).height(); $(document).scrollTop(h); })