import{w as v}from"./index.c2385adf.js";import{v as b,_ as g,q as h,a as l,r as f,I as m,M as p,N as k,o as a,c as o,K as y,f as c,F as x,h as C,i as L,d as D,n as I,t as M}from"./index.699f1124.js";import{b as N}from"./index.ff1c8ac7.js";import"./index.efab2b32.js";function w(){return b({url:"/app/about/getList",method:"get"})}const z={class:"about"},A={key:0,style:{height:"394px","background-color":"#ccc"}},B={class:"box conter1000"},F={class:"_l"},V=["onClick"],H={class:"_r"},S=["innerHTML"],T=h({name:"AboutUs"}),$=Object.assign(T,{setup(j){const s=l(!0),e=f({data:[],banner:""}),n=l(0);function d(){s.value=!0,N({locals:"\u5173\u4E8E\u6211\u4EEC"}).then(t=>{e.banner=t.data[0].images}).catch(()=>{s.value=!1}),w().then(t=>{console.log("baout",t),e.data=t.data,s.value=!1}).catch(()=>{s.value=!1})}m(()=>{d()});function _(t){n.value=t}return(t,q)=>{const u=p("loading");return k((a(),o("div",z,[e.banner?(a(),o("div",{key:1,style:y([{height:"394px","background-size":"cover","background-color":"#ccc"},{backgroundImage:`url(${e.banner})`}])},null,4)):(a(),o("div",A)),c("div",B,[c("div",F,[(a(!0),o(x,null,C(e.data,(r,i)=>(a(),o("div",{class:I(["_item pointer",i==n.value?"x_fff x_bg_blue":""]),key:r.id,onClick:E=>_(i)},M(r.title),11,V))),128))]),c("div",H,[e.data.length?(a(),o("div",{key:0,class:"html",innerHTML:e.data[n.value].content},null,8,S)):L("",!0)])]),D(v)])),[[u,s.value]])}}});var J=g($,[["__scopeId","data-v-9d7929f4"]]);export{J as default};
