2016-11-17 链接平滑滚动至锚点 代码: 代码:搜索框:123456$('.column').click(function () { $('html, body').animate({ scrollTop:$($(this).attr('href')).offset().top }, 500); return false;});