|
@@ -23,35 +23,35 @@
|
|
<template v-for="item in state.data.salePlans.splice(0, 2).reverse()">
|
|
<template v-for="item in state.data.salePlans.splice(0, 2).reverse()">
|
|
<div class="buy1" @click="clickJump(item)"
|
|
<div class="buy1" @click="clickJump(item)"
|
|
v-if="item.itemCount == 1 && (state.data.perUserBuyLimit - state.data.userBuyCount) >= 1">
|
|
v-if="item.itemCount == 1 && (state.data.perUserBuyLimit - state.data.userBuyCount) >= 1">
|
|
- <template v-if="(item.price.length + item.currencyCode.length) > 30">
|
|
|
|
|
|
+ <template v-if="(item.price.length + item.currencyInfo.tokenSymbol.length) > 30">
|
|
<div class="left">Buy 1</div>
|
|
<div class="left">Buy 1</div>
|
|
<div class="right">
|
|
<div class="right">
|
|
<p>{{ item.price }}</p>
|
|
<p>{{ item.price }}</p>
|
|
- <p>{{ item.currencyCode }}</p>
|
|
|
|
|
|
+ <p>{{ item.currencyInfo.tokenSymbol }}</p>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<template v-else>
|
|
<template v-else>
|
|
<div class="left">Buy 1</div>
|
|
<div class="left">Buy 1</div>
|
|
<div class="right">
|
|
<div class="right">
|
|
{{ item.price }}
|
|
{{ item.price }}
|
|
- {{ item.currencyCode }}
|
|
|
|
|
|
+ {{ item.currencyInfo.tokenSymbol }}
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</div>
|
|
</div>
|
|
<div class="buy1 grey"
|
|
<div class="buy1 grey"
|
|
v-if="item.itemCount == 1 && (state.data.perUserBuyLimit - state.data.userBuyCount) <= 0">
|
|
v-if="item.itemCount == 1 && (state.data.perUserBuyLimit - state.data.userBuyCount) <= 0">
|
|
- <template v-if="(item.price.length + item.currencyCode.length) > 30">
|
|
|
|
|
|
+ <template v-if="(item.price.length + item.currencyInfo.tokenSymbol.length) > 30">
|
|
<div class="left">Buy 1</div>
|
|
<div class="left">Buy 1</div>
|
|
<div class="right">
|
|
<div class="right">
|
|
<p>{{ item.price }}</p>
|
|
<p>{{ item.price }}</p>
|
|
- <p>{{ item.currencyCode }}</p>
|
|
|
|
|
|
+ <p>{{ item.currencyInfo.tokenSymbol }}</p>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<template v-else>
|
|
<template v-else>
|
|
<div class="left">Buy 1</div>
|
|
<div class="left">Buy 1</div>
|
|
<div class="right">
|
|
<div class="right">
|
|
{{ item.price }}
|
|
{{ item.price }}
|
|
- {{ item.currencyCode }}
|
|
|
|
|
|
+ {{ item.currencyInfo.tokenSymbol }}
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</div>
|
|
</div>
|
|
@@ -61,18 +61,18 @@
|
|
@click="clickJump(item)">
|
|
@click="clickJump(item)">
|
|
<div class="left">Buy {{ item.itemCount }}</div>
|
|
<div class="left">Buy {{ item.itemCount }}</div>
|
|
|
|
|
|
- <div class="right" v-if="(item.price.length + item.currencyCode.length) > 30">
|
|
|
|
|
|
+ <div class="right" v-if="(item.price.length + item.currencyInfo.tokenSymbol.length) > 30">
|
|
<div class="usdt">
|
|
<div class="usdt">
|
|
<p>{{ item.price }}</p>
|
|
<p>{{ item.price }}</p>
|
|
- <p>{{ item.currencyCode }}</p>
|
|
|
|
|
|
+ <p>{{ item.currencyInfo.tokenSymbol }}</p>
|
|
</div>
|
|
</div>
|
|
<div class="off">
|
|
<div class="off">
|
|
- <p>{{ item.discount }} OFF</p>
|
|
|
|
|
|
+ <p>{{ item.discount }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="right" v-else>
|
|
<div class="right" v-else>
|
|
- <div class="usdt">{{ item.price }} {{ item.currencyCode }}</div>
|
|
|
|
- <div class="off">{{ item.discount }} OFF</div>
|
|
|
|
|
|
+ <div class="usdt">{{ item.price }} {{ item.currencyInfo.tokenSymbol }}</div>
|
|
|
|
+ <div class="off">{{ item.discount }}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -144,7 +144,7 @@ onMounted(() => {
|
|
.dialog {
|
|
.dialog {
|
|
background: #fff;
|
|
background: #fff;
|
|
border-radius: 25px;
|
|
border-radius: 25px;
|
|
- max-width: 90%;
|
|
|
|
|
|
+ max-width: 1000px;
|
|
min-width: 800px;
|
|
min-width: 800px;
|
|
max-height: 90%;
|
|
max-height: 90%;
|
|
min-height: 90%;
|
|
min-height: 90%;
|