Fix(康养食材&文玩):[#1932]店铺封面为视频类型时,在店铺列表页面,店铺封面不显示(康养食材,文玩),改为显示视频第一帧

This commit is contained in:
lifizer
2024-07-05 21:19:47 +08:00
parent a72acdca54
commit 90a58aecd5
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -101,7 +101,7 @@
@click="goStore(item.id)"
>
<image
:src="item.cover"
:src="item.cover + (item.coverType === 2 ? '?vframe/jpg/offset/1' : '')"
class="cover"
mode="scaleToFill"
/>
@@ -115,7 +115,11 @@
<view class="one-t">{{ item.name }}</view>
</view>
</view>
<view class="item" @click="goGoods(item.id)" v-else>
<view
v-else
class="item"
@click="goGoods(item.id)"
>
<image
:src="item.image"
class="cover"