mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 11:56:44 +08:00
This commit is contained in:
@@ -149,20 +149,21 @@ export default {
|
||||
let outerHeight = document.documentElement.clientHeight
|
||||
let scrollTop = document.documentElement.scrollTop
|
||||
let $this=this;
|
||||
if(this.pdfpage >= this.totalPages){
|
||||
this.isscroll = false;
|
||||
this.moreState = 3;
|
||||
}
|
||||
if(this.showPages >= this.totalPages){
|
||||
this.isscroll = false;
|
||||
this.moreState = 3;
|
||||
}
|
||||
if(this.isscroll){
|
||||
this.showPages++
|
||||
this.moreState = 2;
|
||||
// this.debounce(this.loadInitPdf($this.filePath),5000);
|
||||
// this.debounce(,200000);
|
||||
}
|
||||
if(this.pdfpage >= this.totalPages){
|
||||
this.isscroll = false;
|
||||
this.moreState = 3;
|
||||
}
|
||||
if(this.showPages >= this.totalPages){
|
||||
this.isscroll = false;
|
||||
this.moreState = 3;
|
||||
}
|
||||
|
||||
// if(scrollTop > 400) {
|
||||
// document.querySelector('#articleAnking').style.cssText = "position: fixed;top: 0;width:242.5px";
|
||||
// } else {
|
||||
|
||||
Reference in New Issue
Block a user