mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-23 01:36:44 +08:00
首页页面
This commit is contained in:
@@ -196,9 +196,9 @@ export default {
|
||||
let outerHeight = document.documentElement.clientHeight
|
||||
let scrollTop = document.documentElement.scrollTop
|
||||
if(scrollTop > 400) {
|
||||
document.querySelector('#article-detail').style.cssText = "position: fixed;top: 0;width:242.5px";
|
||||
document.querySelector('#articleAnking').style.cssText = "position: fixed;top: 0;width:242.5px";
|
||||
} else {
|
||||
document.querySelector('#article-detail').style.cssText = "position: static";
|
||||
document.querySelector('#articleAnking').style.cssText = "position: static";
|
||||
}
|
||||
},
|
||||
saveSuccess(data){
|
||||
|
||||
Reference in New Issue
Block a user