lrf402788946 пре 5 година
родитељ
комит
bbf552c4a1
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/layout/member/dangjian.vue

+ 2 - 2
src/layout/member/dangjian.vue

@@ -47,8 +47,8 @@
           <el-col :span="24" class="infoCenterList">
             <el-col :span="12" class="dangjianList" v-for="(item, index) in infosList" :key="index" @click.native="$turnTo(item)">
               <el-col :span="24" class="imageTit">
-                <el-image style="width:180px;height:120px;" :src="item.pic" v-if="item.pic"></el-image>
-                <el-image style="width:180px;height:120px;" :src="Nopic" v-else></el-image>
+                <el-image style="width:180px;height:120px;" fit="contain" :src="item.pic" v-if="item.pic"></el-image>
+                <el-image style="width:180px;height:120px;" fit="contain" :src="Nopic" v-else></el-image>
               </el-col>
               <el-col :span="24" class="title">
                 <p>{{ item.title }}</p>