Fix:4696 【旅居商城小程序】礼包领取页面:商品图尺寸偏小,位置偏下,与管理后台配置效果不一致
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="dialog-conent" v-show="isLogin">
|
<view class="dialog-conent" v-show="isLogin">
|
||||||
<view class="gift-card-modal" >
|
<view class="gift-card-modal" >
|
||||||
<image class="bg-image" :src="!card.isBlind ? card.cover : card.blindBoxImage" mode="aspectFit|aspectFill|widthFix" lazy-load="false"></image>
|
<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="{
|
<view v-if="card.isBlind !== 1" class="image-wrap" :style="{
|
||||||
top: card.productImageY*2 + 'rpx',
|
top: card.productImageY*2 + 'rpx',
|
||||||
left: card.productImageX*2 + 'rpx'
|
left: card.productImageX*2 + 'rpx'
|
||||||
@@ -35,19 +35,19 @@
|
|||||||
<u-icon :name="webUrl + '/icon/share.png'" ></u-icon>
|
<u-icon :name="webUrl + '/icon/share.png'" ></u-icon>
|
||||||
</button>
|
</button>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="myGift.isCurrentUser === 1 && !card.isBlind" @click="toOrder" style="z-index: 10; display: flex;flex-direction: column;align-items: center;">
|
<view v-if="myGift.isCurrentUser === 1 && !card.isBlind" @click="toOrder" style="z-index: 10; display: flex;flex-direction: column;align-items: center;margin-top:200rpx;">
|
||||||
<view class="address-btn v12-white-text v12-primary">
|
<view class="address-btn v12-white-text v12-primary">
|
||||||
您已领取礼包
|
您已领取礼包
|
||||||
</view>
|
</view>
|
||||||
<view class="info-btn v12-text-center v12-font-32 v12-mt-3">查看礼包详情>></view>
|
<view class="info-btn v12-text-center v12-font-32 v12-mt-3">查看礼包详情>></view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="myGift.isCurrentUser === 1 && card.isBlind" style="z-index: 10; display: flex;flex-direction: column;align-items: center;">
|
<view v-if="myGift.isCurrentUser === 1 && card.isBlind" style="z-index: 10; display: flex;flex-direction: column;align-items: center;margin-top:200rpx;">
|
||||||
<view style="width: fit-content;" class="address-btn v12-white-text v12-primary" @click="toOrder">
|
<view style="width: fit-content;" class="address-btn v12-white-text v12-primary" @click="toOrder">
|
||||||
您已领取礼包,去看看>>
|
您已领取礼包,去看看>>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-btn v12-text-center v12-font-32 v12-mt-3" @click.stop="searchGift">我也要送礼</view>
|
<view class="info-btn v12-text-center v12-font-32 v12-mt-3" @click.stop="searchGift">我也要送礼</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="isReceive && myGift.isCurrentUser !== 1" @click="toHome" style="z-index: 10; display: flex;flex-direction: column;align-items: center;">
|
<view v-if="isReceive && myGift.isCurrentUser !== 1" @click="toHome" style="z-index: 10; display: flex;flex-direction: column;align-items: center;margin-top:200rpx;">
|
||||||
<view class="address-btn v12-white-text v12-primary">
|
<view class="address-btn v12-white-text v12-primary">
|
||||||
礼包已被领取
|
礼包已被领取
|
||||||
</view>
|
</view>
|
||||||
@@ -64,13 +64,13 @@
|
|||||||
<u-icon :name="webUrl + '/icon/share.png'" ></u-icon>
|
<u-icon :name="webUrl + '/icon/share.png'" ></u-icon>
|
||||||
</button>
|
</button>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="card.isOverReceive === 1" @click="toHome" style="z-index: 10; display: flex;flex-direction: column;align-items: center;">
|
<view v-if="card.isOverReceive === 1" @click="toHome" style="z-index: 10; display: flex;flex-direction: column;align-items: center;margin-top:200rpx;">
|
||||||
<view class="address-btn v12-white-text v12-primary">
|
<view class="address-btn v12-white-text v12-primary">
|
||||||
礼包已被领取
|
礼包已被领取
|
||||||
</view>
|
</view>
|
||||||
<view class="info-btn v12-text-center v12-font-32 v12-mt-3" style="z-index: 10">去商城看看>></view>
|
<view class="info-btn v12-text-center v12-font-32 v12-mt-3" style="z-index: 10">去商城看看>></view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="card.isUserReceive === 1 && card.isOverReceive === 0" style="z-index: 10; display: flex;flex-direction: column;align-items: center;">
|
<view v-if="card.isUserReceive === 1 && card.isOverReceive === 0" style="z-index: 10; display: flex;flex-direction: column;align-items: center;margin-top:200rpx;">
|
||||||
<view style="width: fit-content;" class="address-btn v12-white-text v12-primary" @click="toOrder">
|
<view style="width: fit-content;" class="address-btn v12-white-text v12-primary" @click="toOrder">
|
||||||
您已领取礼包,去看看>>
|
您已领取礼包,去看看>>
|
||||||
</view>
|
</view>
|
||||||
@@ -326,6 +326,7 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-content: center;
|
align-content: center;
|
||||||
|
margin-top: 200rpx;
|
||||||
}
|
}
|
||||||
.bg-image{
|
.bg-image{
|
||||||
width: 420rpx;
|
width: 420rpx;
|
||||||
|
|||||||
Reference in New Issue
Block a user