|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<!--使用 pdfvuer 实现 滑动浏览 单印章-->
|
|
|
<div class="pdf">
|
|
|
- <div class="loading" v-if="loading">
|
|
|
+ <div class="loading" v-show="loading">
|
|
|
<span>pdf可能会加载时间有点长,请耐心等待...</span>
|
|
|
</div>
|
|
|
<div id="contentArea" class="show">
|
|
@@ -135,31 +135,21 @@ export default {
|
|
|
}
|
|
|
.pdf {
|
|
|
height: 100%;
|
|
|
+ width: 100%;
|
|
|
position: relative;
|
|
|
box-sizing: border-box;
|
|
|
+ overflow-x: hidden;
|
|
|
+ overflow-y: auto;
|
|
|
}
|
|
|
.pdf .show {
|
|
|
- /* overflow: auto; */
|
|
|
margin: auto;
|
|
|
width: 100%;
|
|
|
- /* height: calc(100%); */
|
|
|
- /* max-height: 100%; */
|
|
|
- /* min-height: 100%; */
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
}
|
|
|
|
|
|
.pdf .show .p-pdf {
|
|
|
- /* width: calc(100% / 5 - 60px); */
|
|
|
- width: 100%;
|
|
|
- /* overflow: hidden; */
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- flex-direction: column;
|
|
|
- justify-content: center;
|
|
|
- /* margin-bottom: 50px; */
|
|
|
- /* margin: 25px; */
|
|
|
- position: relative;
|
|
|
+ overflow: hidden;
|
|
|
}
|
|
|
.pdf .show .p-pdf .line {
|
|
|
position: absolute;
|