排行榜

This commit is contained in:
lmj
2022-11-01 13:46:14 +08:00
parent a34e081116
commit 9f60da21da
2 changed files with 2 additions and 2 deletions

View File

@@ -405,7 +405,7 @@ export default {
} }
if(scrollTop > 630) { if(scrollTop > 630) {
this.isTopBoxShow = true; this.isTopBoxShow = true;
document.querySelector('#fixd-box').style.cssText = "position: fixed;top: -442px;width:"+outerWidth+"px"; document.querySelector('#fixd-box').style.cssText = "position: fixed;top: -400px;width:"+outerWidth+"px";
} else { } else {
document.querySelector('#fixd-box').style.cssText = "position: static"; document.querySelector('#fixd-box').style.cssText = "position: static";
} }

View File

@@ -499,7 +499,7 @@ export default {
} }
if (scrollTop > 630) { if (scrollTop > 630) {
document.querySelector("#fixd-box").style.cssText = document.querySelector("#fixd-box").style.cssText =
"position: fixed;top: -442px;width:"+outerWidth+"px"; "position: fixed;top: -400px;width:"+outerWidth+"px";
} else { } else {
document.querySelector("#fixd-box").style.cssText = "position: static"; document.querySelector("#fixd-box").style.cssText = "position: static";
} }