2 lines
2.4 KiB
JavaScript
2 lines
2.4 KiB
JavaScript
import{b as n,d as m}from"./index.ffa405f0.js";import{g as d}from"./decoration.83882803.js";import{d as l,r as _,o as s,c as i,V as x,a7 as f,a as t,R as u,T as c,U as v,b7 as h,b6 as y}from"./@vue.e8706010.js";import"./element-plus.317dd699.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f7363e4f.js";import"./axios.3af9fe4b.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.873faf2b.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.1a2c9cae.js";import"./color.3050aad5.js";import"./clone.3b081931.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.21f7a9fd.js";import"./ms.a9ae1d6d.js";import"./nprogress.fd69c5bf.js";import"./vue-clipboard3.9796a14d.js";import"./clipboard.2bdac801.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const b=o=>(h("data-v-eae5985d"),o=o(),y(),o),w={class:"news"},g=b(()=>t("div",{class:"flex items-center news-title mx-[10px] my-[15px] text-[17px] font-medium"}," \u6700\u65B0\u8D44\u8BAF ",-1)),j={key:0,class:"mr-[10px]"},k=["src"],B={class:"flex flex-col justify-between flex-1"},D={class:"text-[15px] font-medium line-clamp-2"},V={class:"line-clamp-1 text-sm mt-[8px]"},I={class:"text-[#999] text-xs w-full flex justify-between mt-[8px]"},S={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 r=await d({limit:10});p.value=r})(),(r,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",j,[t("img",{src:e.image,class:"w-[120px] h-[90px] object-contain"},null,8,k)])):u("",!0),t("div",B,[t("div",D,c(e.title),1),t("div",V,c(e.desc),1),t("div",I,[t("div",null,c(e.create_time),1),t("div",S,[v(a,{name:"el-icon-View"}),t("div",N,c(e.click),1)])])])]))),128))])}}});const ft=m(A,[["__scopeId","data-v-eae5985d"]]);export{ft as default};
|