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