专家问诊

This commit is contained in:
shidongli 2023-11-17 10:30:41 +08:00
parent 7ef60619b9
commit c939e73e84
2 changed files with 8 additions and 3 deletions

View File

@ -184,6 +184,8 @@
}, },
data() { data() {
return { return {
orderNo:'',
patientId:'',
buyshow: false, buyshow: false,
uoloadaction: '', // uoloadaction: '', //
list: [], list: [],
@ -341,6 +343,8 @@
res.data.paymentPrice = res.data.totalPrice res.data.paymentPrice = res.data.totalPrice
res.data.openid = uni.getStorageSync('openid'); res.data.openid = uni.getStorageSync('openid');
that.id = res.data.id that.id = res.data.id
that.orderNo=res.data.orderNo
that.patientId=res.data.patientId
appletGoodsOrderPay(res.data).then(response => { appletGoodsOrderPay(res.data).then(response => {
if (response.code == 200) { if (response.code == 200) {
uni.requestPayment({ uni.requestPayment({
@ -351,8 +355,8 @@
paySign: response.data.paySign, paySign: response.data.paySign,
success: function(res) { success: function(res) {
pushMeg({ pushMeg({
orderId: item.goodsOrderId, orderId: that.orderNo,
patientId: item.patientId patientId: that.patientId
}).then(respp => { }).then(respp => {
that.$refs.uToast.show({ that.$refs.uToast.show({
title: '支付成功', title: '支付成功',
@ -364,7 +368,7 @@
} }
that.timer = setTimeout(e => { that.timer = setTimeout(e => {
uni.redirectTo({ uni.redirectTo({
url: '/pagesB/paysuccess/paysuccess' url: '/pagesB/ExpertlookOrder/ExpertlookOrder'
}) })
}, 1500) }, 1500)
}) })

View File

@ -292,6 +292,7 @@
top: 52%; top: 52%;
left: 5%; left: 5%;
margin-left: 5%; margin-left: 5%;
margin-bottom: 30rpx;
} }
.advicetwo { .advicetwo {
letter-spacing: 0.2em; letter-spacing: 0.2em;