Appearance
a标签设置锚点,url不显示锚点
html
<div id="div-id"></div>
<a href="javascript:void(0);" οnclick="document.getElementById('div-id').scrollIntoView()"></a>