叶松
2023-11-27 7ebce39409e91cb55dd3332e00143e4ded718544
web/src/components/LookFile.vue
@@ -24,7 +24,7 @@
                  <img src="../assets/t.png" style="width: 100%; height: 100%;" v-if="item.type == 'txt'">
                  <img src="../assets/ppt.png" style="width: 100%; height: 100%;"
                     v-if="item.type == 'ppt'||item.type == 'pptx'">
                  <img :src="`https://pipe.thhy-tj.com/${item.url}`" style="width: 100%; height: 100%;"
                  <img :src="`https://szpipe.thhy-tj.com/${item.url}`" style="width: 100%; height: 100%;"
                     v-if="['png','jpg','gif'].includes(item.type)">
                  <div class="img-text">{{item.name}}</div>
               </div>
@@ -44,7 +44,7 @@
            <canvas v-else id="files"></canvas>
         </div>
         <div class="pdf-center" v-if="imgs">
            <img :src="`https://pipe.thhy-tj.com/${imgUrl}`" style="width: 100%; height: 100%;">
            <img :src="`https://szpipe.thhy-tj.com/${imgUrl}`" style="width: 100%; height: 100%;">
         </div>
      </el-dialog>
   </div>