import{e as m,r,aj as f,G as u,P as v,a3 as y,a4 as g,a7 as e,ab as c,I as h}from"./vue-bf422dc1.js";import{d as x,r as b}from"./news-265a8c01.js";import{f as w}from"./date-20546ee0.js";import{b as B}from"./ui-ba7aaa7e.js";import{_ as C}from"./index-8db2df2c.js";import"./libs-51817cd7.js";import"./icons-a8498fb6.js";import"./plugins-ca970193.js";import"./others-9f318174.js";import"./echarts-bf9d612c.js";const D={class:"secondary-notification"},T={style:{margin:"0 auto","text-align":"center"}},k={style:{margin:"0 auto","text-align":"center"}},H=["innerHTML"],I={name:"DetailSecondary"},L=m({...I,setup(M){const o=r(),d=f();u(()=>{o.value=d.params.id});const a=r(),_=async()=>{const t=await x({id:o.value});t.data&&(a.value={...t.data})},l=async t=>{await b({id:t})};return _(),l(o.value),(t,R)=>{const p=B;return v(),y(p,{title:"公告内容",class:"basic-container",bordered:!1},{default:g(()=>{var s,i,n;return[e("div",D,[e("div",T,c((s=a.value)==null?void 0:s.title),1),e("div",k,c(h(w)((i=a.value)==null?void 0:i.create_at)),1),e("div",{style:{padding:"20px","line-height":"1.5"},innerHTML:(n=a.value)==null?void 0:n.content},null,8,H)])]}),_:1})}}});const A=C(L,[["__scopeId","data-v-b3df6842"]]);export{A as default};
