From 2581973219b3efed38a68cc7309d14a3f09e9dfc Mon Sep 17 00:00:00 2001 From: CounterFire2023 <136581895+CounterFire2023@users.noreply.github.com> Date: Wed, 10 Apr 2024 18:00:55 +0800 Subject: [PATCH 1/3] =?UTF-8?q?bug=20fix:=20=E7=99=BB=E5=BD=95=E6=B5=81?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 + .env.production | 4 +- public/index.html | 1 - src/components/walletDialog/index.vue | 156 +++++--------------------- src/views/home/index.vue | 15 ++- src/wallet/index.js | 70 ++++++++++-- 6 files changed, 103 insertions(+), 145 deletions(-) diff --git a/.env.development b/.env.development index 670c99f..b338002 100644 --- a/.env.development +++ b/.env.development @@ -13,3 +13,5 @@ VUE_APP_NFT_URL = '0x59e751c2037B710090035B6ea928e0cce80aC03f' VUE_APP_BEB_URL = '0x1304E6AA241eE3C9ea44Db9e593e85Ae76eC41F1' VUE_APP_CHAIN_ID = '5611' + +VUE_APP_APP_NAME = 'CF UAW' diff --git a/.env.production b/.env.production index 144a626..c7982a9 100644 --- a/.env.production +++ b/.env.production @@ -11,4 +11,6 @@ VUE_APP_NFT_URL = '0x59e751c2037B710090035B6ea928e0cce80aC03f' # BEB合约 VUE_APP_BEB_URL = '0x1304E6AA241eE3C9ea44Db9e593e85Ae76eC41F1' -VUE_APP_CHAIN_ID = '5611' \ No newline at end of file +VUE_APP_CHAIN_ID = '5611' + +VUE_APP_APP_NAME = 'CF UAW' \ No newline at end of file diff --git a/public/index.html b/public/index.html index 2120a59..9c4d8b5 100644 --- a/public/index.html +++ b/public/index.html @@ -14,7 +14,6 @@
- + + + diff --git a/src/views/home/index.vue b/src/views/home/index.vue index be22467..0828318 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -167,7 +167,7 @@
{{ item.actionTitle }}
-
Check
+ Check
Claim
+{{ item.score }}
@@ -479,6 +479,7 @@ import Calen from "./calenView.vue"; import BoxBtm from './boxBtm.vue' // import ImgView from './../../components/imgView.vue' import gameView from "./gameView.vue"; +import CheckBtn from "@/components/checkBtn.vue"; import WalletDialog from "@/components/walletDialog/index.vue"; import { getToken } from '@/utils/cookies.js' import { getWalletAddress, isWalletConnected, linkWallet } from "@/wallet/index.js"; @@ -500,6 +501,7 @@ export default { gameView, WalletDialog, BoxBtm, + CheckBtn // ImgView, }, data() { @@ -672,8 +674,8 @@ export default { } }, // 手动检查任务 - async toCheck(data) { - this.getActivitrStatue(data.id) + async toCheck() { + await this.getProgress() }, // 检查任务状态 async getActivitrStatue(id) {