From 92abf520d8551f91be558dde374f8d31a0307e04 Mon Sep 17 00:00:00 2001 From: Enzo <1284707383@qq.com> Date: Fri, 27 Aug 2021 10:08:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E6=81=AF=E8=AF=A6=E6=83=85=E8=BE=B9?= =?UTF-8?q?=E8=B7=9D=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 22 +++++++--------------- pages/message/detail.vue | 2 +- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 782a19b..f69c0d8 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -132,21 +132,13 @@ this.getFavourite() }, onLoad(options) { - // console.log('=======11111=======',options) - // if (options.scene) { - // // 单个参数 - // let str = decodeURIComponent(options.scene); - // let obj = this.parseData(str); - // console.log('==============',str) - // return - // if (obj.type == 'de_qr') { - // this.click_type = 'department_qr'; - // this.qr_id = obj.first_id; - // }else if(obj.type == 'sp_qr'){ - // this.click_type = 'special_qr'; - // this.qr_id = obj.special_id; - // } - // } + if (options.scene) { + // 单个参数 + let str = decodeURIComponent(options.scene); + this.$http(this.API.API_CONFIRM_CODE, {verify_code: str}).then(res => { + this.$msg('核销成功!'); + }); + } }, methods: { //获取猜你喜欢 diff --git a/pages/message/detail.vue b/pages/message/detail.vue index 90f7056..b83e2ee 100644 --- a/pages/message/detail.vue +++ b/pages/message/detail.vue @@ -1,5 +1,5 @@