import{b as n,d as m}from"./index-DXEGVToZ.js";import{g as l}from"./decoration-BKETkxh7.js";import{d,r as _,o,c as s,a as t,U as x,aa as f,u,R as v,T as i,V as b}from"./@vue-TMcuEboY.js";import"./nprogress-Cgf5DU8x.js";import"./balanced-match-mNcR6oh4.js";import"./vue-router-D4MxfuQi.js";import"./pinia-ebUeA1L2.js";import"./axios-C-n2IhIP.js";import"./lodash-BtPWuHkK.js";import"./element-plus-z3MwpXC9.js";import"./lodash-es-R-kYiKr_.js";import"./async-validator-DKvM95Vc.js";import"./@element-plus-DRBc1Xzw.js";import"./dayjs-CMfar2R3.js";import"./@ctrl-r5W6hzzQ.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@popperjs-D9SI2xQl.js";import"./@vueuse-BQYVjZ5N.js";import"./css-color-function-rJvg8h-6.js";import"./color-B0v57BL7.js";import"./clone-CuIhj1wH.js";import"./color-convert-BGgJB5UM.js";import"./color-name-BQ5IbGbl.js";import"./color-string-BhgG7-8u.js";import"./ms-CzQ2E3wO.js";import"./vue-clipboard3-8CNoFg4V.js";import"./clipboard-Dch_ozqB.js";import"./echarts-BR_QmBtV.js";import"./tslib-BDyQ-Jie.js";import"./zrender-B-CeXLwU.js";import"./highlight.js-D5uP1KGk.js";import"./@highlightjs-KJi31KWJ.js";const w={class:"news"},y={key:0,class:"mr-[10px]"},g=["src"],h={class:"flex flex-col justify-between flex-1"},j={class:"text-[15px] font-medium line-clamp-2"},k={class:"line-clamp-1 text-sm mt-[8px]"},V={class:"text-[#999] text-xs w-full flex justify-between mt-[8px]"},D={class:"flex items-center"},B={class:"ml-[5px]"},N=d({__name:"content",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(C){const r=_([]);return(async()=>{const a=await l({limit:10});r.value=a})(),(a,p)=>{const c=n;return o(),s("div",w,[p[0]||(p[0]=t("div",{class:"flex items-center news-title mx-[10px] my-[15px] text-[17px] font-medium"}," 最新资讯 ",-1)),(o(!0),s(x,null,f(u(r),e=>(o(),s("div",{key:e.id,class:"news-card flex bg-white px-[10px] py-[16px] text-[#333] border-[#f2f2f2] border-b"},[e.image?(o(),s("div",y,[t("img",{src:e.image,class:"w-[120px] h-[90px] object-contain"},null,8,g)])):v("",!0),t("div",h,[t("div",j,i(e.title),1),t("div",k,i(e.desc),1),t("div",V,[t("div",null,i(e.create_time),1),t("div",D,[b(c,{name:"el-icon-View"}),t("div",B,i(e.click),1)])])])]))),128))])}}}),nt=m(N,[["__scopeId","data-v-dba98882"]]);export{nt as default};
