jquery锚点定位
$(‘body,html‘).animate({scrollTop: $(‘#ter1‘).offset().top}, 500);#ter1是你要定位的id对象,500是0.5秒执行完成
锚点定位,jquery定位到页面指定位置
原文:https://www.cnblogs.com/cuihongyu3503319/p/9987362.html