From afdda8d36e4eb7560ec51f8872c2b97bcd599744 Mon Sep 17 00:00:00 2001 From: Wik-T <812952667@qq.com> Date: Mon, 9 Jan 2023 16:42:48 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=96=B0=E5=A2=9E=E5=8F=96=E6=B6=88=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E6=8E=A5=E5=8F=A3=202.=E6=96=B0=E5=A2=9E=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E8=B7=B3=E8=BD=AC=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../rec-confirmation/rec-confirmation.vue | 16 ++++----- pages/tabBar/home/home.vue | 33 +++++++++++-------- 2 files changed, 28 insertions(+), 21 deletions(-) diff --git a/member-Recharge/rec-confirmation/rec-confirmation.vue b/member-Recharge/rec-confirmation/rec-confirmation.vue index f96afef..c07bff1 100644 --- a/member-Recharge/rec-confirmation/rec-confirmation.vue +++ b/member-Recharge/rec-confirmation/rec-confirmation.vue @@ -174,7 +174,7 @@ wechatPay, cardPay, getUserOrderPreList, - thirdCancelOrder, + cancel, getRebateIntegral } from '../../Utils/Api.js'; // #ifdef H5 @@ -575,14 +575,14 @@ title: '工会卡余额不足', duration: 2000, }); - that.thirdCancelOrder(); + that.cancel(); return; } if (!that.user.isSetPayPwd) { uni.navigateTo({ url: '../../pages/login/updatePas/updatePas' }) - that.thirdCancelOrder(); + that.cancel(); return; } if (!that.user.isSetHltCard) { @@ -598,7 +598,7 @@ }, 1000) } }); - that.thirdCancelOrder(); + that.cancel(); return; } that.$refs.paymentPassword.modalFun('show'); @@ -611,11 +611,11 @@ } }, //取消订单 - thirdCancelOrder() { + cancel() { let params = { - orderId: this.orderId, + orderNo: this.orderId, } - thirdCancelOrder(params).then(res => { + cancel(params).then(res => { if (res.return_code == '000000') { this.orderId = ''; } @@ -672,7 +672,7 @@ icon: 'none', duration: 2000 }); - this.thirdCancelOrder(); + this.cancel(); }) return; } diff --git a/pages/tabBar/home/home.vue b/pages/tabBar/home/home.vue index 4907376..60d0dba 100644 --- a/pages/tabBar/home/home.vue +++ b/pages/tabBar/home/home.vue @@ -31,7 +31,7 @@ - + @@ -65,11 +65,13 @@ - + - {{item.childDate[0].title}} + {{item.childDate[0].title}} + {{swipers.timeData}} @@ -82,7 +84,8 @@ - {{swipers.title}} + {{swipers.title}} + {{swipers.timeData}} @@ -112,8 +115,10 @@ 更多 - - + + {{goods.couponName}} @@ -121,8 +126,10 @@ - - + + {{goods.title}}