This commit is contained in:
daihh
2022-06-14 00:08:21 +08:00
parent 6c75f318be
commit a4d045f42e
2 changed files with 4 additions and 3 deletions

View File

@@ -162,10 +162,11 @@ export default {
let innerHeight = document.querySelector('#pdf-perView').clientHeight let innerHeight = document.querySelector('#pdf-perView').clientHeight
let outerHeight = document.documentElement.clientHeight let outerHeight = document.documentElement.clientHeight
let scrollTop = document.documentElement.scrollTop let scrollTop = document.documentElement.scrollTop
if(this.isscroll){ let $this=this;
if(this.isscroll){
this.showPages++; this.showPages++;
this.moreState = 2; this.moreState = 2;
this.debounce(this.loadInitPdf(),5000); this.debounce(this.loadInitPdf($this.filePath),5000);
} }
if(this.pdfpage >= this.totalPages){ if(this.pdfpage >= this.totalPages){
this.isscroll = false; this.isscroll = false;

View File

@@ -535,7 +535,7 @@ export default {
} }
.jianjie { .jianjie {
// margin: 15px 0; // margin: 15px 0;
background-color: #fff; background-color: #f5f7fa;
min-height: 300px; min-height: 300px;
padding: 0px 0px 10px 0px; padding: 0px 0px 10px 0px;
.content { .content {