import{_ as b,a as g,r as w,w as I,I as x,b as p,M as D,o as u,c as v,N as M,f as e,d as o,e as n,t as i,j as S,p as y,l as B}from"./index.699f1124.js";/* empty css                                                            */import{b as N}from"./index.efab2b32.js";import{w as T}from"./index.c2385adf.js";import"./index.ff1c8ac7.js";const m=a=>(y("data-v-7ce35d1f"),a=a(),B(),a),k={class:"bg"},C={class:"conter1400"},H={class:"head"},L=m(()=>e("span",{class:"one"},"\u670D\u52A1\u6848\u4F8B",-1)),V=m(()=>e("span",null,"\u670D\u52A1\u6848\u4F8B\u8BE6\u60C5",-1)),j={class:"content"},E={class:"title"},F={class:"description"},R={class:"visits"},q=["innerHTML"],z={__name:"detail",setup(a){const c=g(!0),t=w({data:{}}),d=S();I(d,()=>{_()}),x(()=>{_()});function _(){let s=d.params.id;!s||N({id:s}).then(l=>{t.data=l.data,c.value=!1}).catch(()=>{c.value=!1})}return(s,l)=>{const r=p("el-breadcrumb-item"),h=p("el-breadcrumb"),f=D("loading");return u(),v("div",k,[M((u(),v("div",C,[e("div",H,[o(h,{separator:"/"},{default:n(()=>[o(r,null,{default:n(()=>[L]),_:1}),o(r,null,{default:n(()=>[V]),_:1})]),_:1})]),e("div",j,[e("div",E,[e("div",null,i(t.data.title),1),e("div",F,[e("span",R,"\u6D4F\u89C8\u91CF\uFF1A"+i(t.data.visits),1),e("span",null,i(s.parseTime(t.data.created_at)),1)])]),e("div",{class:"html",innerHTML:t.data.content},null,8,q)])])),[[f,c.value]]),o(T)])}}};var P=b(z,[["__scopeId","data-v-7ce35d1f"]]);export{P as default};
