mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-19 15:56:45 +08:00
排行榜
This commit is contained in:
@@ -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";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user