测试修改弹窗不出现问题

This commit is contained in:
yuyongdong 2024-04-12 23:10:13 +08:00
parent 9b1799b98a
commit 4aa41032ff
4 changed files with 18 additions and 11 deletions

View File

@ -24,10 +24,10 @@
<div class="user-img" v-else>
<img :src="item.imgSrc" alt="">
</div>
<div class="user-name">User name</div>
<div class="user-name">{{ item.nickname }}</div>
</div>
<div class="right">
<div class="records">+8</div>
<div class="records">{{ item.score }}</div>
<div class="icon">
<img src="./../../assets/common/Icon_Points.png" alt="">
</div>

View File

@ -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)

View File

@ -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: {
//

View File

@ -65,7 +65,7 @@
</div>
<div class="explore">
<div class="explore-zill">
<gameView ref="stepId" :stepAmount="stepAmount" :getTotalUsed="getTotalUsed" @awardDialog="awardDialog1" />
<gameView ref="stepId" :stepAmount="stepAmount" :getTotalUsed="getTotalUsed" @awardDialog="exploreAwardDialog" />
</div>
<div class="explore-desc" v-if="navIndex == 0 || navIndex == 2">
<div class="explore-desc-logo">
@ -839,14 +839,18 @@ export default {
//
async exploreCli(amount) {
this.$refs.stepId.sendOneAction(this.getTotalUsed, amount)
if(this.token) {
this.$refs.stepId.sendOneAction(this.getTotalUsed, amount)
} else {
this.walletDialogVisible = true
}
},
//
awardDialog1(val) {
exploreAwardDialog(val) {
this.awardData = val
this.eventName = 'explore_event'
if(this.awardData.chest.length > 0) {
if(this.awardData.chests.length > 0) {
this.level1 = []
this.level2 = []
this.level3 = []
@ -868,6 +872,7 @@ export default {
}
this.ExploreDialogVisible = true
this.getGameStat()
},
//
@ -930,6 +935,7 @@ export default {
}
} else {
alert(`领取成功, 获得积分: ${data.score}`)
this.$message.success(data.ticket)
this.$refs.renewCheck.renewCheckInit()
this.getGameStat();
localStorage.removeItem(storeageKey)