到相对应的元素位置。
setTimeout(function () {
document.getElementById("aa").scrollIntoView({
behavior: "smooth",
block: "start"
})
},500)
setTimeout(function () {
document.getElementById("aa").scrollIntoView({
behavior: "smooth",
block: "start"
})
},500)