老是忘记这个函数名,记录一下啊 // 滚动到可视区域 document.querySelector(".loading").scrollIntoView() 转载于:https://www.cnblogs.com/CyLee/p/9841891.html