import{d as o,U as r,q as i,r as c,y as d,a as e,bN as p,S as v,A as f,F as m,D as y}from"./index-74aaacd7.js";import{s as t}from"./information-detail.module-dbcf7f73.js";const q=o({name:"notice-detail",setup(){const s=r(),n=i(),a=c({}),u=async()=>{try{const{data:l}=await y.get("/edu-app/open/helpCenterContent/detail/"+s.query.id);a.value=l}catch(l){}};return d(()=>{u()}),()=>e(m,null,[s.query.source=="music"?e(p,{leftArrow:!0,leftText:"返回",border:!1,onClickLeft:()=>n.back()},null):e(v,null,null),e("div",{class:[t.detail]},[e("div",{class:t.detailContent},[e("div",{class:t.title},[a.value.title]),e("div",{class:t.who},[e("span",null,[f("音乐数字课堂")]),a.value.updateTime]),e("div",{class:t.content,innerHTML:a.value.content},null)])])])}});export{q as default};