使用錨點跳轉 分兩步:code
1·設置錨點get
<a name="target"></a>
2·跳轉錨點co
<a href="#target">跳轉</a>tar
點擊跳轉就能跳轉到target的位置。