import{d as f,K as g,o as a,c as o,F as b,q as R,au as s,f as d,w,g as u,a as v,j as $,_ as B,__tla as T}from"./index-04f8d540.js";import{E as j,__tla as z}from"./el-image-00a7d632.js";import{__tla as M}from"./el-image-viewer-5878bd7a.js";let n,q=Promise.all([(()=>{try{return T}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return M}catch{}})()]).then(async()=>{let p,e,i;p={class:"image-slot"},e=93.75,i=f({name:"MagicCube",__name:"index",props:{property:{type:Object,required:!0}},setup(m){const l=m,h=g(()=>{let t=0;return l.property.list.length>0&&(t=Math.max(...l.property.list.map(c=>c.bottom))),t+1});return(t,c)=>{const y=$,_=j;return a(),o("div",{class:"relative",style:s({height:v(h)*e+"px",width:"375px"})},[(a(!0),o(b,null,R(t.property.list,(r,x)=>(a(),o("div",{key:x,class:"absolute",style:s({width:r.width*e-2*t.property.space+"px",height:r.height*e-2*t.property.space+"px",margin:`${t.property.space}px`,top:r.top*e+"px",left:r.left*e+"px"})},[d(_,{class:"h-full w-full",fit:"cover",src:r.imgUrl,style:s({borderTopLeftRadius:`${t.property.borderRadiusTop}px`,borderTopRightRadius:`${t.property.borderRadiusTop}px`,borderBottomLeftRadius:`${t.property.borderRadiusBottom}px`,borderBottomRightRadius:`${t.property.borderRadiusBottom}px`})},{error:w(()=>[u("div",p,[u("div",{class:"flex items-center justify-center",style:s({width:r.width*e+"px",height:r.height*e+"px"})},[d(y,{icon:"ep-picture",color:"gray",size:e})],4)])]),_:2},1032,["src","style"])],4))),128))],4)}}}),n=B(i,[["__file","D:/zx/mall-newfeifan-zx-business/src/components/DiyEditor/components/mobile/MagicCube/index.vue"]])});export{q as __tla,n as default};
