import{n as o,r as i,j as e,o as a}from"./index-C9R49v6m.js";import{H as c,b as m,a as l}from"./style-Ct0rheWJ.js";import{b as p}from"./banner-CrWGdN1D.js";import{S as x}from"./index-s4x2Se67.js";import{R as d}from"./LoadingOutlined-DJJZod9R.js";const f="_wrapper_xf54w_1",u="_mainContent_xf54w_5",g="_title_xf54w_14",s={wrapper:f,mainContent:u,title:g},j=e.jsx(d,{style:{fontSize:24,color:"var(--primary-color)"},spin:!0}),H=y=>{const{data:n,loading:r}=o(()=>a.getList({pp:10,st:0,type:"intro"})),t=i.useMemo(()=>n&&n.items.length?n.items[0]:{title:"平台概况",content:""},[n]);return e.jsxs("div",{style:{minHeight:"calc(100vh - 300px)"},children:[e.jsx(c,{img:p,title:"平台概况",contentStyle:l,style:m}),e.jsx("div",{className:s.main,children:e.jsx(x,{spinning:r,indicator:j,children:e.jsx("div",{className:s.wrapper,children:e.jsxs("div",{className:s.mainContent,children:[e.jsx("div",{className:s.title,children:(t==null?void 0:t.title)||""}),e.jsx("div",{style:{fontSize:16,marginBottom:40,marginTop:40,lineHeight:"2em",textAlign:"justify"},dangerouslySetInnerHTML:{__html:t!=null&&t.content?t==null?void 0:t.content:""}})]})})})})]})};export{H as default};
