liyongli %!s(int64=2) %!d(string=hai) anos
pai
achega
f5dc92a59f
Modificáronse 1 ficheiros con 2 adicións e 12 borrados
  1. 2 12
      src/view/allMedia/components/reporting_list.vue

+ 2 - 12
src/view/allMedia/components/reporting_list.vue

@@ -96,12 +96,7 @@
               style="padding: 2px 0; position: relative;padding-right: 112px;"
             >
               <span v-if="v.type == 0" v-text="v.materialUrl"></span>
-              <img
-                v-if="v.type == 1"
-                :src="v.localUrl"
-                alt="图片丢失"
-                style="width: 80px"
-              />
+              <el-image v-if="v.type == 1" style="width: 100px; height: 100px" :src="v.localUrl" fit="contain" :preview-src-list="[v.localUrl]" />
               <small
                 style="
                   color: #999;
@@ -138,12 +133,7 @@
             style="padding: 2px 0; position: relative;padding-right: 112px;"
           >
             <span v-if="v.type == 0" v-text="v.materialUrl"></span>
-            <img
-              v-if="v.type == 1"
-              :src="v.localUrl"
-              alt="图片丢失"
-              style="width: 80px"
-            />
+            <el-image v-if="v.type == 1" style="width: 100px; height: 100px" :src="v.localUrl" fit="contain" :preview-src-list="[v.localUrl]" />
             <small
               style="
                 color: #999;