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; 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}}