import{C as t,p as e,aT as a,o as s,e as l,w as i,s as o,b as n,i as c,d as r,m as p}from"./index-520dfaee.js";import{_ as m}from"./mp-html.30fd211a.js";import{a as d}from"./s-layout.5146c957.js";import{_ as u}from"./_plugin-vue_export-helper.1b428a4d.js";const f=u({__name:"richtext",setup(u){const f=t({title:"",content:""});return e((t=>{t.title&&(f.title=t.title,a({title:f.title})),async function(t){const{code:e,data:s}=await o.$api.data.richtext(t);1===e&&(f.content=s.content,""===f.title&&(f.title=s.title,a({title:f.title})))}(t.id)})),(t,e)=>{const a=n(r("mp-html"),m),o=p,u=n(r("s-layout"),d);return s(),l(u,{class:"set-wrap",title:f.title,bgStyle:{color:"#FFF"}},{default:i((()=>[c(o,{class:"ss-p-30"},{default:i((()=>[c(a,{class:"richtext",content:f.content},null,8,["content"])])),_:1})])),_:1},8,["title"])}}},[["__scopeId","data-v-d3d10fa6"]]);export{f as default};
