修改开宝箱后排行榜不更新
This commit is contained in:
parent
ff1cb0227f
commit
23a0ada9c0
@ -5,7 +5,7 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<meta name="referrer" content="no-referrer">
|
||||
<link rel="icon" href="logo.png">
|
||||
<link rel="icon" href="/logo.png">
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -213,10 +213,7 @@
|
||||
slot-scope="scope"
|
||||
>
|
||||
<div class="touxiang">
|
||||
<div class="user-img">
|
||||
<img v-if="scope.row.avatar != ''" :src="scope.row.avatar" alt="" />
|
||||
<img v-else src="@/assets/home/Nav bar_character.png" alt="" />
|
||||
</div>
|
||||
<UserImg :imgSrc="scope.row.avatar" />
|
||||
{{ scope.row.nickname }}
|
||||
</div>
|
||||
</template>
|
||||
@ -245,14 +242,16 @@ import { getToken } from './../../utils/cookies.js'
|
||||
import Pagination from './../../components/pagination.vue'
|
||||
import { sendOpenChest, sendToChain } from './../../utils/chainapi.js'
|
||||
import { apiBoxOpen } from '@/utils/webapi.js'
|
||||
import PaginationDialog from './../../components/paginationDialog.vue'
|
||||
import PaginationDialog from '@/components/paginationDialog.vue'
|
||||
import Loading from '@/components/loading.vue'
|
||||
import UserImg from "@/components/userImg.vue"
|
||||
|
||||
export default {
|
||||
components: {
|
||||
Pagination,
|
||||
PaginationDialog,
|
||||
Loading,
|
||||
UserImg,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@ -1111,18 +1110,6 @@ export default {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.user-img {
|
||||
background: url('@/assets/common/Picture frame .png') no-repeat;
|
||||
background-size: 100% 100%;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
padding: 3px;
|
||||
border-radius: 50%;
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -14,7 +14,8 @@
|
||||
<img v-if="!boxData.avatar" src="@/assets/common/head_default.jpg" alt="" >
|
||||
<UserImg v-else :imgSrc="boxData.avatar" />
|
||||
</div>
|
||||
<div class="user-info-name">{{ boxData.nickname }}: <span>Thank you for your support! </span></div>
|
||||
<div class="user-info-name" v-if="boxData.nickname">{{ boxData.nickname }}: <span>Thank you for your support! </span></div>
|
||||
<div class="user-info-name" v-else>UserName: <span>Thank you for your support! </span></div>
|
||||
</div>
|
||||
<div class="con">
|
||||
<img v-if="!boxData.level" src="./../../assets/box/Unlock .png" alt="">
|
||||
|
@ -41,8 +41,7 @@
|
||||
<div class="hover-tips">Explorations obtained</div>
|
||||
</li>
|
||||
<div class="touxiang">
|
||||
<img v-if="myTwitterAvatar == '' || myTwitterAvatar == null" src="./../../assets/common/head_default.jpg" alt="">
|
||||
<img v-else :src="myTwitterAvatar" alt="" />
|
||||
<UserImg :imgSrc="myTwitterAvatar" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="left-top-points-right">
|
||||
@ -500,8 +499,7 @@
|
||||
<div class="hover-tips">Explorations obtained</div>
|
||||
</li>
|
||||
<div class="touxiang">
|
||||
<img v-if="myTwitterAvatar == '' || myTwitterAvatar == null" src="./../../assets/common/head_default.jpg" alt="">
|
||||
<img v-else :src="myTwitterAvatar" alt="" />
|
||||
<UserImg :imgSrc="myTwitterAvatar" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="left-top-points-right">
|
||||
@ -589,7 +587,7 @@
|
||||
import Calen from "./calenView.vue";
|
||||
import BoxBtm from './boxBtm.vue'
|
||||
import Ranking from './ranking.vue'
|
||||
// import ImgView from './../../components/imgView.vue'
|
||||
import UserImg from '@/components/userImg.vue'
|
||||
import gameView from "./gameView.vue";
|
||||
import CheckBtn from "@/components/checkBtn.vue";
|
||||
import WalletDialog from "@/components/walletDialog/index.vue";
|
||||
@ -622,7 +620,7 @@ import { formatShowAddress } from "@/utils/utils.js";
|
||||
|
||||
export default {
|
||||
components: {
|
||||
// UserImg,
|
||||
UserImg,
|
||||
Calen,
|
||||
gameView,
|
||||
WalletDialog,
|
||||
@ -634,7 +632,6 @@ export default {
|
||||
LogDialog,
|
||||
Loading,
|
||||
RuleDialog,
|
||||
// ImgView,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@ -1020,7 +1017,6 @@ export default {
|
||||
} else {
|
||||
this.dialogTitle = 'Congratulations'
|
||||
}
|
||||
this.$refs.rankingData.renewData()
|
||||
this.getUserState()
|
||||
this.getGameStat()
|
||||
this.ExploreDialogVisible = true
|
||||
@ -1038,7 +1034,6 @@ export default {
|
||||
|
||||
// 社媒任务奖励
|
||||
activityDialog(val) {
|
||||
// console.log('社媒任务奖励',val)
|
||||
this.awardData = val
|
||||
this.eventName = 'help_event'
|
||||
this.dialogTitle = 'Congratulations'
|
||||
@ -1046,6 +1041,7 @@ export default {
|
||||
this.getGameStat()
|
||||
}
|
||||
this.getUserState()
|
||||
this.$refs.rankingData.renewData()
|
||||
this.ExploreDialogVisible = true
|
||||
},
|
||||
|
||||
@ -1413,22 +1409,9 @@ export default {
|
||||
top: 50%;
|
||||
right: -20px;
|
||||
transform: translateY(-50%);
|
||||
background: url('@/assets/common/Picture frame .png') no-repeat;
|
||||
background-size: 100% 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 3px;
|
||||
box-sizing: border-box;
|
||||
border-radius: 50%;
|
||||
overflow: hidden !important;
|
||||
img {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
div {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -2406,22 +2389,9 @@ export default {
|
||||
top: 50%;
|
||||
right: -20px;
|
||||
transform: translateY(-50%);
|
||||
background: url('@/assets/common/Picture frame .png') no-repeat;
|
||||
background-size: 100% 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 3px;
|
||||
box-sizing: border-box;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
img {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
div {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -196,10 +196,6 @@ div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-evenly;
|
||||
img {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -52,7 +52,7 @@
|
||||
</div>
|
||||
<div class="forward-list-item-top">
|
||||
<div class="user-img">
|
||||
<img v-if="!rankingTableData[1]" src="@/assets/common/head_default.jpg" alt="">
|
||||
<img v-if="rankingTableData[1].avatar == ''" src="@/assets/common/head_default.jpg" alt="">
|
||||
<img v-else :src="rankingTableData[1].avatar" alt="">
|
||||
</div>
|
||||
</div>
|
||||
@ -87,8 +87,7 @@
|
||||
</div>
|
||||
<div class="forward-list-item-top">
|
||||
<div class="user-img">
|
||||
<img v-if="!rankingTableData[2]" src="@/assets/common/head_default.jpg" alt="">
|
||||
<img v-else-if="rankingTableData[2].avatar == ''" src="@/assets/common/head_default.jpg" alt="">
|
||||
<img v-if="rankingTableData[2].avatar == ''" src="@/assets/common/head_default.jpg" alt="">
|
||||
<img v-else :src="rankingTableData[2].avatar" alt="">
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user