$("html,body").animate({scrollTop:$("#ct").offset().top},500) 滚动至ID为ct元素位置,500毫秒 转载于:https://www.cnblogs.com/haohaosky/p/8087142.html