import{k as n,o as e,m as t,g as a,w as o,q as c,t as s,F as l,v as u,i}from"./index.35bb0716.js";import{a as m}from"./api.cd3647ee.js";import{c as r}from"./common.58620cd8.js";import{_ as d}from"./plugin-vue_export-helper.21dcd24c.js";var f=d({data:()=>({announcementInfo:{announcementAt:null,title:null,content:null},id:null}),name:"announcement_detail",components:{},onLoad(){this.getAnnouncementDetail()},methods:{getAnnouncementDetail(){this.id=r.getQueryString("id"),m.announcementQuery({id:this.id}).then((n=>{n.success&&(this.announcementInfo=n.data.announcementInfoList[0])}))},matchReg:n=>n.replace(/<\/?.+?\/?>/g,""),goBack(){n({url:"../announcement/announcement"})}}},[["render",function(n,m,r,d,f,p){const _=u,g=i;return e(),t(l,null,[a(g,{class:"top"},{default:o((()=>[a(_,{class:"iconfont icon-youjiantou",onClick:m[0]||(m[0]=n=>p.goBack())}),a(_,null,{default:o((()=>[c("公告详情")])),_:1})])),_:1}),a(g,{class:"announcement_detail_wrapper container"},{default:o((()=>[a(g,{class:"content"},{default:o((()=>[a(g,{class:"title"},{default:o((()=>[a(g,{class:"",innerHTML:f.announcementInfo.title},null,8,["innerHTML"])])),_:1}),a(g,{class:"date"},{default:o((()=>[c(" 发布时间："+s(f.announcementInfo.announcementAt),1)])),_:1}),a(g,{class:"",innerHTML:f.announcementInfo.content},null,8,["innerHTML"])])),_:1})])),_:1})],64)}],["__scopeId","data-v-5743f588"]]);export{f as default};
