|
@@ -3,7 +3,8 @@
|
|
<template>
|
|
<template>
|
|
<!-- 改版之后的卡片 -->
|
|
<!-- 改版之后的卡片 -->
|
|
<div class="not-open-custom-card custom-card">
|
|
<div class="not-open-custom-card custom-card">
|
|
- <div class="common-top">
|
|
|
|
|
|
+ <img class="customImg" v-if="posterType === 2 && !!customPosterInstalled" :src="customPosterInstalled" />
|
|
|
|
+ <div class="common-top" v-else>
|
|
<img class="cover" v-if="isLottaryCpd" :src="require('../static/svg/img-custom-lottary-bg.svg')" />
|
|
<img class="cover" v-if="isLottaryCpd" :src="require('../static/svg/img-custom-lottary-bg.svg')" />
|
|
<img class="cover" v-else :src="require('../static/svg/img-custom-common-bg.svg')" />
|
|
<img class="cover" v-else :src="require('../static/svg/img-custom-common-bg.svg')" />
|
|
<img class="gift" :src="require('../static/svg/icon-gift.gif')" />
|
|
<img class="gift" :src="require('../static/svg/icon-gift.gif')" />
|
|
@@ -17,11 +18,12 @@
|
|
</font-zoom>
|
|
</font-zoom>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+
|
|
<!-- 底部公共模块 -->
|
|
<!-- 底部公共模块 -->
|
|
<div class="common-bottom" v-if="showBottomInfo">
|
|
<div class="common-bottom" v-if="showBottomInfo">
|
|
<div class="theme">
|
|
<div class="theme">
|
|
<img v-if="isLottaryCpd" class="theme-icon" :src="require('../static/svg/icon-last-time.svg')"/>
|
|
<img v-if="isLottaryCpd" class="theme-icon" :src="require('../static/svg/icon-last-time.svg')"/>
|
|
- <span v-if="isLottaryCpd" class="theme-time" >{{validity}}</span>
|
|
|
|
|
|
+ <span v-if="isLottaryCpd" class="theme-time" >{{validity || '00:00:00'}}</span>
|
|
<span class="theme-info">{{isLottaryCpd ? 'Left' : 'Instant Giveaway'}}</span>
|
|
<span class="theme-info">{{isLottaryCpd ? 'Left' : 'Instant Giveaway'}}</span>
|
|
</div>
|
|
</div>
|
|
<div class="winner-info">
|
|
<div class="winner-info">
|
|
@@ -46,12 +48,14 @@ export default {
|
|
amountValue: 0,
|
|
amountValue: 0,
|
|
tokenSymbol: "",
|
|
tokenSymbol: "",
|
|
playType: 1,
|
|
playType: 1,
|
|
- validityDuration: '',
|
|
|
|
|
|
+ validityDuration: "",
|
|
userInfo: {},
|
|
userInfo: {},
|
|
rewardType: 1,
|
|
rewardType: 1,
|
|
customizedReward: "",
|
|
customizedReward: "",
|
|
validity: "",
|
|
validity: "",
|
|
- showBottomInfo: true
|
|
|
|
|
|
+ showBottomInfo: true,
|
|
|
|
+ customPosterInstalled: "",
|
|
|
|
+ posterType: 1
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -91,6 +95,10 @@ export default {
|
|
border-radius: 16px;
|
|
border-radius: 16px;
|
|
filter: drop-shadow(0px 2px 20px rgba(0, 0, 0, 0.1));
|
|
filter: drop-shadow(0px 2px 20px rgba(0, 0, 0, 0.1));
|
|
|
|
|
|
|
|
+ .customImg {
|
|
|
|
+ width: 100%;
|
|
|
|
+ min-height: 373px;
|
|
|
|
+ }
|
|
.common-top {
|
|
.common-top {
|
|
position: relative;
|
|
position: relative;
|
|
}
|
|
}
|