import{Y as s,l as e,b$ as a,_ as l}from"./utils-lib.js?v=20260328163632";import{b as t,c as i}from"./useMethod8.js?v=20260328163632";import{u as p}from"./index.vue_vue_type_script_setup_true_lang9.js?v=20260328163632";import{k as n,r as o,o as c,J as r,V as m,W as d,X as u,F as x,L as v,K as j,Y as _,Z as f,O as y}from"./base-lib.js?v=20260328163632";import"./naive-ui.js?v=20260328163632";import"./__commonjsHelpers__.js?v=20260328163632";import"./env-lib.js?v=20260328163632";import"./site.js?v=20260328163632";import"./index84.js?v=20260328163632";import"./store4.js?v=20260328163632";import"./useMethod4.js?v=20260328163632";import"./index.vue_vue_type_script_setup_true_lang10.js?v=20260328163632";import"./index158.js?v=20260328163632";import"./ace.js?v=20260328163632";import"./index91.js?v=20260328163632";import"./index88.js?v=20260328163632";import"./index118.js?v=20260328163632";import"./logs.js?v=20260328163632";const b={class:"px-[30px] py-[20px]"},w={class:"ssl-pay-type"},g=["onClick"],h={class:"p-[32px] flex flex-col justify-center items-center mt-[16px]"},k={class:"mt-[20px] text-[14px] font-bold flex items-center"},D={class:"text-[25px] ml-[8px] text-orange"},M={class:"ssl-pay-info"},q={class:"ssl-pay-info-line"},C={class:"w-[50px]"},F={class:"ssl-pay-info-line"},I={class:"w-[50px]"},Y={class:"mt-[16px] flex items-center justify-center"},z=l(n({__name:"index",props:{compData:{default:{alicode:"",oid:0,price:0,qq:"",wxcode:"",wxoid:0}}},emits:["close"],setup(l,{emit:n}){const{orderInfo:z}=p(),A=l,H=o("wxcode"),J=o(s((new Date).getTime(),"yyyy-MM-dd hh:mm:ss")),K=[{name:e("微信支付"),label:"wxcode"},{name:e("支付宝支付"),label:"alicode"}],L=o(A.compData[H.value]);return c((()=>{t()})),r((()=>{i()})),(s,l)=>(m(),d("div",b,[u("div",w,[(m(),d(x,null,v(K,(s=>u("span",{key:s.label,class:j("ssl-pay-tab-item ".concat(s.label===_(H)?"isActive":"")),onClick:e=>{return a=s.label,H.value=a,void(L.value=A.compData[a]);var a}},[u("span",{class:j("pay-icon ".concat(s.label))},null,2),u("span",null,f(s.name),1)],10,g))),64))]),u("div",h,[y(_(a),{value:_(L),size:160},null,8,["value"]),u("span",k,[u("span",null,f(_(e)("总计")),1),u("span",D,f(_(e)("{0} 元",[_(z).price.toFixed(2)])),1)])]),u("div",M,[u("div",q,[u("span",C,f(_(e)("商品名称")),1),u("span",null,f(_(e)("证书安装服务")),1)]),u("div",F,[u("span",I,f(_(e)("下单时间")),1),u("span",null,f(_(J)),1)])]),u("div",Y,[l[0]||(l[0]=u("span",{class:"scan-icon"},null,-1)),u("span",null,f("wxcode"===_(H)?_(e)("微信扫一扫支付"):_(e)("支付宝扫一扫支付")),1)])]))}}),[["__scopeId","data-v-94b479f4"]]);export{z as default};
