import{x as i,y as a,z as t,P as _,a4 as d,D as l,L as p,A as s,O as o}from"./vendor-6ae0c374-1783405707921v=1.0.0.js";import{_ as m}from"./index-71d7b18c-1783405707921v=1.0.0.js";import"./eleVendor-d42abce8-1783405707921v=1.0.0.js";const u={class:"data-preview-container"},v={class:"icon"},f=["src"],h={class:"flex-direction-end"},w={class:"name"},y={class:"count"},g=i({__name:"DataPreview",props:{dataPreviewList:{type:Array,required:!0},form:{type:Object,required:!0}},setup(n){const r=n;return(c,k)=>(a(),t("div",u,[(a(!0),t(_,null,d(r.dataPreviewList,e=>(a(),t("div",{class:"data-preview-item flx-justify-between",key:e.name,style:l({backgroundColor:e.color||"red"})},[p(' <SvgIcon :name="item.icon" class="icon" /> '),s("div",v,[s("img",{class:"img",src:e.icon,alt:""},null,8,f)]),s("div",h,[s("span",w,o(e.name),1),s("span",y,o(c.form[e.key]),1)])],4))),128))]))}});const b=m(g,[["__scopeId","data-v-f48c5547"],["__file","D:/desktop/huaZhong/huazhong-common/apps/vue-admin/src/views/workbenchManage/workbench/components/DataPreview.vue"]]);export{b as default};
