Task:产品故事

This commit is contained in:
LinCyJang
2025-12-28 20:00:42 +08:00
parent 5ba8a653a7
commit d70440b948
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -15,13 +15,13 @@
</view>
<view
class="good-story"
v-if="card.isBlind !== 1"
v-if="card.isBlind !== 1 && card.giftProducts[0].productStory"
:style="{
right: (card.productStoryX*2 || 0) + 'rpx',
top: (card.productStoryY*2 || 0) + 'rpx'
}"
>
<view v-for="(line, j) in card.productStory ? card.productStory.split('/n') : productStory.split('/n')" :key="j">{{ line }}</view>
<view v-for="(line, j) in card.giftProducts[0].productStory.split('/n')" :key="j">{{ line }}</view>
</view>
<view class="wrap-box">