From b74fff86a485084e73cced1aed694089366b08e0 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Mon, 13 Jan 2025 15:27:42 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E5=B9=BF=E5=91=8A=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/pop-choujiang.vue | 32 +++++++++---------- components/pop-ling-qu - 副本.vue | 52 +++++++++++++++---------------- components/pop-ling-qu.vue | 30 +++++++++--------- me/yaoqing/ymg-yaoqing-tixian.vue | 4 +-- 4 files changed, 59 insertions(+), 59 deletions(-) diff --git a/components/pop-choujiang.vue b/components/pop-choujiang.vue index 394a9d3..ec0bf04 100644 --- a/components/pop-choujiang.vue +++ b/components/pop-choujiang.vue @@ -476,22 +476,22 @@ orderId, id } = _this.result - _this.$Request.postJson('/app/discSpinning/receive', _this.result).then(res => { - _this.result = '' - console.log(res) - if (res.code == 0) { - uni.showToast({ - title: '领取成功', - icon: 'none' - }) - _this.getRedPack() - } else { - uni.showToast({ - title: '领取失败', - icon: 'none' - }) - } - }) + // _this.$Request.postJson('/app/discSpinning/receive', _this.result).then(res => { + // _this.result = '' + // console.log(res) + // if (res.code == 0) { + // uni.showToast({ + // title: '领取成功', + // icon: 'none' + // }) + // _this.getRedPack() + // } else { + // uni.showToast({ + // title: '领取失败', + // icon: 'none' + // }) + // } + // }) }, complete: () => { this.prizeing = false diff --git a/components/pop-ling-qu - 副本.vue b/components/pop-ling-qu - 副本.vue index 82d5564..750cf98 100644 --- a/components/pop-ling-qu - 副本.vue +++ b/components/pop-ling-qu - 副本.vue @@ -53,23 +53,23 @@ orderId, id } = this.result - this.$Request.postJson('/app/discSpinning/receive', this.result).then(res => { - this.result = '' - console.log(res) - if (res.code == 0) { - uni.showToast({ - title: '领取成功', - icon: 'none' - }) - this.$emit('success') - this.close() - } else { - uni.showToast({ - title: '领取失败', - icon: 'none' - }) - } - }) + // this.$Request.postJson('/app/discSpinning/receive', this.result).then(res => { + // this.result = '' + // console.log(res) + // if (res.code == 0) { + // uni.showToast({ + // title: '领取成功', + // icon: 'none' + // }) + // this.$emit('success') + // this.close() + // } else { + // uni.showToast({ + // title: '领取失败', + // icon: 'none' + // }) + // } + // }) }, close() { this.show = false @@ -80,15 +80,15 @@ orderId, id } = this.result - this.$Request.postJson('/app/discSpinning/receive', this.result).then(res => { - this.result = '' - console.log(res) - if (res.code == 0) { - this.$emit('success') - this.close() - } else { - } - }) + // this.$Request.postJson('/app/discSpinning/receive', this.result).then(res => { + // this.result = '' + // console.log(res) + // if (res.code == 0) { + // this.$emit('success') + // this.close() + // } else { + // } + // }) } } } diff --git a/components/pop-ling-qu.vue b/components/pop-ling-qu.vue index e1b143c..dbcee94 100644 --- a/components/pop-ling-qu.vue +++ b/components/pop-ling-qu.vue @@ -57,21 +57,21 @@ orderId, id } = this.result - this.$Request.postJson('/app/discSpinning/receive', this.result).then(res => { - this.result = '' - console.log(res) - if (res.code == 0) { - console.log('抽奖领取成功'); - const key=res.data==0?'isBindAliPay':undefined - this.$emit('close',key) - if(key&&key=='isBindAliPay'){ - uni.navigateTo({ - url:'/me/yaoqing/zhifubao-tixain' - }) - } - } else { - } - }) + // this.$Request.postJson('/app/discSpinning/receive', this.result).then(res => { + // this.result = '' + // console.log(res) + // if (res.code == 0) { + // console.log('抽奖领取成功'); + // const key=res.data==0?'isBindAliPay':undefined + // this.$emit('close',key) + // if(key&&key=='isBindAliPay'){ + // uni.navigateTo({ + // url:'/me/yaoqing/zhifubao-tixain' + // }) + // } + // } else { + // } + // }) } } } diff --git a/me/yaoqing/ymg-yaoqing-tixian.vue b/me/yaoqing/ymg-yaoqing-tixian.vue index 43014cb..be89846 100644 --- a/me/yaoqing/ymg-yaoqing-tixian.vue +++ b/me/yaoqing/ymg-yaoqing-tixian.vue @@ -109,11 +109,11 @@ - {{ error }} - + -->