scrollTo ( 0, 1000 ); // 设置滚动行为改为平滑的滚动window.scrollTo({ top: 1000, behavior: "smooth" });. 注意. 该函数实际上和window.scroll是一样的。
確定! 回上一頁