yuanyiming 2 gadi atpakaļ
vecāks
revīzija
856feb2299
1 mainītis faili ar 3 papildinājumiem un 7 dzēšanām
  1. 3 7
      src/views/firm.vue

+ 3 - 7
src/views/firm.vue

@@ -116,16 +116,12 @@
     <el-dialog
       title="展示文件"
       :visible.sync="showFile"
-      width="80vw"
+      width="70vw"
       class="addDialog showDialog"
     >
       <div class="addDialogLogo">LOGO</div>
       <div class="showFileArea">
-        <!-- <vpdf v-if="/^\s*$/g.test(showFileUrl)&&showFileUrl.split('.')[showFileUrl.split('.').length-1]=='pdf'" :pdfUrl="showFileUrl"></vpdf> -->
-        <!-- <vword v-if="showFileType == 0" :pdfUrl="showFileUrl"></vword> -->
-        <!-- <vpdf v-else :pdfUrl="showFileUrl"></vpdf> -->
-        <!-- <vpdf  v-if="showFileType == 1" :pdfUrl="showFileUrl"></vpdf> -->
-        <!-- <img v-if="showFileType == 2" :src="showFileUrl" style="width: auto;height: auto;max-width: 100%;max-height: 100%;" alt=""> -->
+        
         <vword
             style="width: 100%; height: 100%; overflow: auto"
             class="fullStyle"
@@ -420,6 +416,6 @@ export default {
 // }
 .showFileArea {
   width: 100%;
-  height: 65vh;
+  height: 70vh;
 }
 </style>