xuqiang %!s(int64=4) %!d(string=hai) anos
pai
achega
708a857a05
Modificáronse 1 ficheiros con 10 adicións e 9 borrados
  1. 10 9
      src/main/zhi-rong-web/src/views/detail/TechnicalManager.vue

+ 10 - 9
src/main/zhi-rong-web/src/views/detail/TechnicalManager.vue

@@ -3,7 +3,8 @@
         <div class="main" v-loading="loading">
             <div class="top">
                 <div class="img">
-                    <el-carousel height="360px">
+                    <el-image :src="getImg(info.avatar)" fit="fill"></el-image>
+                    <!-- <el-carousel height="360px">
                         <el-carousel-item v-for="(item, index) in imgs" :key="index">
                             <el-image
                                 :src="item"
@@ -11,7 +12,7 @@
                                 style="width: 100%; height: 100%; border-radius: 100%"
                             ></el-image>
                         </el-carousel-item>
-                    </el-carousel>
+                    </el-carousel> -->
                 </div>
 
                 <div class="info">
@@ -109,13 +110,13 @@ export default {
         };
     },
     computed: {
-        imgs() {
-            if (this.info.avatar && this.info.avatar.length > 0) {
-                return this.info.avatar;
-            } else {
-                return [this.getImg()];
-            }
-        }
+        // imgs() {
+        //     if (this.info.avatar && this.info.avatar.length > 0) {
+        //         return this.info.avatar;
+        //     } else {
+        //         return [this.getImg()];
+        //     }
+        // }
     },
     watch: {
         $route() {