Fix:4740 【商城小程序】店铺封面为视频,封面图在康养顶部不显示(安卓手机)
This commit is contained in:
@@ -19,8 +19,16 @@
|
|||||||
<swiper-item v-for="(item, index) in traveItems" :key="index" >
|
<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 v12-mr-3 v12-mt-3" @click="toStore(item)">
|
||||||
<view class="trave-item">
|
<view class="trave-item">
|
||||||
<image class="trave-item" :src="item.cover"></image>
|
<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="flase" :show-play-btn="false" v-if="item.coverType === 2"></video> -->
|
<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>
|
||||||
<view class="trave-btn">
|
<view class="trave-btn">
|
||||||
<text>旅居预约</text>
|
<text>旅居预约</text>
|
||||||
@@ -267,4 +275,4 @@ export default {
|
|||||||
border-radius: 6rpx;
|
border-radius: 6rpx;
|
||||||
bottom: 5rpx;
|
bottom: 5rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user