import{u as e,r as a,o as r,c as _,w as l,i as s,b as o,d,e as p,h as u,f as n,t,L as f,l as i}from"./index-nXnlmWJr.js";import{_ as c}from"./_plugin-vue_export-helper.BCo6x5W8.js";const m=c({__name:"done",props:{id:{type:String,default:"0"}},setup(c){const m=e(),w=()=>{g()},v=a(null),b=e=>{v.value||(v.value=e,w())},y=a({status:1,combo_id:1,combo_name:"中心动脉硬化检测体检",item_ids:[1,2,3,4],item_info:[{name:"抽血1"},{name:"抽血2"},{name:"抽血3"},{name:"抽血4"}],name:"周子轩",id_number:"130322199409090090",order_number:"1000034",order_time:"2024-12-12 12:12:12",type:"个检",price:"300.00"}),g=async()=>{};return r((()=>{v.value&&w()})),(e,a)=>{const r=s,c=i;return o(),_(r,null,{default:l((()=>[d(m).config?(o(),_(r,{key:0},{default:l((()=>[p(r,{ref:b})])),_:1})):u("",!0),y.value?(o(),_(r,{key:1},{default:l((()=>[1===y.value.status?(o(),_(r,{key:0,class:"order_done_wrapper"},{default:l((()=>[p(r,{class:"order_icon_wrapper"},{default:l((()=>[p(r,{class:"order_icon_image_wrapper"},{default:l((()=>[p(c,{src:"/h5/assets/buy_done@2x-Dq72UtAW.png"})])),_:1}),p(r,{class:"order_icon_tip_wrapper"},{default:l((()=>[n("恭喜您，支付成功！")])),_:1})])),_:1}),p(r,{class:"order_info_wrapper"},{default:l((()=>[p(r,{class:"order_info_title_wrapper"},{default:l((()=>[n(t(y.value.combo_name),1)])),_:1}),p(r,{class:"order_info_line_wrapper"},{default:l((()=>[p(r,{class:"order_info_label_wrapper"},{default:l((()=>[n("体检人：")])),_:1}),p(r,{class:"order_info_value_wrapper"},{default:l((()=>[n(t(y.value.name),1)])),_:1})])),_:1}),p(r,{class:"order_info_line_wrapper"},{default:l((()=>[p(r,{class:"order_info_label_wrapper"},{default:l((()=>[n("证件号码：")])),_:1}),p(r,{class:"order_info_value_wrapper"},{default:l((()=>[n(t(y.value.id_number),1)])),_:1})])),_:1}),p(r,{class:"order_info_line_wrapper"},{default:l((()=>[p(r,{class:"order_info_label_wrapper"},{default:l((()=>[n("预约单号：")])),_:1}),p(r,{class:"order_info_value_wrapper"},{default:l((()=>[n(t(y.value.order_number),1)])),_:1})])),_:1}),p(r,{class:"order_info_line_wrapper"},{default:l((()=>[p(r,{class:"order_info_label_wrapper"},{default:l((()=>[n("预约时间：")])),_:1}),p(r,{class:"order_info_value_wrapper"},{default:l((()=>[n(t(y.value.order_time),1)])),_:1})])),_:1}),p(r,{class:"order_info_line_wrapper"},{default:l((()=>[p(r,{class:"order_info_label_wrapper"},{default:l((()=>[n("类型：")])),_:1}),p(r,{class:"order_info_value_wrapper"},{default:l((()=>[n(t(y.value.type),1)])),_:1})])),_:1}),p(r,{class:"order_info_price_wrapper"},{default:l((()=>[p(r,{class:"order_info_label_wrapper"},{default:l((()=>[n("订单金额：")])),_:1}),p(r,{class:"order_info_value_wrapper"},{default:l((()=>[n("¥"+t(y.value.price),1)])),_:1})])),_:1})])),_:1}),p(r,{onClick:a[0]||(a[0]=e=>{f({url:"/pages/main/order/order"})}),class:"check_done_wrapper"},{default:l((()=>[n("确认并关闭")])),_:1})])),_:1})):u("",!0)])),_:1})):u("",!0)])),_:1})}}},[["__scopeId","data-v-d64d630b"]]);export{m as default};
