2024-09-05 22:56:41 +08:00
|
|
|
import{b as n,d as m}from"./index.26dce67b.js";import{g as d}from"./decoration.3a684a1f.js";import{d as l,r as _,o as s,c as i,F as x,a9 as f,u,a as t,T as v,V as c,W as b,bk as h,bj as y}from"./@vue.340249d8.js";import"./element-plus.ab0703f2.js";import"./lodash-es.edba6135.js";import"./@vueuse.e3650918.js";import"./@element-plus.558a564d.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.9886411c.js";import"./axios.45058a27.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.0f9ce7c3.js";import"./lodash.3d784a58.js";import"./vue-router.9ddb0e92.js";import"./pinia.97fe9b12.js";import"./css-color-function.5c1c877d.js";import"./color.97e03886.js";import"./clone.cfa55f7b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.8c276ac9.js";import"./vue-clipboard3.44194d32.js";import"./clipboard.47836ecb.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.309a94da.js";const w=o=>(h("data-v-18ea8db2"),o=o(),y(),o),g={class:"news"},j=w(()=>t("div",{class:"flex items-center news-title mx-[10px] my-[15px] text-[17px] font-medium"}," \u6700\u65B0\u8D44\u8BAF ",-1)),k={key:0,class:"mr-[10px]"},B=["src"],D={class:"flex flex-col justify-between flex-1"},V={class:"text-[15px] font-medium line-clamp-2"},I={class:"line-clamp-1 text-sm mt-[8px]"},S={class:"text-[#999] text-xs w-full flex justify-between mt-[8px]"},F={class:"flex items-center"},N={class:"ml-[5px]"},A=l({__name:"content",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(o){const r=_([]);return(async()=>{const p=await d({limit:10});r.value=p})(),(p,L)=>{const a=n;return s(),i("div",g,[j,(s(!0),i(x,null,f(u(r),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",k,[t("img",{src:e.image,class:"w-[120px] h-[90px] object-contain"},null,8,B)])):v("",!0),t("div",D,[t("div",V,c(e.title),1),t("div",I,c(e.desc),1),t("div",S,[t("div",null,c(e.create_time),1),t("div",F,[b(a,{name:"el-icon-View"}),t("div",N,c(e.click),1)])])])]))),128))])}}});const ft=m(A,[["__scopeId","data-v-18ea8db2"]]);export{ft as default};
|