在主体内容前加个这个样式的锚点即可
.target-fix {
position: relative;
top: -px; // 偏移值
display: block;
height: ;
overflow: hidden;
}
在主体内容前加个这个样式的锚点即可
.target-fix {
position: relative;
top: -px; // 偏移值
display: block;
height: ;
overflow: hidden;
}