新增白名单显示

This commit is contained in:
yuyongdong 2024-05-20 17:29:00 +08:00
parent c883736ea4
commit 91e59bff21
3 changed files with 75 additions and 18 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 952 B

View File

@ -8,6 +8,16 @@
</div> </div>
<div class="left-top-points"> <div class="left-top-points">
<div class="left-top-points-left"> <div class="left-top-points-left">
<li>
<div class="top">
<span class="">{{ usesInWhiteList }}</span>
<div>
<img src="./../../assets/common/Whitelist.png" alt />
</div>
</div>
<div class="btm">Whitelist</div>
<!-- <div class="hover-tips">Successful invitations</div> -->
</li>
<li> <li>
<div class="top"> <div class="top">
<span class="">{{ usesInviteCount }}</span> <span class="">{{ usesInviteCount }}</span>
@ -623,6 +633,16 @@
</div> </div>
<div class="left-top-points"> <div class="left-top-points">
<div class="left-top-points-left"> <div class="left-top-points-left">
<li>
<div class="top">
<span class="">{{ usesInWhiteList }}</span>
<div>
<img src="./../../assets/common/Whitelist.png" alt />
</div>
</div>
<div class="btm">Whitelist</div>
<!-- <div class="hover-tips">Successful invitations</div> -->
</li>
<li> <li>
<div class="top"> <div class="top">
<span class="">{{ usesInviteCount }}</span> <span class="">{{ usesInviteCount }}</span>
@ -755,6 +775,16 @@
</div> </div>
<div class="left-top-points"> <div class="left-top-points">
<div class="left-top-points-left"> <div class="left-top-points-left">
<li>
<div class="top">
<span class="">{{ usesInWhiteList }}</span>
<div>
<img src="./../../assets/common/Whitelist.png" alt />
</div>
</div>
<div class="btm">Whitelist</div>
<!-- <div class="hover-tips">Successful invitations</div> -->
</li>
<li> <li>
<div class="top"> <div class="top">
<span class="">{{ usesInviteCount }}</span> <span class="">{{ usesInviteCount }}</span>
@ -1180,6 +1210,9 @@ export default {
}, },
usesEmail() { usesEmail() {
return this.$store.state.user.userData?.gameMail || undefined; return this.$store.state.user.userData?.gameMail || undefined;
},
usesInWhiteList() {
return this.$store.state.user.userData?.inWhiteList || 0;
} }
}, },
created() { created() {
@ -2153,8 +2186,8 @@ export default {
li:nth-child(1) { li:nth-child(1) {
cursor: pointer; cursor: pointer;
img { img {
width: 17px; width: 15px;
height: 11px; height: 15px;
} }
&:hover { &:hover {
.hover-tips { .hover-tips {
@ -2163,6 +2196,18 @@ export default {
} }
} }
li:nth-child(2) { li:nth-child(2) {
cursor: pointer;
img {
width: 17px;
height: 11px;
}
&:hover {
.hover-tips {
display: block;
}
}
}
li:nth-child(3) {
cursor: pointer; cursor: pointer;
img { img {
width: 13px; width: 13px;
@ -2175,12 +2220,6 @@ export default {
} }
} }
} }
li:nth-child(3) {
img {
width: 15px;
height: 15px;
}
}
li:nth-child(4) { li:nth-child(4) {
img { img {
width: 15px; width: 15px;
@ -2194,6 +2233,12 @@ export default {
} }
} }
li:nth-child(6) { li:nth-child(6) {
img {
width: 15px;
height: 15px;
}
}
li:nth-child(7) {
img { img {
width: 12px; width: 12px;
height: 16px; height: 16px;
@ -3471,6 +3516,18 @@ export default {
} }
} }
li:nth-child(1) { li:nth-child(1) {
cursor: pointer;
img {
width: 15px;
height: 15px;
}
&:hover {
.hover-tips {
display: block;
}
}
}
li:nth-child(2) {
cursor: pointer; cursor: pointer;
img { img {
width: 17px; width: 17px;
@ -3482,7 +3539,7 @@ export default {
} }
} }
} }
li:nth-child(2) { li:nth-child(3) {
cursor: pointer; cursor: pointer;
img { img {
width: 13px; width: 13px;
@ -3495,7 +3552,7 @@ export default {
} }
} }
} }
li:nth-child(3) { li:nth-child(4) {
.top { .top {
div { div {
img { img {
@ -3505,12 +3562,6 @@ export default {
} }
} }
} }
li:nth-child(4) {
img {
width: 15px;
height: 15px;
}
}
li:nth-child(5) { li:nth-child(5) {
img { img {
width: 15px; width: 15px;
@ -3518,6 +3569,12 @@ export default {
} }
} }
li:nth-child(6) { li:nth-child(6) {
img {
width: 15px;
height: 15px;
}
}
li:nth-child(7) {
img { img {
width: 12px; width: 12px;
height: 16px; height: 16px;

View File

@ -29,7 +29,7 @@
<el-table-column label="Rewards"> <el-table-column label="Rewards">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<div v-if="row.score" class="points"> <div v-if="row.score" class="points">
<div> <div v-if="row.score > 0">
<span>{{ row.score }}</span> <span>{{ row.score }}</span>
<img src="./../../assets/common/Game .png" alt /> <img src="./../../assets/common/Game .png" alt />
</div> </div>
@ -41,7 +41,7 @@
src="./../../assets/common/common_icon_NFT.png" src="./../../assets/common/common_icon_NFT.png"
alt alt
/> />
<img v-else src="./../../assets/common/wallet-yes.png" alt /> <img v-else src="./../../assets/common/Whitelist.png" alt />
</div> </div>
</div> </div>
</template> </template>