1 |
- import{d as x,e as g,o as s,c as o,F as f,C as b,ax as a,i as d,w as R,k as c,a as w,_ as v,__tla as $}from"./index-1e808f2e.js";import{E as B,__tla as T}from"./el-image-263fb014.js";import{__tla as k}from"./el-image-viewer-dddb6285.js";let y,C=Promise.all([(()=>{try{return $}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return k}catch{}})()]).then(async()=>{let p,r;p={class:"image-slot"},r=93.75,y=x({name:"MagicCube",__name:"index",props:{property:{}},setup(h){const i=h,u=g(()=>{let t=0;return i.property.list.length>0&&(t=Math.max(...i.property.list.map(l=>l.bottom))),t+1});return(t,l)=>{const m=v,_=B;return s(),o("div",{class:"relative",style:a({height:w(u)*r+"px",width:"375px"})},[(s(!0),o(f,null,b(t.property.list,(e,n)=>(s(),o("div",{key:n,class:"absolute",style:a({width:e.width*r-2*t.property.space+"px",height:e.height*r-2*t.property.space+"px",margin:`${t.property.space}px`,top:e.top*r+"px",left:e.left*r+"px"})},[d(_,{class:"h-full w-full",fit:"cover",src:e.imgUrl,style:a({borderTopLeftRadius:`${t.property.borderRadiusTop}px`,borderTopRightRadius:`${t.property.borderRadiusTop}px`,borderBottomLeftRadius:`${t.property.borderRadiusBottom}px`,borderBottomRightRadius:`${t.property.borderRadiusBottom}px`})},{error:R(()=>[c("div",p,[c("div",{class:"flex items-center justify-center",style:a({width:e.width*r+"px",height:e.height*r+"px"})},[d(m,{icon:"ep-picture",color:"gray",size:r})],4)])]),_:2},1032,["src","style"])],4))),128))],4)}}})});export{C as __tla,y as default};
|