import{c as s,g as a,q as e,a6 as l,v as t,x as o,e as n,B as i,z as r,F as p,b0 as c,y as m,A as u,C as d,D as x,aY as f,G as v,K as j}from"./base-lib.js?v=1761009159";import{_ as y}from"./index415.js?v=1761009159";import{u as b}from"./useStore12.js?v=1761009159";import{j as _}from"./validator.js?v=1761009159";import{t as C,a as k,b as w,c as g,s as I,d as S}from"./usePayController.js?v=1761009159";import{V as D,_ as q}from"./utils-lib.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./site.js?v=1761009159";import"./useStore4.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";import"./useController13.js?v=1761009159";import"./index105.js?v=1761009159";import"./useController6.js?v=1761009159";import"./useController5.js?v=1761009159";import"./useMethod5.js?v=1761009159";import"./useController4.js?v=1761009159";import"./useStore10.js?v=1761009159";const H={class:"px-[3rem] py-[2rem] pb-[24px]"},M={class:"ssl-pay-type"},P=["onClick"],z={class:"p-[24px] flex flex-col justify-center items-center"},A={class:"mt-[16px] text-base font-bold flex items-center"},F={class:"text-[2.5rem] ml-[8px] text-orange"},T={key:0,class:"mt-[20px] text-base flex items-center"},h={class:"ssl-pay-info"},B={class:"ssl-pay-info-line"},G={class:"ssl-pay-info-line"},K={class:"mt-[16px] flex items-center justify-center"},L=q(s({__name:"pay-bus-ssl",props:{compData:{default:{oid:0,wxcode:"",alicode:"",qq:"",orderInfo:{},productInfo:{}}}},emits:["close"],setup(s,{emit:q}){const{productInfo:L,orderInfo:N,pollingPopup:V}=b(),Y=s,E=[{name:"微信支付",label:"wxcode"},{name:"支付宝支付",label:"alicode"}],J=a(()=>Y.compData[C.value]);return e(()=>k((new Date).getTime()/1e3)),l(()=>{V.value=null,w.value=!1,clearTimeout(g.value)}),(s,a)=>{var e,l,b,w;const g=f,q=y,V=v;return t(),o("div",H,[n(g,{type:"error",closable:!1},{title:i(()=>a[1]||(a[1]=[r("span",{class:"text-small"},[r("i",{calss:"svgtofont-el-warning-outline text-small"}),r("span",null," 禁止含有诈骗、赌博、色情、木马、病毒等违法违规业务信息的站点申请SSL证书，如有违反，撤销申请，停用账号。 ")],-1)])),_:1}),r("div",M,[(t(),o(p,null,c(E,s=>r("span",{key:s.name,class:j("ssl-pay-tab-item ".concat(s.label===m(C)?"isActive":"")),onClick:a=>m(S)(s.label)},[r("span",{class:j("pay-icon ".concat(s.label))},null,2),r("span",null,u(s.name),1)],10,P)),64))]),r("div",z,[n(q,{value:m(J),size:160},null,8,["value"]),r("span",A,[a[2]||(a[2]=r("span",null,"总计",-1)),r("span",F,u(null==(e=m(L))?void 0:e.totalPrice.toFixed(2))+" 元 ",1)]),m(I)?(t(),o("span",T,[n(V,{type:"default",onClick:m(k)},{default:i(()=>a[3]||(a[3]=[d("刷新支付状态",-1)])),_:1,__:[3]},8,["onClick"]),r("span",{class:"bt-link ml-[2rem]",onClick:a[0]||(a[0]=(...s)=>m(_)&&m(_)(...s))},"联系客服")])):x("",!0)]),r("div",h,[r("div",B,[a[4]||(a[4]=r("span",{class:"w-[5rem]"},"商品名称",-1)),r("span",null,u("".concat((null==(l=m(L))?void 0:l.productName)+(null==(b=m(L))?void 0:b.years),"年").concat((null==(w=m(L))?void 0:w.install)?"(包含部署服务)":"")),1)]),r("div",G,[a[5]||(a[5]=r("span",{class:"w-[5rem]"},"下单时间",-1)),r("span",null,u(m(D)(m(N).addtime,"yyyy-MM-dd HH:mm:ss")),1)])]),r("div",K,[a[6]||(a[6]=r("span",{class:"scan-icon"},null,-1)),r("span",null,u("wxcode"===m(C)?"微信扫一扫支付":"支付宝扫一扫支付"),1)])])}}}),[["__scopeId","data-v-e94b5a0b"]]);export{L as default};
