import{d as x,u as T,l as m,r as p,_ as k,a as C,b as D,c as o,e,f as L,F as f,g as h,o as n,n as u,t as g,h as w,w as $}from"./index-C6Ampb56.js";import{_ as z}from"./banner.vue_vue_type_style_index_0_lang-CQMv34b5.js";const F=x({setup(){const t=T(),l=m({});let c=p({}),a=m();function r(s){s.id!=a.value&&(l.value=s,c={params:{categoryid:s.id,pageNum:1,pageSize:10,order:"sortindex"},index:t.state.currentPagePath,sub:t.state.sub},a.value=s.id,t.dispatch("getPageData",c).then(()=>{t.commit("setColumnTypes",t.state.pageContent)}))}return{store:t,facilityClick:r}},components:{banner:z},asyncData({store:t,route:l}){let c=p(l.value);return t.dispatch("getMenuList").then(()=>{const a=t.state.menuList;let r=p({});for(let s=0;s<a.length;s++)if(!a[s].sname&&c.path==a[s].path)return r={params:{categoryid:a[s].id,pageNum:1,pageSize:100,order:"sortindex"},index:c.path,sub:s},t.dispatch("getPageData",r).then(()=>{t.commit("setColumnTypes",t.state.pageContent)})})}}),M={class:"pageContain"},N={class:"common-bradcrumb-section"},P=["id"],S={class:"container"},H={class:"row"},B={class:"col-md-2 col-sm-12 text-center"},O={key:0,class:"aboutTyes"},V=["href"],I={class:"col-md-10 col-sm-12"},q={class:"section-title text-center both-border pb-20"},E={class:"title-tag"},j={class:"col-md-7 pr-40 aboutImg"},A={alt:""},G=["innerHTML"],J=["innerHTML"];function K(t,l,c,a,r,s){const b=C("banner"),v=D("lazy");return n(),o("div",M,[e("div",N,[L(b)]),(n(!0),o(f,null,h(t.store.state.columnTypes,(i,d)=>(n(),o("section",{class:"about-introduce-section course-section pt-40 pb-60 about-sec",style:u({background:d%2==1?"#F4F8FD":"#fff"})},[e("div",{id:i.id,class:"pointOffset"},"0",8,P),e("div",S,[e("div",H,[e("div",B,[d==0?(n(),o("ul",O,[(n(!0),o(f,null,h(t.store.state.columnTypes,(_,y)=>(n(),o("li",{key:y},[e("a",{href:`#${_.id}`},g(_.title),9,V)]))),128))])):w("",!0)]),e("div",I,[e("div",q,[e("span",E,g(i.title),1)]),i.image?(n(),o("div",{key:0,class:"row aboutOnlyText text-left",style:u([{padding:d%2==1?"40px 25px":" 40px 25px"},{"background-color":"#ffff","box-shadow":"0px 10px 20px 10px rgb(179 202 216 / 20%)"}])},[e("div",j,[$(e("img",A,null,512),[[v,i.image]])]),e("div",{class:"col-md-5",innerHTML:i.content},null,8,G)],4)):(n(),o("div",{key:1,class:"aboutOnlyText row text-left",style:u([{padding:d%2==1?"40px":"0 "},{"background-color":"#ffff"}])},[e("div",{class:"about-text-image",innerHTML:i.content},null,8,J)],4))])])])],4))),256))])}const U=k(F,[["render",K]]);export{U as default};
