diff --git a/src/App.vue b/src/App.vue index cce1dd5ce7670b132df9f6d561833c3a46e1c2d8..eebf488f0e46c762fe4a1d3adc33adffa851627c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -19,7 +19,7 @@ export default { #vue-admin-beautiful { height: 100vh; - min-width: 1400px; + min-width: 1100px; overflow: auto; margin-right: calc(100% - 100vw); } diff --git a/src/views/Home/PdfDialog/index.vue b/src/views/Home/PdfDialog/index.vue index 4e159e6c673237061d9b87aa75c0b2910025d45f..b9ec78b808089e08a0560096cb2d9e147857aaaa 100644 --- a/src/views/Home/PdfDialog/index.vue +++ b/src/views/Home/PdfDialog/index.vue @@ -7,9 +7,8 @@ :close-on-click-modal="true" :close-on-press-escape="false" :show-close="true" - width="70%" :destroy-on-close="true" - top="10vh" + top="2vh" >
{{ curPdf.articleTitle }}
@@ -49,13 +48,15 @@ export default { diff --git a/src/views/Home/PdfView/index.vue b/src/views/Home/PdfView/index.vue index 780d65023a5aa0a732f442609a8344f0d8d7a11a..b54d0243ffb94de97b0f4423bfc3ab5364891d97 100644 --- a/src/views/Home/PdfView/index.vue +++ b/src/views/Home/PdfView/index.vue @@ -111,7 +111,7 @@ export default { //缩小 scaleX() { // scale 是百分百展示 不建议缩放 - if (this.scale == 100) { + if (this.scale == 85) { return } this.scale += -5 @@ -190,9 +190,8 @@ export default { .show { overflow: auto; margin: auto; - // max-width: 75%; - height: 450px; - // max-height: 530px; + max-width: 790px; + max-height: 660px; } .pdf_footer { position: sticky; @@ -224,7 +223,7 @@ export default { border-radius: 10px; padding: 5px; color: #fff; - background-color: #3dcbbc; + background-color: #4e68ff; } } }