This commit is contained in:
yuyongdong 2024-10-18 11:45:36 +08:00
parent 52976493f0
commit 56d9c17bc8
2 changed files with 6 additions and 8 deletions

View File

@ -7,10 +7,9 @@
<img v-else src="@/assets/img/marketplace/0000.png" alt="Dynamic Image"> <img v-else src="@/assets/img/marketplace/0000.png" alt="Dynamic Image">
</div> </div>
<div class="assets-user-name"> <div class="assets-user-name">
<div class="vip" @click="isBindVip"> <!-- <div class="vip" @click="isBindVip">
<!-- <img src="@/assets/img/staking/VIP5.png" alt=""> -->
<img :src="stakingVipImgList[vipInfo.level].img" alt=""> <img :src="stakingVipImgList[vipInfo.level].img" alt="">
</div> </div> -->
<div class="adderss"> <div class="adderss">
<img :src="icon_pass" alt=""> <img :src="icon_pass" alt="">
{{ localWalletStore.showAddress ? localWalletStore.showAddress : 'User Address' }} {{ localWalletStore.showAddress ? localWalletStore.showAddress : 'User Address' }}
@ -845,7 +844,6 @@ const isBindVip = () => {
if(bindPassportAddress.value) { if(bindPassportAddress.value) {
vipDialogVisible.value = true vipDialogVisible.value = true
} else { } else {
// alert('')
bindVipAddress() bindVipAddress()
} }
} }
@ -887,8 +885,8 @@ const dataInfo = async () => {
// const bc = new BlockChain() // const bc = new BlockChain()
// isPassprotLogin.value = bc.passportLogined // isPassprotLogin.value = bc.passportLogined
// console.log(isPassprotLogin.value) // console.log(isPassprotLogin.value)
await getVipDetails() // await getVipDetails()
await getIsBandVip() // await getIsBandVip()
await getMintSwitch() await getMintSwitch()
await getCecInfo() await getCecInfo()
await getContribution() await getContribution()

View File

@ -264,8 +264,8 @@ function handNavCurent(nav) {
} else if(nav.id == 7) { } else if(nav.id == 7) {
// window.open(`${location.origin}${nav.path}`, "_blank") // window.open(`${location.origin}${nav.path}`, "_blank")
router.push(nav.path); router.push(nav.path);
} else if(nav.id == 8) { // } else if(nav.id == 8) {
window.open(`${location.origin}${nav.path}`, "_blank") // window.open(`${location.origin}${nav.path}`, "_blank")
// router.push(nav.path); // router.push(nav.path);
} }
// if (nav.id == 1 || nav.id == 2 || nav.id == 3) { // if (nav.id == 1 || nav.id == 2 || nav.id == 3) {