Fix(送礼):[#6064]收礼方查看的AI礼包封面图不需要显示商品图片
This commit is contained in:
@@ -1,25 +1,42 @@
|
||||
<template>
|
||||
<view class="dialog-conent" v-show="isLogin">
|
||||
<view class="gift-card-modal" :class="{'ios-cover': isIOS}">
|
||||
<image class="bg-image" :src="!card.isBlind ? card.cover : card.blindBoxImage" mode="widthFix" lazy-load="false"></image>
|
||||
<view v-if="card.isBlind !== 1" class="image-wrap" :style="{
|
||||
top: card.productImageY*2 + 'rpx',
|
||||
left: card.productImageX*2+ 'rpx'
|
||||
}">
|
||||
<image v-if="!isTravelGroup" class="pro-image" :src="card.giftProducts[0].productImage" mode="aspectFit|aspectFill|widthFix" lazy-load="false">
|
||||
|
||||
</image>
|
||||
<image v-if="isTravelGroup" class="pro-image" :src="card.travelGroupProduct.mainImage" mode="aspectFit|aspectFill|widthFix" lazy-load="false">
|
||||
|
||||
</image>
|
||||
<image
|
||||
class="bg-image"
|
||||
:src="!card.isBlind ? card.cover : card.blindBoxImage"
|
||||
mode="widthFix"
|
||||
lazy-load="false"
|
||||
/>
|
||||
<view
|
||||
v-if="card.isBlind !== 1 && !card.isUseAiCoverImg"
|
||||
:style="{
|
||||
top: card.productImageY*2 + 'rpx',
|
||||
left: card.productImageX*2+ 'rpx'
|
||||
}"
|
||||
class="image-wrap"
|
||||
>
|
||||
<image
|
||||
v-if="!isTravelGroup"
|
||||
:src="card.giftProducts[0].productImage"
|
||||
mode="aspectFit|aspectFill|widthFix"
|
||||
lazy-load="false"
|
||||
class="pro-image"
|
||||
/>
|
||||
<image
|
||||
v-if="isTravelGroup"
|
||||
:src="card.travelGroupProduct.mainImage"
|
||||
mode="aspectFit|aspectFill|widthFix"
|
||||
lazy-load="false"
|
||||
class="pro-image"
|
||||
/>
|
||||
</view>
|
||||
<view
|
||||
class="good-story"
|
||||
v-if="card.isBlind !== 1 && card.giftProducts && card.giftProducts[0].productStory && card.isShowProductStory"
|
||||
v-if="card.isBlind !== 1 && card.giftProducts && card.giftProducts[0].productStory && card.isShowProductStory && !card.isUseAiCoverImg"
|
||||
:style="{
|
||||
right: (card.productStoryX*2 || 0) + 'rpx',
|
||||
top: (card.productStoryY*2 || 0) + 'rpx'
|
||||
}"
|
||||
class="good-story"
|
||||
>
|
||||
<view v-for="(line, j) in card.giftProducts[0].productStory.split('/n')" :key="j">{{ line }}</view>
|
||||
</view>
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
:card="giftCard"
|
||||
:isTravelGroup="isTravelGroup"
|
||||
:addr="giftChooseAddress"
|
||||
@receive="onReceive($event)" />
|
||||
@receive="onReceive($event)"
|
||||
/>
|
||||
<view v-else>
|
||||
<view class="no-img-wrap" v-if="isExpire">
|
||||
<view class="wrap-box" >
|
||||
|
||||
Reference in New Issue
Block a user