import{a9 as e,e as t,bT as a,x as s,f as n,g as l,h as d,w as i,z as _,o,i as u,j as r,t as c}from"./index-WeUkftbp.js";import{_ as p}from"./uni-dateformat.CAFQ6hZt.js";/* empty css                                                                  */import{_ as f}from"./_plugin-vue_export-helper.BCo6x5W8.js";/* empty css                                                                    *//* empty css                                                              */import{g as m}from"./index.NTbA_2SX.js";import"./uni-row.DLutFlIQ.js";const g=f({__name:"index",setup(f){e((e=>{e.id&&y(e.id)}));const g=t({default:{},content:""}),y=e=>{a(e).then((e=>{g.default=e.data||{},e.data.content&&(g.content=e.data.content.replace(/<img/gi,'<img style="max-width:100%;height:auto" '))})).catch((e=>{s.error(e.message)}))};return(e,t)=>{const a=_,s=n(l("uni-dateformat"),p);return o(),d(a,null,{default:i((()=>[u(a,{class:"default plr10"},{default:i((()=>[u(a,{class:"title"},{default:i((()=>[r(c(g.default.title),1)])),_:1}),u(a,{class:"caption display-align"},{default:i((()=>[u(s,{class:"time",format:"yyyy/MM/dd",date:g.default.time},null,8,["date"]),u(a,{class:"pl-14 pr-14"},{default:i((()=>[r("·")])),_:1}),u(a,{class:""},{default:i((()=>[r(c(g.default.visit)+" 人阅读",1)])),_:1})])),_:1}),u(a,{class:"content"},{default:i((()=>[u(a,{innerHTML:g.content},null,8,["innerHTML"])])),_:1})])),_:1}),u(m)])),_:1})}}},[["__scopeId","data-v-ee47c649"]]);export{g as default};
