You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
1.1 KiB

import{_ as g}from"./TableImg.vue_vue_type_style_index_0_lang-0c448231.js";import{aT as f,aU as o,o as s,g as i,a as r,w as n,j as y,b as h,F as d,bt as u,a9 as l,x as w,i as k}from"./index-f4658ae7.js";import"./index-a86b513c.js";import"./isNumber-0bc0d001.js";import"./css-06fbc100.js";import"./index-fdcf88d8.js";const L={class:"img-div"};function B(e,v,C,_,z,P){const m=o("Image"),p=o("PreviewGroup"),c=o("Badge");return e.imgList&&e.imgList.length?(s(),i("div",{key:0,class:w([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(()=>[y("div",L,[h(p,null,{default:n(()=>[(s(!0),i(d,null,u(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(p,{key:1},{default:n(()=>[(s(!0),i(d,null,u(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)):k("",!0)}const F=f(g,[["render",B]]);export{F as default};