Commit b09b4707 authored by miaojiale's avatar miaojiale

修改pdf预览

parent 8415b0ef
...@@ -19,7 +19,7 @@ export default { ...@@ -19,7 +19,7 @@ export default {
#vue-admin-beautiful { #vue-admin-beautiful {
height: 100vh; height: 100vh;
min-width: 1400px; min-width: 1100px;
overflow: auto; overflow: auto;
margin-right: calc(100% - 100vw); margin-right: calc(100% - 100vw);
} }
......
...@@ -7,9 +7,8 @@ ...@@ -7,9 +7,8 @@
:close-on-click-modal="true" :close-on-click-modal="true"
:close-on-press-escape="false" :close-on-press-escape="false"
:show-close="true" :show-close="true"
width="70%"
:destroy-on-close="true" :destroy-on-close="true"
top="10vh" top="2vh"
> >
<div class="innerBody"> <div class="innerBody">
<div class="title">{{ curPdf.articleTitle }}</div> <div class="title">{{ curPdf.articleTitle }}</div>
...@@ -49,13 +48,15 @@ export default { ...@@ -49,13 +48,15 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.innerBody { .innerBody {
padding: 0 60px 40px; padding: 0 50px 0px;
// width: 790px;
// height: 882px;
.title { .title {
font-size: 24px; font-size: 24px;
font-family: AlibabaPuHuiTiM; font-family: AlibabaPuHuiTiM;
color: #333333; color: #333333;
text-align: center; text-align: center;
margin-bottom: 30px; margin-bottom: 0px;
} }
.refuteList { .refuteList {
// height: 600px; // height: 600px;
...@@ -64,8 +65,12 @@ export default { ...@@ -64,8 +65,12 @@ export default {
} }
</style> </style>
<style lang="scss"> <style lang="scss">
.pdfDialog .el-dialog__header { .pdfDialog {
// display: none; width: 750px;
padding: 0px !important; max-height: 858px;
.el-dialog__header {
// display: none;
padding: 0px !important;
}
} }
</style> </style>
...@@ -111,7 +111,7 @@ export default { ...@@ -111,7 +111,7 @@ export default {
//缩小 //缩小
scaleX() { scaleX() {
// scale 是百分百展示 不建议缩放 // scale 是百分百展示 不建议缩放
if (this.scale == 100) { if (this.scale == 85) {
return return
} }
this.scale += -5 this.scale += -5
...@@ -190,9 +190,8 @@ export default { ...@@ -190,9 +190,8 @@ export default {
.show { .show {
overflow: auto; overflow: auto;
margin: auto; margin: auto;
// max-width: 75%; max-width: 790px;
height: 450px; max-height: 660px;
// max-height: 530px;
} }
.pdf_footer { .pdf_footer {
position: sticky; position: sticky;
...@@ -224,7 +223,7 @@ export default { ...@@ -224,7 +223,7 @@ export default {
border-radius: 10px; border-radius: 10px;
padding: 5px; padding: 5px;
color: #fff; color: #fff;
background-color: #3dcbbc; background-color: #4e68ff;
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment