修改nft合作
This commit is contained in:
parent
2f6cd711f1
commit
7e7bcb9973
@ -1,5 +1,6 @@
|
||||
# API
|
||||
VUE_APP_API_URL = 'http://192.168.100.22:3006'
|
||||
VUE_APP_API_URL = 'https://oauth-svr.cebggame.com/task'
|
||||
# VUE_APP_API_URL = 'http://192.168.100.22:3006'
|
||||
# VUE_APP_API_URL = 'http://127.0.0.1:3006/api'
|
||||
VUE_APP_WL_URL = 'https://nftwl.counterfire.games/wl_test'
|
||||
VUE_APP_CONFIG_URL = 'https://sepolia.infura.io/v3/b6bf7d3508c941499b10025c0776eaf8'
|
||||
@ -17,5 +18,6 @@ VUE_APP_CHAIN_ID = '5611'
|
||||
VUE_APP_APP_NAME = 'CF UAW'
|
||||
|
||||
# 铭文的验证地址
|
||||
VUE_APP_SCRIPTION_ADDRESS='0x50A8e60041A206AcaA5F844a1104896224be6F39'
|
||||
VUE_APP_SCRIPTION_ADDRESS='0xcd4bb3402f1a444a1af10f31946ed37dac0eac4d'
|
||||
# VUE_APP_SCRIPTION_ADDRESS='0x50A8e60041A206AcaA5F844a1104896224be6F39'
|
||||
VUE_APP_CONTRACT='0x0Fd13D2CD0B6c679B6f92590E0b91C18DDe7BD3A'
|
||||
|
BIN
src/assets/common/Enter.png
Normal file
BIN
src/assets/common/Enter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
src/assets/common/check-input.png
Normal file
BIN
src/assets/common/check-input.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
@ -411,15 +411,24 @@
|
||||
</div>
|
||||
<div class="content-right" v-if="navIndex == 2">
|
||||
<div class="title">
|
||||
<!-- <div class="title-left">
|
||||
<div class="title-left">
|
||||
<div>Partner</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="check-code">
|
||||
<div class="check-code-icon">
|
||||
<img src="@/assets/common/Enter.png" alt="">
|
||||
</div>
|
||||
<div class="check-code-input"></div>
|
||||
<div class="check-code-btn">
|
||||
<div>Confirm</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="quest">
|
||||
<div class="partner-list">
|
||||
<div>
|
||||
<!-- <div>
|
||||
coming soon
|
||||
</div>
|
||||
</div> -->
|
||||
<!-- <div class="partner">
|
||||
<div>Partner</div>
|
||||
<div>Rewards</div>
|
||||
@ -1690,6 +1699,27 @@ export default {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
.check-code {
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
background: url('@/assets/common/check-input.png') no-repeat;
|
||||
background-size: 100% 100%;
|
||||
margin-bottom: 10px;
|
||||
.check-code-icon {
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.check-code-input {}
|
||||
.check-code-btn {
|
||||
width: 120px;
|
||||
height: 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.quest {
|
||||
background: #1e1b26;
|
||||
padding: 10px;
|
||||
@ -1906,20 +1936,20 @@ export default {
|
||||
font-weight: 700;
|
||||
}
|
||||
::v-deep .quest-list::-webkit-scrollbar {
|
||||
width: 5px;
|
||||
}
|
||||
::v-deep .quest-list::-webkit-scrollbar-track{
|
||||
background: #171220;
|
||||
border-radius:2px;
|
||||
}
|
||||
::v-deep .quest-list::-webkit-scrollbar-corner{
|
||||
display: block;
|
||||
}
|
||||
::v-deep .quest-list::-webkit-scrollbar-thumb{
|
||||
height: 15px;
|
||||
background: #9950fd;
|
||||
border-radius:10px;
|
||||
}
|
||||
width: 5px;
|
||||
}
|
||||
::v-deep .quest-list::-webkit-scrollbar-track{
|
||||
background: #171220;
|
||||
border-radius:2px;
|
||||
}
|
||||
::v-deep .quest-list::-webkit-scrollbar-corner{
|
||||
display: block;
|
||||
}
|
||||
::v-deep .quest-list::-webkit-scrollbar-thumb{
|
||||
height: 15px;
|
||||
background: #9950fd;
|
||||
border-radius:10px;
|
||||
}
|
||||
}
|
||||
.tips {
|
||||
margin-top: 10px;
|
||||
|
@ -39,7 +39,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="rankingTableData.length == 0" class="ranking-content-left-forward-no">
|
||||
<div v-if="rankingTableData == undefined || rankingTableData.length <= 0" class="ranking-content-left-forward-no">
|
||||
<div>
|
||||
<p>None</p>
|
||||
</div>
|
||||
@ -87,7 +87,8 @@
|
||||
</div>
|
||||
<div class="forward-list-item-top">
|
||||
<div class="user-img">
|
||||
<img v-if="rankingTableData[2].avatar == ''" src="@/assets/common/head_default.jpg" alt="">
|
||||
<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-else :src="rankingTableData[2].avatar" alt="">
|
||||
</div>
|
||||
</div>
|
||||
@ -103,7 +104,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ranking-content-right">
|
||||
<div class="ranking-content-right">{{ rankingTableData }}
|
||||
<div v-if="rankingTableData.length == 0" class="ranking-content-right-list-no">
|
||||
<div>
|
||||
<p>None</p>
|
||||
@ -226,13 +227,15 @@ export default {
|
||||
return this.$store.state.user.userData?.rankTotal || 0
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getLeaderBoard()
|
||||
},
|
||||
mounted() {
|
||||
if(this.token) {
|
||||
this.userData = JSON.parse(localStorage.getItem("userData"));
|
||||
this.getMyIntegralList()
|
||||
this.initData()
|
||||
}
|
||||
this.getLeaderBoard()
|
||||
},
|
||||
methods: {
|
||||
async initData() {
|
||||
@ -257,6 +260,7 @@ export default {
|
||||
async getLeaderBoard () {
|
||||
let res = await this.$axios.get(process.env.VUE_APP_API_URL+`/api/activity/leaderboard/uaw_activity/0`)
|
||||
this.rankingTableData = res.data.data
|
||||
console.log('rankingTableData' ,this.rankingTableData)
|
||||
},
|
||||
// 获取用户状态
|
||||
getUserState() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user