提交 8ccabcee 编写于 作者: guangjun.yang's avatar guangjun.yang

解决高度问题

上级 c7193b64
...@@ -521,8 +521,8 @@ export default { ...@@ -521,8 +521,8 @@ export default {
if (this.isWeb) { if (this.isWeb) {
h = cataOffsetTop - titleOffsetHeight; h = cataOffsetTop - titleOffsetHeight;
} else { } else {
h = cataOffsetTop - 75 - titleOffsetHeight; // h = cataOffsetTop - 75 - titleOffsetHeight;
h = cataOffsetTop - 75; h = cataOffsetTop - 100;
} }
window.scrollTo(0, h); window.scrollTo(0, h);
this.isBlack = true; this.isBlack = true;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册