Fix:4777 【商城小程序】如果某商品有产品故事封面,则将产品故事封面图显示在第一位

This commit is contained in:
LinCyJang
2025-12-30 23:21:12 +08:00
parent 3caa936e1e
commit 0c07084775
3 changed files with 49 additions and 14 deletions
@@ -27,7 +27,7 @@
<image :src="product.image" class="pro-cover-image" mode="widthFix|heightFix" />
</view>
<view class="good-story"
v-if="product.productStory"
v-if="product.productStory && item.isShowProductStory"
:style="{
right: (item.productStoryX*2 || 0) + 'rpx',
top: (item.productStoryY*2 || 0) + 'rpx'
+1 -1
View File
@@ -15,7 +15,7 @@
</view>
<view
class="good-story"
v-if="card.isBlind !== 1 && card.giftProducts[0].productStory"
v-if="card.isBlind !== 1 && card.giftProducts[0].productStory && card.isShowProductStory"
:style="{
right: (card.productStoryX*2 || 0) + 'rpx',
top: (card.productStoryY*2 || 0) + 'rpx'