|
|
|
@ -120,12 +120,29 @@
|
|
|
|
url: '/pages/main/ctime/ctime?id=' + id
|
|
|
|
url: '/pages/main/ctime/ctime?id=' + id
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
let erweima_popup=ref(null);
|
|
|
|
|
|
|
|
let show_erweima_text=ref('');
|
|
|
|
|
|
|
|
const erweima_click=(text)=>{
|
|
|
|
|
|
|
|
show_erweima_text.value=text
|
|
|
|
|
|
|
|
erweima_popup.value.open()
|
|
|
|
|
|
|
|
}
|
|
|
|
onMounted(() => {
|
|
|
|
onMounted(() => {
|
|
|
|
deepInfo();
|
|
|
|
deepInfo();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
|
|
|
|
|
<uni-popup ref="erweima_popup" type="center" :animation="false">
|
|
|
|
|
|
|
|
<view style="background-color: #fff;padding: 20rpx;border-radius: 10rpx;">
|
|
|
|
|
|
|
|
<view>扫码预约取号</view>
|
|
|
|
|
|
|
|
<w-qrcode :options="{
|
|
|
|
|
|
|
|
level: 4,
|
|
|
|
|
|
|
|
size: 500,
|
|
|
|
|
|
|
|
code: show_erweima_text,
|
|
|
|
|
|
|
|
}"></w-qrcode>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</uni-popup>
|
|
|
|
<view v-if="!!order_info" class="order_wrapper">
|
|
|
|
<view v-if="!!order_info" class="order_wrapper">
|
|
|
|
<view class="order_status_wrapper" :class="[`status${order_info.status}`]">
|
|
|
|
<view class="order_status_wrapper" :class="[`status${order_info.status}`]">
|
|
|
|
<view v-if="[1].includes(order_info.status)"> 待支付 </view>
|
|
|
|
<view v-if="[1].includes(order_info.status)"> 待支付 </view>
|
|
|
|
@ -151,7 +168,7 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view v-if="order_info.status==2 || order_info.status==4" >
|
|
|
|
<view v-if="order_info.status==2 || order_info.status==4" >
|
|
|
|
<w-qrcode class="absolute top-80rpx right-15rpx b-1 b-dashed b-#000 p-8rpx"
|
|
|
|
<w-qrcode @click="erweima_click(order_info.appointment_number)" class="absolute top-80rpx right-15rpx b-1 b-dashed b-#000 p-8rpx"
|
|
|
|
:options="{
|
|
|
|
:options="{
|
|
|
|
level: 4,
|
|
|
|
level: 4,
|
|
|
|
size: 150,
|
|
|
|
size: 150,
|
|
|
|
|