md
This commit is contained in:
parent
635424d077
commit
140eb5b164
@ -184,8 +184,8 @@ export default {
|
||||
},
|
||||
showFirstFile(){
|
||||
if(this.isA4){
|
||||
this.scale=75;
|
||||
this.preScale=75;
|
||||
this.scale=50;
|
||||
this.preScale=50;
|
||||
this.pageCount=this.cacheA4FileList.length;
|
||||
setTimeout( this.showA4Page(this.cacheA4FileList.length),3000);
|
||||
}else{
|
||||
@ -409,8 +409,9 @@ export default {
|
||||
|
||||
.grid2 {
|
||||
height: 200px;
|
||||
background-image: radial-gradient(circle, rgb(165, 165, 165) 1px, #fff 1px);
|
||||
background-size: 20px 20px;
|
||||
// background-image: radial-gradient(circle, rgb(165, 165, 165) 1px, #fff 1px);
|
||||
background-image: radial-gradient(circle, #4a4a4a 1px, #3f3f3f 1px);
|
||||
background-size: 15px 15px;
|
||||
background-position: center center;
|
||||
}
|
||||
|
||||
|
||||
@ -39,8 +39,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<div style="min-height:1600px;margin: 0 auto;overflow: auto;">
|
||||
<!-- <el-scrollbar style="height:800px"> -->
|
||||
<!-- </el-scrollbar> -->
|
||||
<div class="pdf-wrapper">
|
||||
<pdf
|
||||
:src="currentPdfUrl"
|
||||
@ -49,7 +47,6 @@
|
||||
@page-loaded="onPageLoaded($event)"
|
||||
ref="pdf"
|
||||
></pdf>
|
||||
<!-- v-drag -->
|
||||
</div>
|
||||
|
||||
|
||||
@ -103,9 +100,8 @@ export default {
|
||||
cacheA4FileList:[],
|
||||
thisPageCount:1,
|
||||
|
||||
|
||||
scale: 20,
|
||||
preScale: 20,
|
||||
scale: 30,
|
||||
preScale: 30,
|
||||
|
||||
pdfUtils:new PdfUtils(),
|
||||
|
||||
@ -134,7 +130,7 @@ export default {
|
||||
if(this.isA4){
|
||||
this.doScale(75);
|
||||
}else{
|
||||
this.doScale(20);
|
||||
this.doScale(30);
|
||||
}
|
||||
},
|
||||
isLoadComplete(newVal,oldVal){
|
||||
@ -191,8 +187,8 @@ export default {
|
||||
this.pageCount=this.cacheA4FileList.length;
|
||||
setTimeout( this.showA4Page(this.cacheA4FileList.length),3000);
|
||||
}else{
|
||||
this.scale=20;
|
||||
this.preScale=20;
|
||||
this.scale=30;
|
||||
this.preScale=30;
|
||||
this.pageCount=this.cacheFileList.length;
|
||||
setTimeout( this.showSinglePage(1),2000);
|
||||
}
|
||||
@ -420,8 +416,9 @@ export default {
|
||||
|
||||
.grid2 {
|
||||
height: 200px;
|
||||
background-image: radial-gradient(circle, rgb(165, 165, 165) 1px, #fff 1px);
|
||||
background-size: 20px 20px;
|
||||
// background-image: radial-gradient(circle, rgb(165, 165, 165) 1px, #fff 1px);
|
||||
background-image: radial-gradient(circle, #4a4a4a 1px, #3f3f3f 1px);
|
||||
background-size: 15px 15px;
|
||||
background-position: center center;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user