|
@@ -59,7 +59,12 @@
|
|
|
@click="goBuy(((data.perUserBuyLimit - data.userBuyCount) >= 1 && (data.itemTotalCount - data.itemSoldCount) >= 1))">
|
|
|
<div class="l">BUY {{item.itemCount}}</div>
|
|
|
<FontZoom width="220">
|
|
|
- <img class="icon" :src="item.currencyInfo.iconPath" /> {{ item.price }} {{ item.currencyInfo.tokenSymbol }} (${{item.usdPrice}})
|
|
|
+ <template v-if="item.currencyCode !== 'USD'">
|
|
|
+ <img class="icon" :src="item.currencyInfo.iconPath" /> {{ item.price }} {{ item.currencyInfo.tokenSymbol }} (${{item.usdPrice}})
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ ${{item.usdPrice}}
|
|
|
+ </template>
|
|
|
</FontZoom>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -68,7 +73,12 @@
|
|
|
class="btn disable">
|
|
|
<div class="l">BUY {{item.itemCount}}</div>
|
|
|
<FontZoom width="220">
|
|
|
- <img class="icon" :src="item.currencyInfo.iconPath" /> {{ item.price }} {{ item.currencyInfo.tokenSymbol }} (${{item.usdPrice}})
|
|
|
+ <template v-if="item.currencyCode !== 'USD'">
|
|
|
+ <img class="icon" :src="item.currencyInfo.iconPath" /> {{ item.price }} {{ item.currencyInfo.tokenSymbol }} (${{item.usdPrice}})
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ ${{item.usdPrice}}
|
|
|
+ </template>
|
|
|
</FontZoom>
|
|
|
</div>
|
|
|
</template>
|