|
@@ -80,7 +80,12 @@
|
|
|
<div class="text">Balance</div>
|
|
|
<div class="money">
|
|
|
<FontZoom width="300" :unColor="true">
|
|
|
- <img class="icon" :src="currencyInfoData.iconPath" /> {{ salePlans.currencyCode === 'USD' ? (currencyInfoData.balance | floatPrice(2)) : (currencyInfoData.balance | floatPrice(4)) }} {{currencyInfoData.tokenSymbol}}
|
|
|
+ <template v-if="salePlans.currencyCode === 'USD'">
|
|
|
+ <img class="icon" :src="currencyInfoData.iconPath" /> {{ currencyInfoData.balance | floatPrice(2) }} {{currencyInfoData.tokenSymbol}}
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <img class="icon" :src="currencyInfoData.iconPath" /> {{ currencyInfoData.balance | floatPrice(4) }} {{currencyInfoData.tokenSymbol}}
|
|
|
+ </template>
|
|
|
</FontZoom>
|
|
|
</div>
|
|
|
<template v-if="waitRefresh">
|
|
@@ -97,7 +102,14 @@
|
|
|
<div class="neet">You Neet to Pay</div>
|
|
|
<div class="money">
|
|
|
<FontZoom width="190" :unColor="true">
|
|
|
- <span class="text">{{ salePlans.currencyCode === 'USD' ? (salePlans.price | floatPrice(2)) : (salePlans.price | floatPrice(4)) }} {{ salePlans.currencyInfo.tokenSymbol }}</span>
|
|
|
+ <span class="text">
|
|
|
+ <template v-if="salePlans.currencyCode === 'USD'">
|
|
|
+ {{ salePlans.price | floatPrice(2) }} {{ salePlans.currencyInfo.tokenSymbol }}
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ {{ salePlans.price | floatPrice(4) }} {{ salePlans.currencyInfo.tokenSymbol }}
|
|
|
+ </template>
|
|
|
+ </span>
|
|
|
</FontZoom>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -121,7 +133,7 @@
|
|
|
<img src="../../static/img/icon_deposit.png" />
|
|
|
<span>Deposit to Buy</span>
|
|
|
</div>
|
|
|
- <div class="item column">
|
|
|
+ <div class="item column" v-if="Number(usdAmountData.rechargeAmountValue) > 0">
|
|
|
<div class="l">Deposit</div>
|
|
|
<div class="r">
|
|
|
<FontZoom width="260" :unColor="true">
|
|
@@ -169,7 +181,7 @@
|
|
|
<div class="l">
|
|
|
<div class="neet">You Neet to Pay</div>
|
|
|
<div class="money">
|
|
|
- <FontZoomMobile width="260" :unColor="true">
|
|
|
+ <FontZoomMobile width="220" :unColor="true">
|
|
|
{{salePlans.price | floatPrice(4)}} {{ salePlans.currencyInfo.tokenSymbol }}
|
|
|
</FontZoomMobile>
|
|
|
</div>
|
|
@@ -222,7 +234,7 @@
|
|
|
<div class="l">
|
|
|
<div class="neet">You Neet to Pay</div>
|
|
|
<div class="money">
|
|
|
- <FontZoomMobile width="260" :unColor="true">
|
|
|
+ <FontZoomMobile width="220" :unColor="true">
|
|
|
{{ Number(usdAmountData.rechargeAmountValue) > 0 ? usdAmountData.rechargeAmountValue : usdAmountData.orderAmountValue }} {{ salePlans.currencyInfo.tokenSymbol }}
|
|
|
</FontZoomMobile>
|
|
|
</div>
|