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