Commit fb1d004c authored by yht15023815643's avatar yht15023815643

样式

parent 4d95f73c
......@@ -312,8 +312,8 @@ export default {
anchorClick(i) {
var a = document.getElementById('anchor-'+i)
a.scrollIntoView()
document.body.scrollTop += -56
document.documentElement.scrollTop += -56
// document.body.scrollTop += -40
// document.documentElement.scrollTop += -40
setTimeout(() => {
this.anchorIndex = i
}, 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment