fix: carousal

This commit is contained in:
ilhamtahir committed 2024-12-25 17:14:39 +08:00
1 parent e286106b11
commit e46919a938
1 file changed
+1 -1
+1 -1
View File
@@ -198,7 +198,7 @@ init()
<swiper class="swiper-box" @change="change"> <swiper class="swiper-box" @change="change">
<swiper-item v-for="(item, index) in info" :key="index"> <swiper-item v-for="(item, index) in info" :key="index">
<view class="swiper-item w-full h-full flex items-center justify-center"> <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> </view>
</swiper-item> </swiper-item>
</swiper> </swiper>