import{b as n,d as m}from"./index.0abf9e5c.js";import{g as d}from"./decoration.be3abd00.js";import{d as l,r as _,o as s,c as i,W as x,a8 as f,a as t,S as u,U as r,V as v,b9 as h,b8 as b}from"./@vue.cab01781.js";import"./element-plus.fa1aa32c.js";import"./@vueuse.724ed0af.js";import"./@element-plus.92b4185f.js";import"./lodash-es.29c53eac.js";import"./dayjs.22a46fd8.js";import"./axios.8058589d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.bbe6f09f.js";import"./vue-router.5046cc50.js";import"./pinia.e85e8286.js";import"./vue-demi.bfae2336.js";import"./css-color-function.5bd363c0.js";import"./color.232115c1.js";import"./clone.8f44c0eb.js";import"./color-convert.69e17089.js";import"./color-string.e356f5de.js";import"./color-name.e7a4e1d3.js";import"./nprogress.404eaa9c.js";import"./vue-clipboard3.19ab9072.js";import"./clipboard.6fb7c109.js";import"./echarts.6ad8c478.js";import"./zrender.f91f2f01.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.0ab41b7b.js";const y=o=>(h("data-v-3ddd45b2"),o=o(),b(),o),w={class:"news"},g=y(()=>t("div",{class:"flex items-center news-title mx-[10px] my-[15px] text-[17px] font-medium"}," \u6700\u65B0\u8D44\u8BAF ",-1)),B={key:0,class:"mr-[10px]"},D=["src"],S={class:"flex flex-col justify-between flex-1"},V={class:"text-[15px] font-medium line-clamp-2"},j={class:"line-clamp-1 text-sm mt-[8px]"},k={class:"text-[#999] text-xs w-full flex justify-between mt-[8px]"},I={class:"flex items-center"},N={class:"ml-[5px]"},A=l({__name:"content",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(o){const p=_([]);return(async()=>{const c=await d({limit:10});p.value=c})(),(c,F)=>{const a=n;return s(),i("div",w,[g,(s(!0),i(x,null,f(p.value,e=>(s(),i("div",{key:e.id,class:"news-card flex bg-white px-[10px] py-[16px] text-[#333] border-[#f2f2f2] border-b"},[e.image?(s(),i("div",B,[t("img",{src:e.image,class:"w-[120px] h-[90px]"},null,8,D)])):u("",!0),t("div",S,[t("div",V,r(e.title),1),t("div",j,r(e.intro),1),t("div",k,[t("div",null,r(e.createTime),1),t("div",I,[v(a,{name:"el-icon-View"}),t("div",N,r(e.visit),1)])])])]))),128))])}}});const dt=m(A,[["__scopeId","data-v-3ddd45b2"]]);export{dt as default};
