From cbc52879f5ecfccd7ca97e2be98b4a636ba39f14 Mon Sep 17 00:00:00 2001 From: yuyongdong Date: Tue, 16 Apr 2024 19:52:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BD=AC=E5=8F=91=E6=96=87?= =?UTF-8?q?=E6=A1=88=EF=BC=8C=E4=BF=AE=E6=94=B9=E4=BB=BB=E5=8A=A1=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 10 +++++----- src/components/walletDialog/index.vue | 12 ++++++------ src/views/home/index.vue | 12 ++++++++---- src/views/home/ranking.vue | 2 +- 4 files changed, 20 insertions(+), 16 deletions(-) diff --git a/public/index.html b/public/index.html index 3b61801..38e2fa0 100644 --- a/public/index.html +++ b/public/index.html @@ -7,17 +7,17 @@ Hill's Treasure Hunt + - diff --git a/src/components/walletDialog/index.vue b/src/components/walletDialog/index.vue index e72fcca..ec6c62b 100644 --- a/src/components/walletDialog/index.vue +++ b/src/components/walletDialog/index.vue @@ -52,11 +52,11 @@ export default { name: "OKXwallet", value: "okxwallet", imgUrl: require("./../../assets/home/icon_OKXwallet.png") - }, - { - name: "WalletConnect", - value: "connect", - imgUrl: require("./../../assets/home/icon_ConnectWallet.png") + // }, + // { + // name: "WalletConnect", + // value: "connect", + // imgUrl: require("./../../assets/home/icon_ConnectWallet.png") } ], isWallet: !!localStorage.getItem('walletName'), @@ -220,7 +220,7 @@ div { // border: 2px solid #d5befa; } } - li:nth-child(4) { + li:nth-child(3) { padding-left: 0; background: url('@/assets/common/disconnect.png') no-repeat; background-size: 100% 100%; diff --git a/src/views/home/index.vue b/src/views/home/index.vue index beffe48..ed2fa0b 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -834,11 +834,15 @@ export default { await this.loginTwitter(data.id); } else if(data.task == "TwitterFollow") { followTwitter(data.cfg.account) + } else if(data.task == "TwitterLike") { + window.open(`'https://twitter.com/intent/like?tweet_id='+${'1779507826714681538'}`, '_blank'); + } else if(data.task == "TwitterTweet") { + followTwitter(data.cfg.content) } else if(data.task == "TwitterRetweet") { - retweetTwitter(data.cfg.content) + window.open(`'https://twitter.com/intent/retweet?tweet_id='+${'1779507826714681538'}`, '_blank'); } else if(data.task == "DiscordJoin") { joinDiscord(data.cfg.account) - } if (data.task == "DiscordConnect") { + } else if (data.task == "DiscordConnect") { this.loginDiscord() } }, @@ -1020,9 +1024,9 @@ export default { this.awardData = val this.eventName = 'help_event' this.dialogTitle = 'Congratulations' - if(this.filteredBar == 100) { + // if(this.filteredBar == 100) { this.getGameStat() - } + // } this.getUserState() this.$refs.rankingData.renewData() this.ExploreDialogVisible = true diff --git a/src/views/home/ranking.vue b/src/views/home/ranking.vue index aa72b03..699112a 100644 --- a/src/views/home/ranking.vue +++ b/src/views/home/ranking.vue @@ -208,7 +208,7 @@ export default { myScoreTotal: 0, myRankTotal: '-', historyDialogVisible: false, - logPageSize: 6, + logPageSize: 8, logCurrentPage: 1, } },