System.register(["./vendor-legacy-aeda4e3d.js","./content-legacy-9a7690e4.js","./index-legacy-9fc2ee5c.js"],function(a,e){"use strict";var t,d,l,n,i,o,c,r,s,v,g,m,u,p,f,w,b,y;return{setters:[a=>{t=a.L,d=a.l,l=a.q,n=a.o,i=a.a,o=a.f,c=a.g,r=a.t,s=a.m,v=a.e,g=a.h,m=a.aO,u=a.aP,p=a.a2,f=a.a3,w=a.aA},a=>{b=a.a},a=>{y=a._}],execute:function(){var e=document.createElement("style");e.textContent=".news-detail-page[data-v-a0c1d42d]{min-height:100vh;background:var(--ex-home-box-background-color, #fff)}.news-detail-page[data-v-a0c1d42d] .van-nav-bar{background-color:var(--ex-home-box-background-color, #fff);color:var(--ex-default-font-color)}.news-detail-page[data-v-a0c1d42d] .van-nav-bar .van-nav-bar__title,.news-detail-page[data-v-a0c1d42d] .van-nav-bar .van-nav-bar__arrow{color:var(--ex-default-font-color)}.news-detail-page .detail-content[data-v-a0c1d42d]{padding:.4rem}.news-detail-page .detail-content .detail-title[data-v-a0c1d42d]{font-size:.533333rem;font-weight:700;color:var(--ex-default-font-color);margin-bottom:.4rem;line-height:1.4}.news-detail-page .detail-content .detail-meta[data-v-a0c1d42d]{display:flex;align-items:center;gap:.4rem;margin-bottom:.4rem;font-size:.32rem;color:var(--ex-default-font-color);opacity:.7}.news-detail-page .detail-content .detail-meta .meta-views[data-v-a0c1d42d]{display:flex;align-items:center;gap:.106667rem}.news-detail-page .detail-content .detail-cover[data-v-a0c1d42d]{width:100%;margin-bottom:.533333rem;border-radius:.213333rem;overflow:hidden}.news-detail-page .detail-content .detail-cover img[data-v-a0c1d42d]{width:100%;height:auto;display:block}.news-detail-page .detail-content .detail-body[data-v-a0c1d42d]{font-size:.426667rem;line-height:1.8;color:var(--ex-default-font-color)}.news-detail-page .detail-content .detail-body[data-v-a0c1d42d] img{max-width:100%;height:auto;border-radius:.213333rem;margin:.4rem 0}.news-detail-page .detail-content .detail-body[data-v-a0c1d42d] p{margin-bottom:.32rem;color:var(--ex-default-font-color)}.news-detail-page .detail-content .detail-body[data-v-a0c1d42d] h1,.news-detail-page .detail-content .detail-body[data-v-a0c1d42d] h2,.news-detail-page .detail-content .detail-body[data-v-a0c1d42d] h3,.news-detail-page .detail-content .detail-body[data-v-a0c1d42d] h4,.news-detail-page .detail-content .detail-body[data-v-a0c1d42d] h5,.news-detail-page .detail-content .detail-body[data-v-a0c1d42d] h6{margin-top:.533333rem;margin-bottom:.32rem;font-weight:600;color:var(--ex-default-font-color)}.news-detail-page .detail-content .detail-body[data-v-a0c1d42d] span,.news-detail-page .detail-content .detail-body[data-v-a0c1d42d] div,.news-detail-page .detail-content .detail-body[data-v-a0c1d42d] li,.news-detail-page .detail-content .detail-body[data-v-a0c1d42d] td,.news-detail-page .detail-content .detail-body[data-v-a0c1d42d] th{color:var(--ex-default-font-color)}.news-detail-page .detail-content .detail-body[data-v-a0c1d42d] a{color:var(--ex-default-font-color);text-decoration:underline}.news-detail-page .detail-content .detail-body[data-v-a0c1d42d] strong,.news-detail-page .detail-content .detail-body[data-v-a0c1d42d] b{color:var(--ex-default-font-color);font-weight:600}.news-detail-page .loading[data-v-a0c1d42d]{display:flex;justify-content:center;padding:1.066667rem .533333rem}\n",document.head.appendChild(e);const h={class:"news-detail-page"},x={key:0,class:"detail-content"},_={class:"detail-title"},k={class:"detail-meta"},L={class:"meta-date"},j={class:"meta-views"},z=(a=>(p("data-v-a0c1d42d"),a=a(),f(),a))(()=>c("i",{class:"van-icon van-icon-eye-o"},null,-1)),C={key:0,class:"detail-cover"},D=["src","alt"],I=["innerHTML"],T={__name:"news-detail",setup(a){const e=t(),p=d({}),f=d(!1),y=a=>a?new Date(a).toLocaleString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}):"";return l(()=>{(async()=>{const a=e.params.id;if(a){f.value=!0;try{const e=await b(a);e&&200===e.code&&(p.value=e.data||{})}catch(t){}finally{f.value=!1}}})()}),(a,e)=>{const t=m,d=w,l=u;return n(),i("div",h,[o(t,{title:a._t18("navbar_newsDetail"),"left-arrow":"",onClickLeft:e[0]||(e[0]=e=>a.$router.go(-1)),fixed:"",placeholder:""},null,8,["title"]),p.value.id?(n(),i("div",x,[c("h1",_,r(p.value.title),1),c("div",k,[c("span",L,r(y(p.value.publishTime)),1),c("span",j,[z,s(" "+r(p.value.viewNum||0),1)])]),p.value.coverImage?(n(),i("div",C,[c("img",{src:p.value.coverImage,alt:p.value.title},null,8,D)])):v("",!0),c("div",{class:"detail-body",innerHTML:p.value.content},null,8,I)])):v("",!0),f.value?(n(),g(d,{key:1,class:"loading"})):p.value.id?v("",!0):(n(),g(l,{key:2,description:a._t18("utils_noData")},null,8,["description"]))])}}};a("default",y(T,[["__scopeId","data-v-a0c1d42d"]]))}}});
