import{v as t,o as e,bm as s,r as a,e as l,f as i,w as o,j as n,k as r,i as c}from"./index-CWyPMHxb.js";import{_ as m}from"./mp-html.C7Z3x8rV.js";import{S as p}from"./s-layout.CUgh1tQ8.js";import{A as u}from"./article.BbkY0GGQ.js";import{_ as f}from"./_plugin-vue_export-helper.BCo6x5W8.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:a,data:l}=await u.getArticle(t,e);0===a&&(_.content=l.content,_.title!==l.title&&(_.title=l.title,s({title:_.title})))}(t.id,t.title)})),(t,e)=>{const s=a(l("mp-html"),m),u=c,f=a(l("s-layout"),p);return n(),i(f,{class:"set-wrap",title:_.title,bgStyle:{color:"#FFF"}},{default:o((()=>[r(u,{class:"ss-p-30"},{default:o((()=>[r(s,{class:"richtext",content:_.content},null,8,["content"])])),_:1})])),_:1},8,["title"])}}},[["__scopeId","data-v-819f2414"]]);export{_ as default};
