js页面滚动定位
$(".navigation").children().eq(0).click(function() {
$("html, body").animate({scrollTop: $(".footer").offset().top }, {duration: 500,easing: "swing"});
return false;
document.getElementById("divId").scrollIntoView();
});
https://www.cnblogs.com/ictlight-moving-on-1/p/5753785.html