This commit is contained in:
zhaofang
2022-06-14 16:49:24 +08:00
parent 0ae9d16f05
commit 8c6c95669d

View File

@@ -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 {