周立森 5 лет назад
Родитель
Сommit
b41d572c07
2 измененных файлов: 3 добавлений и 3 удалений
  1. 2
    2
      src/components/Wheelplanting.vue
  2. 1
    1
      src/views/Case.vue

+ 2
- 2
src/components/Wheelplanting.vue Просмотреть файл

@@ -5,9 +5,9 @@
5 5
         <div class="swiper-slide" v-for="(url,index) in blogs" :key="index+'url'">
6 6
           <div class="size">
7 7
             <router-link :to="{ name: 'details', params: { id: url.link }}" v-if="url.link" class="routelink">
8
-           <img class="imgrul" :src="url.imageUrl" />
8
+           <img class="imgrul" :src="url.imageUrl" style="object-fit: cover" />
9 9
           </router-link>
10
-            <img v-else class="imgrul" :src="url.imageUrl" />
10
+            <img v-else class="imgrul" :src="url.imageUrl" style="object-fit: cover"/>
11 11
           </div>
12 12
         </div>
13 13
       </div>

+ 1
- 1
src/views/Case.vue Просмотреть файл

@@ -32,7 +32,7 @@
32 32
             <button type="button" @click="() => filterCase()" class="btn-link" style="color:black;font-size: 24px;" :class="{btnactive:thisbtn==''}">全部案例</button>
33 33
           </el-col>-->
34 34
           <el-col :span="24">
35
-            <van-picker class="values" :columns="columns" @cancel="drawer = false" :class="{btnactive:thisbtn==values}" @confirm="onConfirm" @change="onChange"  />
35
+            <van-picker class="values" :columns="columns" @cancel="drawer = false"  @confirm="onConfirm" @change="onChange"  />
36 36
           </el-col>
37 37
           <!-- <el-col :span="24" v-for="cas in casetype" :key="cas.id"> value-key=''
38 38