From 4aa41032ffe0ffe93d2456d62accb65f66dfbae9 Mon Sep 17 00:00:00 2001 From: yuyongdong Date: Fri, 12 Apr 2024 23:10:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E4=BF=AE=E6=94=B9=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E4=B8=8D=E5=87=BA=E7=8E=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/boxBtm.vue | 4 ++-- src/views/home/gameView.vue | 1 - src/views/home/helpDialog.vue | 10 ++++++---- src/views/home/index.vue | 14 ++++++++++---- 4 files changed, 18 insertions(+), 11 deletions(-) diff --git a/src/views/home/boxBtm.vue b/src/views/home/boxBtm.vue index 6c83f81..8495dca 100644 --- a/src/views/home/boxBtm.vue +++ b/src/views/home/boxBtm.vue @@ -24,10 +24,10 @@
-
User name
+
{{ item.nickname }}
-
+8
+
{{ item.score }}
diff --git a/src/views/home/gameView.vue b/src/views/home/gameView.vue index 52ae331..db130a2 100644 --- a/src/views/home/gameView.vue +++ b/src/views/home/gameView.vue @@ -100,7 +100,6 @@ export default { clearInterval(serTimeId) } } else { - console.log(JSON.stringify(data)) // alert(`领取成功, 播放动画, 并显示奖励: ${JSON.stringify(data)}`) cc.mainAnim.setCurrPos(getTotalUsed) cc.mainAnim.setData(step) diff --git a/src/views/home/helpDialog.vue b/src/views/home/helpDialog.vue index 9f2d0bc..48bf051 100644 --- a/src/views/home/helpDialog.vue +++ b/src/views/home/helpDialog.vue @@ -98,10 +98,12 @@ export default { this.boxId = this.$route.params.boxId.split("id=")[1]; this.boxCode = this.$route.params.box.split("box=")[1]; // this.$axios.all([this.getBoxData(),this.getHelpBoxLog(),this.helpConfirm(),this.initBoxState(this.boxCode,this.boxId)]) - this.getBoxData() - this.getHelpBoxLog() - this.helpConfirm() - this.initBoxState(this.boxCode,this.boxId) + if(this.token) { + this.getBoxData() + this.getHelpBoxLog() + this.helpConfirm() + this.initBoxState(this.boxCode,this.boxId) + } }, methods: { // 宝箱信息接口 diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 2369c7e..426744f 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -65,7 +65,7 @@
- +