|
@@ -23,6 +23,8 @@
|
|
amountValue: baseFormData.amountValue,
|
|
amountValue: baseFormData.amountValue,
|
|
tokenSymbol: currentCurrencyInfo.tokenSymbol,
|
|
tokenSymbol: currentCurrencyInfo.tokenSymbol,
|
|
currencyIconUrl: currentCurrencyInfo.iconPath,
|
|
currencyIconUrl: currentCurrencyInfo.iconPath,
|
|
|
|
+ type: baseFormData.type,
|
|
|
|
+ validityDuration: baseFormData.validityDuration,
|
|
userInfo: {
|
|
userInfo: {
|
|
nickName: userInfo.name,
|
|
nickName: userInfo.name,
|
|
avatarUrl: userInfo.avatarUrl
|
|
avatarUrl: userInfo.avatarUrl
|
|
@@ -51,7 +53,11 @@
|
|
</div>
|
|
</div>
|
|
<div class="card-wrapper"
|
|
<div class="card-wrapper"
|
|
:style="{'zoom': reviewCanvasParams.zoom}">
|
|
:style="{'zoom': reviewCanvasParams.zoom}">
|
|
|
|
+ <img :src="require('@/assets/img/img-preview-draw-after-bg.png')"
|
|
|
|
+ v-if="baseFormData.type == 2"
|
|
|
|
+ class="card-cover">
|
|
<img :src="require('@/assets/subject/img-card-cover-blue.png')"
|
|
<img :src="require('@/assets/subject/img-card-cover-blue.png')"
|
|
|
|
+ v-else
|
|
class="card-cover"/>
|
|
class="card-cover"/>
|
|
<div class="bottom-bar">
|
|
<div class="bottom-bar">
|
|
<div class="title">
|
|
<div class="title">
|
|
@@ -79,7 +85,15 @@
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div class="desc">
|
|
<div class="desc">
|
|
- {{baseFormData.totalCount}} WINNERS TO SHARE
|
|
|
|
|
|
+ <template v-if="baseFormData.type == 2">
|
|
|
|
+ <img class="icon-clock"
|
|
|
|
+ :src="require('@/assets/svg/icon-preview-clock.svg')" /> {{baseFormData.validityDuration}} H
|
|
|
|
+ <img class="icon-trophy"
|
|
|
|
+ :src="require('@/assets/svg/icon-preview-trophy.svg')" /> <span class="trophy-count">{{baseFormData.totalCount}} WINNERS</span>
|
|
|
|
+ </template>
|
|
|
|
+ <template v-else>
|
|
|
|
+ {{baseFormData.totalCount}} WINNERS TO SHARE
|
|
|
|
+ </template>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -374,6 +388,21 @@ onUnmounted(() => {
|
|
font-weight: 800;
|
|
font-weight: 800;
|
|
font-size: 13px;
|
|
font-size: 13px;
|
|
color: #ffffff;
|
|
color: #ffffff;
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+
|
|
|
|
+ .icon-clock {
|
|
|
|
+ margin-right: 4px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .icon-trophy {
|
|
|
|
+ margin-left: 8px;
|
|
|
|
+ margin-right: 4px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .trophy-count {
|
|
|
|
+ color: #FFCC4D;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.card-cover {
|
|
.card-cover {
|