Fix:3137 【商城小程序】产品--封面为视频的农民店铺列表页面未显示封面

This commit is contained in:
modendeveloper
2025-01-26 17:14:44 +08:00
parent 8e0caaca24
commit b0c019f50c
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -12,15 +12,16 @@
class="img"
mode="heightFix|widthFix">
</image>
<video
:src="item.farmerShopCover"
<image
:src="item.farmerShopCover + '?vframe/jpg/offset/1'"
mode="heightFix|widthFix"
v-if="item.farmerShopCoverType !== 1 && item.isFarmerShop"
:show-center-play-btn="false"
:show-fullscreen-btn="false"
:show-play-btn="false"
class="img"
:poster="item.farmerShopCover + '?vframe/jpg/offset/1'">
</video>
</image>
<image
v-if="item.isOldBrand"
:src="webUrl + '/home/old-mark.png'"
+1 -1
View File
@@ -583,7 +583,7 @@
<view>
<view class="focus-img">
<image :src="item.cover" v-if="item.coverType === 1" class="img" mode="heightFix|widthFix"></image>
<video :src="item.cover" v-else :show-center-play-btn="false" :show-fullscreen-btn="false" :show-play-btn="false" class="img" :poster="item.cover + '?vframe/jpg/offset/1'"></video>
<image mode="heightFix|widthFix" class="img" v-else :show-center-play-btn="false" :show-fullscreen-btn="false" :show-play-btn="false" :src="item.cover + '?vframe/jpg/offset/1'"></image>
<image
:src="webUrl + '/orderIcon/nm.png'"
class="mark-img"