From c939e73e844ff7a3aafdd8513ea8742ed1c60cf4 Mon Sep 17 00:00:00 2001 From: shidongli Date: Fri, 17 Nov 2023 10:30:41 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=B8=93=E5=AE=B6=E9=97=AE=E8=AF=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesB/confirmation/confirmation.vue | 10 +++++++--- pagesB/consulted/consulted.scss | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pagesB/confirmation/confirmation.vue b/pagesB/confirmation/confirmation.vue index e6301ae..03ab085 100644 --- a/pagesB/confirmation/confirmation.vue +++ b/pagesB/confirmation/confirmation.vue @@ -184,6 +184,8 @@ }, data() { return { + orderNo:'', + patientId:'', buyshow: false, uoloadaction: '', // 非真实地址 list: [], @@ -341,6 +343,8 @@ res.data.paymentPrice = res.data.totalPrice res.data.openid = uni.getStorageSync('openid'); that.id = res.data.id + that.orderNo=res.data.orderNo + that.patientId=res.data.patientId appletGoodsOrderPay(res.data).then(response => { if (response.code == 200) { uni.requestPayment({ @@ -351,8 +355,8 @@ paySign: response.data.paySign, success: function(res) { pushMeg({ - orderId: item.goodsOrderId, - patientId: item.patientId + orderId: that.orderNo, + patientId: that.patientId }).then(respp => { that.$refs.uToast.show({ title: '支付成功', @@ -364,7 +368,7 @@ } that.timer = setTimeout(e => { uni.redirectTo({ - url: '/pagesB/paysuccess/paysuccess' + url: '/pagesB/ExpertlookOrder/ExpertlookOrder' }) }, 1500) }) diff --git a/pagesB/consulted/consulted.scss b/pagesB/consulted/consulted.scss index 529db70..2f1067d 100644 --- a/pagesB/consulted/consulted.scss +++ b/pagesB/consulted/consulted.scss @@ -292,6 +292,7 @@ top: 52%; left: 5%; margin-left: 5%; + margin-bottom: 30rpx; } .advicetwo { letter-spacing: 0.2em; From c3014f92966df5aaea2954f4521a69c692729175 Mon Sep 17 00:00:00 2001 From: shidongli Date: Fri, 17 Nov 2023 10:38:34 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=B8=93=E5=AE=B6=E5=92=A8=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesB/consulted/consulted.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pagesB/consulted/consulted.vue b/pagesB/consulted/consulted.vue index 36e6b3c..120a1e3 100644 --- a/pagesB/consulted/consulted.vue +++ b/pagesB/consulted/consulted.vue @@ -126,14 +126,14 @@ {{order.medicalRecord}} - + 订单金额¥{{list.totalPrice}}