import{n as C}from"./notData-cef8761e-1782572373740v=1.0.0.js";import{a1 as D}from"./eleVendor-48a7d3b8-1782572373740v=1.0.0.js";import{y as w,c as N,al as i,z as s,A as a,B as t,R as V,J as r,Q as d,a4 as u,u as m,I as _,P as n,M as f,O as Y}from"./vendor-866bb149-1782572373740v=1.0.0.js";const E={class:"coverImg"},M=["src"],x={class:"title"},z={key:0,class:"tagsContainer"},I={class:"tags"},P={class:"nowTime"},T={class:"description"},L=w({__name:"Preview",props:{info:{default:()=>{}}},emits:[],setup(p,{emit:j}){const g=p,h=N(()=>{var e;return((e=g.info.images)==null?void 0:e.split(","))||[{url:C}]}),v=D().format("YYYY-MM-DD");return(e,l)=>{var c;const B=i("el-carousel-item"),k=i("el-carousel"),y=i("el-tag");return s(),a("div",null,[l[0]||(l[0]=t("div",{class:"topBanner"},"\u8D5B\u4E8B\u98CE\u91C7",-1)),t("div",E,[V(k,{height:"150px"},{default:r(()=>[(s(!0),a(d,null,u(m(h),o=>(s(),_(B,{key:o.url},{default:r(()=>[t("img",{src:o.url,style:{width:"100%",height:"100%"}},null,8,M)]),_:2},1024))),128))]),_:1})]),t("div",x,n(e.info.title),1),(c=e.info.tags)!=null&&c.length?(s(),a("div",z,[f(" {{ info.tags }} "),t("div",I,[(s(!0),a(d,null,u(e.info.tags,o=>(s(),_(y,{key:o,class:"mx1",effect:"dark",size:"small"},{default:r(()=>[Y(n(o),1)]),_:2},1024))),128))]),t("div",P,n(m(v)),1)])):f("v-if",!0),t("div",T,n(e.info.description),1)])}}});export{L as default};
