From 29520d0daaa1dd54eeec29ea0e5ab6c2791cd6ac Mon Sep 17 00:00:00 2001 From: zcx <377075991@qq.com> Date: Fri, 2 Feb 2024 18:11:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A9=E5=8A=9Bbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/components/ggl/index.vue | 20 ++++++++++++++------ src/pages/me/help.vue | 7 ++++++- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/src/pages/index/components/ggl/index.vue b/src/pages/index/components/ggl/index.vue index e075971..7128992 100644 --- a/src/pages/index/components/ggl/index.vue +++ b/src/pages/index/components/ggl/index.vue @@ -48,7 +48,9 @@ actiNum: 0, total: 0, winningList: [], - activityRule: undefined + activityRule: undefined, + startTime: undefined, + endTime: undefined } }, onLoad(op) { @@ -115,6 +117,9 @@ }) }, handleComplete() { + if(){ + + } saveWinner({ phone: useUserStore().userInfo?.phone || '', detailId: this.detailId, @@ -123,11 +128,14 @@ this.btnText = '再刮一次!' if(resp.code == 200) { this.getActivityNum() - let help = ",完成助力即可领取奖品!" - uni.showToast({ - icon: 'none', - title: `恭喜获得${this.result}` + help - }) + if(this.result != '谢谢惠顾'){ + let help = ",完成助力即可领取奖品!" + uni.showToast({ + icon: 'none', + title: `恭喜获得${this.result}` + help + }) + } + this.showBtn = true } }) diff --git a/src/pages/me/help.vue b/src/pages/me/help.vue index e12cc28..e8b2c47 100644 --- a/src/pages/me/help.vue +++ b/src/pages/me/help.vue @@ -92,7 +92,12 @@ path: '/pages/me/help?id=' + this.winnerId + '&type=2' } }, - + onPullDownRefresh() { + if(this.type == 1){ + this.getWinnerInfo() + this.getHelpInfo() + } + } methods: { //查询中奖信息 getWinnerInfo() {