ソースを参照

fix: carousal

IlhamTahir 1 年間 前
コミット
e46919a938
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/pages/pet-manual/index.vue

+ 1 - 1
src/pages/pet-manual/index.vue

@@ -198,7 +198,7 @@ init()
           <swiper class="swiper-box" @change="change">
             <swiper-item v-for="(item, index) in info" :key="index">
               <view class="swiper-item w-full h-full flex items-center justify-center">
-                <image :src="item.imageUrl" mode="heightFix" class="w-full h-full" @tap="handleJumpUrl(item)" />
+                <image :src="item.imageUrl" mode="widthFix" @tap="handleJumpUrl(item)" />
               </view>
             </swiper-item>
           </swiper>