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