import{v as t,o as e,b8 as s,e as l,f as a,w as i,l as o,j as n,m as c,i as r}from"./index-9880b451.js";import{_ as m}from"./mp-html.1d0f8654.js";import{_ as p}from"./s-layout.dfc5b0b5.js";import{A as u}from"./article.87a63887.js";import{_ as f}from"./_plugin-vue_export-helper.1b428a4d.js";const _=f({__name:"richtext",setup(f){const _=t({title:"",content:""});return e((t=>{t.title&&(_.title=t.title,s({title:_.title})),async function(t,e){const{code:l,data:a}=await u.getArticle(t,e);0===l&&(_.content=a.content,_.title!==a.title&&(_.title=a.title,s({title:_.title})))}(t.id,t.title)})),(t,e)=>{const s=o(c("mp-html"),m),u=r,f=o(c("s-layout"),p);return l(),a(f,{class:"set-wrap",title:_.title,bgStyle:{color:"#FFF"}},{default:i((()=>[n(u,{class:"ss-p-30"},{default:i((()=>[n(s,{class:"richtext",content:_.content},null,8,["content"])])),_:1})])),_:1},8,["title"])}}},[["__scopeId","data-v-819f2414"]]);export{_ as default};
