xinyan 6 maanden geleden
bovenliggende
commit
35643c2ac5
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      src/views/computer-information/components/InfoCard.vue

+ 1 - 1
src/views/computer-information/components/InfoCard.vue

@@ -149,7 +149,7 @@ onMounted(() => {
       <el-row :gutter="20">
         <el-col v-for="(item, index) in tableOptions.data" :key="index" :lg="4" :md="6" :sm="8" :xl="4" :xs="12" class="my-2.5">
           <el-card class="item-card" shadow="hover" :body-style="{ padding: '20px 20px 5px 20px' }">
-            <div class="image-wrapper">
+            <div style="width: 150px; height: 150px;padding-bottom: 10px;margin: 0 auto; overflow: hidden; ">
               <el-image :src="getImageUrl(item.images)" alt="电脑图片" class="card-image">
                 <template #error>
                   <el-icon class="card-image" style="font-size: 4rem">