2 lines
1.0 KiB
Java
2 lines
1.0 KiB
Java
import{_ as g}from"./TableImg.vue_vue_type_style_index_0_lang-65ZOQtFn.js";import{au as f}from"./index-X7Y8jykP.js";import{C as o,H as y,z as s,y as r,A as n,Q as h,f as w,F as u,D as p,K as i,T as l,J as k}from"./vue-vendor-DNhG1Cve.js";const L={class:"img-div"};function B(e,v,C,z,_,P){const m=i("Image"),d=i("PreviewGroup"),c=i("Badge");return e.imgList&&e.imgList.length?(s(),o("div",{key:0,class:k([e.prefixCls,"flex items-center mx-auto"]),style:l(e.getWrapStyle)},[e.simpleShow?(s(),r(c,{key:0,count:!e.showBadge||e.imgList.length==1?0:e.imgList.length},{default:n(()=>[h("div",L,[w(d,null,{default:n(()=>[(s(!0),o(u,null,p(e.imgList,(t,a)=>(s(),r(m,{key:t,width:e.size,style:l({display:a===0?"":"none !important"}),src:e.srcPrefix+t},null,8,["width","style","src"]))),128))]),_:1})])]),_:1},8,["count"])):(s(),r(d,{key:1},{default:n(()=>[(s(!0),o(u,null,p(e.imgList,(t,a)=>(s(),r(m,{key:t,width:e.size,style:l({marginLeft:a===0?0:e.margin}),src:e.srcPrefix+t},null,8,["width","style","src"]))),128))]),_:1}))],6)):y("",!0)}const S=f(g,[["render",B]]);export{S as T};
|