diff --git a/.env.development b/.env.development index 670c99f..240a7de 100644 --- a/.env.development +++ b/.env.development @@ -1,6 +1,6 @@ # API -# VUE_APP_API_URL = 'http://192.168.100.22:3006/api' -VUE_APP_API_URL = 'http://127.0.0.1:3006/api' +VUE_APP_API_URL = 'http://192.168.100.22:3006/api' +# 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' diff --git a/src/components/pagination.vue b/src/components/pagination.vue index c9aeaf3..9321e81 100644 --- a/src/components/pagination.vue +++ b/src/components/pagination.vue @@ -13,10 +13,13 @@ @@ -241,6 +330,27 @@ export default { } .box-boosting { height: 530px; + overflow-y: scroll; + // &::-webkit-scrollbar { + // width: 5px; + // height: 5px; + // } + // &::-webkit-scrollbar-track{ + // background: #171220; + // border-radius:2px; + // } + // &::-webkit-scrollbar-thumb{ + // width: 8px; + // height: 30px !important; + // background: #9950fd; + // border-radius:10px; + // } + // &::-webkit-scrollbar-thumb:hover{ + // background: #999; + // } + // &::-webkit-scrollbar-corner{ + // display: block; + // } li { display: flex; align-items: center; @@ -291,6 +401,21 @@ export default { } } } + ::v-deep .box-boosting::-webkit-scrollbar { + width: 5px; + } + ::v-deep .box-boosting::-webkit-scrollbar-track{ + background: #171220; + border-radius:2px; + } + ::v-deep .box-boosting::-webkit-scrollbar-corner{ + display: block; + } + ::v-deep .box-boosting::-webkit-scrollbar-thumb{ + height: 15px; + background: #9950fd; + border-radius:10px; + } } .box-log { display: flex; @@ -489,6 +614,7 @@ export default { justify-content: flex-start; height: 500px; li { + height: 140px; flex: 1; margin: 10px 10px 10px 0; width: calc((100% - 10px) / 2); @@ -513,10 +639,10 @@ export default { } .box-bg { width: 160px; - height: 80px; + height: 120px; position: absolute; left: 50%; - top: 50%; + top: 30%; transform: translateX(-50%); background: url('@/assets/box/Treasure Chest_bg.png') no-repeat; background-size: 100% 100%; diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 6679c8c..d80fa01 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -820,7 +820,7 @@ export default { // 获取累计签到奖励 async getCheckClaim(days) { let res = await apiCheckinClaim(days); - if (res.data.data.ticket) { + if (res.ticket) { this.getGameStat(); this.$message.success('Received successfully') } @@ -849,7 +849,8 @@ export default { // let res = await apiUsercheckin(); let res = await this.$axios.post('/api/user/checkin',{ }, { headers: { Authorization: `Bearer ${this.token}` } }) - console.log(res.data.data,'检查签到并领取奖励') + // console.log(res.data.data,'检查签到并领取奖励') + return res.data.data }, // 获取路由宝箱助力 @@ -1343,14 +1344,14 @@ export default { background-size: 100% 100%; .right-title { color: #fff; - line-height: 1.5; - margin-bottom: 30px; + line-height: 1.4; + margin-bottom: 20px; p { font-size: 17px; font-family: 'Poppins-Light'; } h3 { - font-size: 28px; + font-size: 26px; font-family: 'Anton-Regular'; } } @@ -1408,7 +1409,7 @@ export default { margin-left: 10px; } .desc { - width: 160px; + max-width: 260px; margin: 0 5px; h3 { text-align: left;