修改vip
This commit is contained in:
parent
0e60c39202
commit
6f8c5b62b7
@ -51,8 +51,8 @@
|
||||
</div>
|
||||
<p>
|
||||
CEC:
|
||||
<span v-if="cecInfo?.total != 0">{{ priceCalculated(BigInt(cecInfo?.total),18).toString().match(/^\d+(?:\.\d{0,2})?/)[0] }}</span>
|
||||
<span v-else>0</span>
|
||||
<!-- <span v-if="cecInfo?.total != 0">{{ priceCalculated(BigInt(cecInfo?.total),18).toString().match(/^\d+(?:\.\d{0,2})?/)[0] }}</span>
|
||||
<span v-else>0</span> -->
|
||||
</p>
|
||||
</div>
|
||||
<div class="staking-btn" @click="toStaking('/staking')">Stake</div>
|
||||
@ -64,8 +64,8 @@
|
||||
</div>
|
||||
<p>
|
||||
esCEC:
|
||||
<span v-if="cecInfo?.total != 0">{{ priceCalculated(BigInt(cecInfo?.total),18).toString().match(/^\d+(?:\.\d{0,2})?/)[0] }}</span>
|
||||
<span v-else>0</span>
|
||||
<!-- <span v-if="cecInfo?.total != 0">{{ priceCalculated(BigInt(cecInfo?.total),18).toString().match(/^\d+(?:\.\d{0,2})?/)[0] }}</span>
|
||||
<span v-else>0</span> -->
|
||||
</p>
|
||||
</div>
|
||||
<div class="staking-btn" @click="toStaking('/conversion')">Vest</div>
|
||||
@ -183,7 +183,7 @@
|
||||
{{ item.earnTime }}
|
||||
</li>
|
||||
<li class="cec-amount">
|
||||
<span v-if="item.desc != ''">{{ priceCalculated(BigInt(item.amount),18).toString().match(/^\d+(?:\.\d{0,2})?/)[0] }}</span>
|
||||
<!-- <span v-if="item.desc != ''">{{ priceCalculated(BigInt(item.amount),18).toString().match(/^\d+(?:\.\d{0,2})?/)[0] }}</span> -->
|
||||
<img v-if="item.desc != ''" src="@/assets/img/marketplace/CECIcon.png" alt="">
|
||||
</li>
|
||||
</div>
|
||||
@ -899,7 +899,6 @@ const dataInfo = async () => {
|
||||
}
|
||||
|
||||
watch(localWalletStore,() => {
|
||||
console.log(localWalletStore.token,'-------------------------')
|
||||
// console.log('localWalletStore.token',localWalletStore.address,localWalletStore.token)
|
||||
if(!localWalletStore.token) {
|
||||
cecInfo.value = {
|
||||
|
@ -244,7 +244,7 @@ const toTwitter = () => {
|
||||
const userCecInfo = () => {
|
||||
getNetId();
|
||||
// getVipInfo();
|
||||
getCecData();
|
||||
// getCecData();
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user