按钮点击时调用的方法里面加上这两行就行了 var t =document.body.clientHeight;window.scroll({top:t,left:0,behavior:'smooth' });