import{_ as s}from"./index415.js?v=1761009159";import{V as e,_ as a}from"./utils-lib.js?v=1761009159";import{c as l,r as o,q as t,a6 as r,v as i,x as n,z as p,F as m,b0 as c,K as u,y as d,A as x,e as j}from"./base-lib.js?v=1761009159";import{u as f}from"./useStore12.js?v=1761009159";import{e as v,f as y}from"./usePayController.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./site.js?v=1761009159";import"./useStore4.js?v=1761009159";import"./useController13.js?v=1761009159";import"./index105.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";import"./useController6.js?v=1761009159";import"./validator.js?v=1761009159";import"./useController5.js?v=1761009159";import"./useMethod5.js?v=1761009159";import"./useController4.js?v=1761009159";import"./useStore10.js?v=1761009159";const b={class:"px-[3rem] py-[2rem]"},_={class:"ssl-pay-type"},w=["onClick"],C={class:"p-[32px] flex flex-col justify-center items-center mt-[16px]"},D={class:"mt-[20px] text-base font-bold flex items-center"},h={class:"text-[2.5rem] ml-[8px] text-orange"},k={class:"ssl-pay-info"},q={class:"ssl-pay-info-line"},M={class:"mt-[16px] flex items-center justify-center"},S=a(l({__name:"pay-ssl-service",props:{compData:{default:{alicode:"",oid:0,price:0,qq:"",wxcode:"",wxoid:0}}},emits:["close"],setup(a,{emit:l}){const{orderInfo:S}=f(),g=a,z=o("wxcode"),A=o(e((new Date).getTime(),"yyyy-MM-dd hh:mm:ss")),F=[{name:"微信支付",label:"wxcode"},{name:"支付宝支付",label:"alicode"}],I=o(g.compData[z.value]);return t(()=>{v()}),r(()=>{y()}),(e,a)=>{const l=s;return i(),n("div",b,[p("div",_,[(i(),n(m,null,c(F,s=>p("span",{key:s.label,class:u("ssl-pay-tab-item ".concat(s.label===d(z)?"isActive":"")),onClick:e=>{return a=s.label,z.value=a,void(I.value=g.compData[a]);var a}},[p("span",{class:u("pay-icon ".concat(s.label))},null,2),p("span",null,x(s.name),1)],10,w)),64))]),p("div",C,[j(l,{value:d(I),size:160},null,8,["value"]),p("span",D,[a[0]||(a[0]=p("span",null,"总计",-1)),p("span",h,x(d(S).price.toFixed(2))+" 元",1)])]),p("div",k,[a[2]||(a[2]=p("div",{class:"ssl-pay-info-line"},[p("span",{class:"w-[5rem]"},"商品名称"),p("span",null,"证书安装服务")],-1)),p("div",q,[a[1]||(a[1]=p("span",{class:"w-[5rem]"},"下单时间",-1)),p("span",null,x(d(A)),1)])]),p("div",M,[a[3]||(a[3]=p("span",{class:"scan-icon"},null,-1)),p("span",null,x("wxcode"===d(z)?"微信扫一扫支付":"支付宝扫一扫支付"),1)])])}}}),[["__scopeId","data-v-1e08da23"]]);export{S as default};
