document.getElementById('main').scrollTo({
top:100,//你想跳转到的位置
behavior: 'smooth',
});
vue楼梯导航平滑跳转
最新推荐文章于 2023-12-21 18:47:41 发布
document.getElementById('main').scrollTo({
top:100,//你想跳转到的位置
behavior: 'smooth',
});