Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
闫晓茹 2023-11-17 11:00:12 +08:00
commit 81a1e99ecf
3 changed files with 10 additions and 5 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;

View File

@ -126,14 +126,14 @@
{{order.medicalRecord}} {{order.medicalRecord}}
</view> </view>
</view> </view>
<view class="doctordetailstwo"> <!-- <view class="doctordetailstwo">
<view class="doctorphonetwo"> <view class="doctorphonetwo">
咨询内容 咨询内容
</view> </view>
<view class="phonetwo advicetwo" v-if="list.healthConsultationContent"> <view class="phonetwo advicetwo" v-if="list.healthConsultationContent">
·{{list.healthConsultationContent}} ·{{list.healthConsultationContent}}
</view> </view>
</view> </view> -->
<view class="amount"> <view class="amount">
<span>订单金额</span><span>{{list.totalPrice}}</span> <span>订单金额</span><span>{{list.totalPrice}}</span>