| 1 |
- import{b as p}from"./TableImg.vue_vue_type_style_index_0_lang-5ef0e11d.js";import{j as g,k as r,o as s,m as n,q as t,y as o,af as k,g as h,F as d,D as f,ah as i,s as y,t as b}from"./index-610a1d46.js";const w={class:"img-div"};function L(e,B,v,C,P,z){const m=r("AImage"),c=r("PreviewGroup"),u=r("Badge");return e.imgList&&e.imgList.length?(s(),n("div",{key:0,class:y([e.prefixCls,"flex",e.center=="left"?"items-left":"items-center mx-auto"]),style:i(e.getWrapStyle)},[e.simpleShow?(s(),t(u,{key:0,count:!e.showBadge||e.imgList.length==1?0:e.imgList.length},{default:o(()=>[k("div",w,[h(c,null,{default:o(()=>[(s(!0),n(d,null,f(e.imgList,(a,l)=>(s(),t(m,{key:a.id,width:e.size,style:i({display:l===0?"":"none !important"}),src:e.srcPrefix+a.absolutePath,fallback:e.fallback},null,8,["width","style","src","fallback"]))),128))]),_:1})])]),_:1},8,["count"])):(s(),t(c,{key:1},{default:o(()=>[(s(!0),n(d,null,f(e.imgList,(a,l)=>(s(),t(m,{key:a,width:e.size,style:i({marginLeft:l===0?0:e.margin}),src:e.srcPrefix+a,fallback:e.fallback},null,8,["width","style","src","fallback"]))),128))]),_:1}))],6)):b("",!0)}const N=g(p,[["render",L]]);export{N as T};
|