import{d as C,c as d,e as a,f as s,g as t,m as i,F as f,l as u,t as l,h as k}from"./DOfG14GD.js";const _={class:"relative w-full overflow-hidden"},j={class:"mx-auto w-full max-w-[1600px] px-4 md:px-8 lg:px-[6%] pt-10"},I={class:"grid grid-cols-1 gap-10 py-10 md:py-14 lg:grid-cols-[minmax(0,1fr)_minmax(0,1.6fr)] lg:gap-16"},S={class:"min-w-0"},q={class:"flex flex-col gap-5"},N={class:"break-words text-sm text-white/85 md:text-[15px]"},B={key:0,class:"flex items-center gap-4"},z={class:"break-all text-sm text-white/85 md:text-[15px]"},E={key:0,class:"text-white/60"},F={key:1,class:"flex items-center gap-4"},P={class:"break-all text-sm text-white/85 md:text-[15px]"},R={key:0,class:"text-white/60"},V={key:0,class:"mt-8 flex flex-col items-start"},$=["src"],T={key:0,class:"mt-2 text-xs text-white/60"},U={key:0,class:"grid grid-cols-2 gap-8 sm:grid-cols-3 lg:grid-cols-5 lg:gap-6"},Q=["href"],G={class:"flex flex-col gap-3"},H=["href"],J={class:"border-t border-white/15"},K={class:"mx-auto flex w-full max-w-[1600px] flex-col items-center justify-between gap-4 px-4 py-5 text-xs text-white/55 md:flex-row md:px-8 md:text-[13px] lg:px-[6%]"},M={class:"flex flex-wrap items-center justify-center gap-x-4 gap-y-1 text-center md:justify-start md:text-left"},O={key:0},W={key:1,href:"https://beian.miit.gov.cn/#/Integrated/index",target:"_blank",rel:"noopener noreferrer",class:"transition-colors hover:text-white"},X={key:2},Y={key:3},Z={key:0,class:"border-t border-white/15"},ee={class:"mx-auto flex w-full max-w-[1600px] flex-wrap gap-2 px-4 py-5 text-xs text-white/55 md:flex-row md:px-8 md:text-[13px] lg:px-[6%]"},te=["href","title"],ae="https://wmxt.sdyihong.com.cn/api/file/preview/upload/2026/06/04/d599f5d06ce24da3a39f0040ad375f40.jpg",oe=C({__name:"FooterLayout06",props:{footerData:{}},setup(e){const c=d(()=>{const n=e.footerData.componentConfig;return n&&typeof n=="object"&&!Array.isArray(n)?n:Array.isArray(n)&&n.length>0?n[0]:{}}),h=d(()=>c.value.servicePhone||""),x=d(()=>c.value.email||""),g=d(()=>e.footerData.qrCodeLabel||c.value.qrCodeLabel||""),p=d(()=>c.value.copyright||""),y=d(()=>c.value.icp||""),D=d(()=>c.value.techSupport),v=d(()=>c.value.link),L=d(()=>Array.isArray(e.footerData.addresses)&&e.footerData.addresses.length?e.footerData.addresses.filter(Boolean):e.footerData.detailAddress?[e.footerData.detailAddress]:[]),w=d(()=>{const n=Array.isArray(e.footerData.navItems)?e.footerData.navItems:[];return n.length?n.slice(0,5).map(r=>({title:r.nameDisplay||"",href:e.footerData.getCachedLink?.(r)||r.path||"#",items:(Array.isArray(r.children)?r.children:[]).map(o=>({label:o.nameDisplay||"",href:e.footerData.getCachedLink?.(o)||o.path||"#"})).filter(o=>o.label)})):[]});return(n,r)=>(s(),a("footer",_,[t("div",{class:"absolute inset-0 -z-10"},[t("img",{src:ae,alt:"",class:"h-full w-full object-cover",loading:"lazy"})]),t("div",j,[t("div",I,[t("div",S,[t("ul",q,[(s(!0),a(f,null,u(L.value,(o,m)=>(s(),a("li",{key:`addr-${m}`,class:"flex items-center gap-4"},[r[0]||(r[0]=t("img",{src:"https://wmxt.sdyihong.com.cn/api/file/preview/upload/2026/06/04/fd38e571873340229256599b75bc03a8.png",alt:""},null,-1)),t("span",N,l(o),1)]))),128)),e.footerData.primaryPhone?(s(),a("li",B,[r[1]||(r[1]=t("img",{src:"https://wmxt.sdyihong.com.cn/api/file/preview/upload/2026/06/04/66b7a715172242d7a912c27f4dfd3468.png",alt:""},null,-1)),t("span",z,[h.value?(s(),a("span",E,l(h.value)+"：",1)):i("",!0),k(l(e.footerData.primaryPhone),1)])])):i("",!0),e.footerData.primaryEmail?(s(),a("li",F,[r[2]||(r[2]=t("img",{src:"https://wmxt.sdyihong.com.cn/api/file/preview/upload/2026/06/04/4a4064f8379b4ab1a8bfc6bdfed0d524.png",alt:""},null,-1)),t("span",P,[x.value?(s(),a("span",R,l(x.value)+"：",1)):i("",!0),k(l(e.footerData.primaryEmail),1)])])):i("",!0)]),e.footerData.qrCodeImageUrl?(s(),a("div",V,[t("img",{src:e.footerData.qrCodeImageUrl,alt:"QR Code",class:"h-28 w-28 bg-white p-1.5 object-cover md:h-32 md:w-32"},null,8,$),g.value?(s(),a("span",T,l(g.value),1)):i("",!0)])):i("",!0)]),w.value.length?(s(),a("div",U,[(s(!0),a(f,null,u(w.value,(o,m)=>(s(),a("div",{key:m,class:"min-w-0"},[t("a",{href:o.href||"#",class:"mb-5 block break-words text-base font-semibold text-white transition-colors hover:text-white/80 md:text-lg"},l(o.title),9,Q),t("ul",G,[(s(!0),a(f,null,u(o.items,(b,A)=>(s(),a("li",{key:A,class:"min-w-0"},[t("a",{href:b.href,class:"block break-words text-sm text-white/70 transition-colors hover:text-white"},l(b.label),9,H)]))),128))])]))),128))])):i("",!0)])]),t("div",J,[t("div",K,[t("div",M,[e.footerData.copyright?(s(),a("span",O,l(p.value?`${p.value} `:"")+l(e.footerData.copyright),1)):i("",!0),e.footerData.filingNumber?(s(),a("a",W,l(y.value?`${y.value}：`:"")+l(e.footerData.filingNumber),1)):i("",!0),e.footerData.techSupport?(s(),a("span",X,l(D.value)+"："+l(e.footerData.techSupport),1)):i("",!0),e.footerData.filingRegions?(s(),a("span",Y,l(e.footerData.filingRegions),1)):i("",!0)])])]),v.value?(s(),a("div",Z,[t("div",ee,[t("span",null,l(v.value)+":",1),(s(!0),a(f,null,u(e.footerData.bindings.footerSocials,o=>(s(),a("a",{class:"hover:opacity-70",key:o.id||o.url||o.name,href:o.url||"#",target:"_blank",rel:"noopener",title:o.name},[t("span",null,l(o.name),1)],8,te))),128))])])):i("",!0)]))}});export{oe as default};
