Fix:4740 【商城小程序】店铺封面为视频,封面图在康养顶部不显示(安卓手机)

This commit is contained in:
LinCyJang
2025-12-28 20:31:09 +08:00
parent d70440b948
commit 6a6da9b3a6
+11 -3
View File
@@ -19,8 +19,16 @@
<swiper-item v-for="(item, index) in traveItems" :key="index" >
<view class="trave-item v12-mr-3 v12-mt-3" @click="toStore(item)">
<view class="trave-item">
<image class="trave-item" :src="item.cover"></image>
<!-- <video class="trave-item" :src="item.cover" :show-fullscreen-btn="false" :show-center-play-btn="flase" :show-play-btn="false" v-if="item.coverType === 2"></video> -->
<image class="trave-item" :src="item.cover" v-if="item.coverType === 1"></image>
<video
class="trave-item"
:src="item.cover"
:show-fullscreen-btn="false"
:show-center-play-btn="false"
:show-play-btn="false"
:poster="item.cover + '?vframe/jpg/offset/1'"
v-if="item.coverType === 2"
></video>
</view>
<view class="trave-btn">
<text>旅居预约</text>
@@ -267,4 +275,4 @@ export default {
border-radius: 6rpx;
bottom: 5rpx;
}
</style>
</style>