WokerTask/public/admin/assets/content.fee68604.js

2 lines
2.5 KiB
JavaScript

import{b as m,d as n}from"./index.9acc1fa4.js";import{g as d}from"./decoration.8b083170.js";import{d as l,r as _,o as s,c as i,F as x,a9 as f,a as t,T as u,V as r,W as v,u as b,bg as h,bf as y}from"./@vue.f8dfc830.js";import"./element-plus.ff90c99c.js";import"./lodash-es.a73406b7.js";import"./@vueuse.a2e59ee9.js";import"./@element-plus.0374639c.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.7f1be2bc.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.34a21088.js";import"./lodash.ffb5376d.js";import"./axios.f9df025a.js";import"./vue-router.6d4cf914.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.d1ea016b.js";import"./color.992612d2.js";import"./clone.d8d3ae9a.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.4e7fd6e6.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.79024f1a.js";const g=o=>(h("data-v-18ea8db2"),o=o(),y(),o),w={class:"news"},j=g(()=>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 p=_([]);return(async()=>{const c=await d({limit:10});p.value=c})(),(c,L)=>{const a=m;return s(),i("div",w,[j,(s(!0),i(x,null,f(b(p),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)])):u("",!0),t("div",D,[t("div",V,r(e.title),1),t("div",I,r(e.desc),1),t("div",S,[t("div",null,r(e.create_time),1),t("div",F,[v(a,{name:"el-icon-View"}),t("div",N,r(e.click),1)])])])]))),128))])}}});const ht=n(A,[["__scopeId","data-v-18ea8db2"]]);export{ht as default};