From 23a0ada9c0793740706373a3bd61950cb666a58c Mon Sep 17 00:00:00 2001 From: yuyongdong Date: Tue, 16 Apr 2024 13:22:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BC=80=E5=AE=9D=E7=AE=B1?= =?UTF-8?q?=E5=90=8E=E6=8E=92=E8=A1=8C=E6=A6=9C=E4=B8=8D=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 2 +- src/views/home/boxBtm.vue | 21 +++----------- src/views/home/helpDialog.vue | 3 +- src/views/home/index.vue | 52 ++++++++--------------------------- src/views/home/logDialog.vue | 4 --- src/views/home/ranking.vue | 5 ++-- 6 files changed, 20 insertions(+), 67 deletions(-) diff --git a/public/index.html b/public/index.html index 8565376..4a6ac71 100644 --- a/public/index.html +++ b/public/index.html @@ -5,7 +5,7 @@ - + <%= htmlWebpackPlugin.options.title %> diff --git a/src/views/home/boxBtm.vue b/src/views/home/boxBtm.vue index f9884f3..b9fa09f 100644 --- a/src/views/home/boxBtm.vue +++ b/src/views/home/boxBtm.vue @@ -213,10 +213,7 @@ slot-scope="scope" >
-
- - -
+ {{ scope.row.nickname }}
@@ -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%; - } - } } } } diff --git a/src/views/home/helpDialog.vue b/src/views/home/helpDialog.vue index 7168938..c212eda 100644 --- a/src/views/home/helpDialog.vue +++ b/src/views/home/helpDialog.vue @@ -14,7 +14,8 @@ - + +
diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 224a151..f520c52 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -41,8 +41,7 @@
Explorations obtained
- - +
@@ -500,8 +499,7 @@
Explorations obtained
- - +
@@ -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; } } } diff --git a/src/views/home/logDialog.vue b/src/views/home/logDialog.vue index 8ad5e8d..54c5f11 100644 --- a/src/views/home/logDialog.vue +++ b/src/views/home/logDialog.vue @@ -196,10 +196,6 @@ div { display: flex; align-items: center; justify-content: space-evenly; - img { - width: 40px; - height: 40px; - } } } } diff --git a/src/views/home/ranking.vue b/src/views/home/ranking.vue index 537bc81..d0fa9d5 100644 --- a/src/views/home/ranking.vue +++ b/src/views/home/ranking.vue @@ -52,7 +52,7 @@
- +
@@ -87,8 +87,7 @@
- - +