multiStoreAdmin/build/store/assets/content.55051f56.js

2 lines
2.4 KiB
JavaScript

import{b as n,d as m}from"./index.669f9987.js";import{g as d}from"./decoration.1c716c58.js";import{d as l,r as _,o as s,c as i,V as x,a7 as f,u,a as t,S as v,U as c,W as b,bk as h,bj as y}from"./@vue.c3e77981.js";import"./element-plus.9175fe58.js";import"./@vueuse.a48d0173.js";import"./@element-plus.12c58ce2.js";import"./lodash-es.2b5acb28.js";import"./dayjs.1f51da93.js";import"./axios.13991fdc.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.b082b0c1.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.6c5d06b3.js";import"./vue-router.43c06794.js";import"./pinia.b5130627.js";import"./css-color-function.23ed6179.js";import"./color.9c368256.js";import"./clone.e9277309.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.212df0f4.js";import"./vue-clipboard3.f310ddad.js";import"./clipboard.141ef824.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b8b719e9.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"},S={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]"},N={class:"flex items-center"},A={class:"ml-[5px]"},C=l({__name:"content",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(o){const r=_([]);return(async()=>{const a=await d({limit:10});r.value=a})(),(a,L)=>{const p=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",S,c(e.title),1),t("div",V,c(e.desc),1),t("div",I,[t("div",null,c(e.create_time),1),t("div",N,[b(p,{name:"el-icon-View"}),t("div",A,c(e.click),1)])])])]))),128))])}}});const xt=m(C,[["__scopeId","data-v-18ea8db2"]]);export{xt as default};