1 |
- import{d as g,L as f,o as a,c as o,F as b,v as R,ax as s,g as d,w as v,h as n,a as w,k as $,_ as B,__tla as T}from"./index-f4ac2672.js";import{E as z,__tla as L}from"./el-image-aa8f47fe.js";import{__tla as M}from"./el-image-viewer-c82e83af.js";let u,j=Promise.all([(()=>{try{return T}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return M}catch{}})()]).then(async()=>{let p,e,i;p={class:"image-slot"},e=93.75,i=g({name:"MagicCube",__name:"index",props:{property:{type:Object,required:!0}},setup(y){const l=y,h=f(()=>{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 m=$,_=z;return a(),o("div",{class:"relative",style:s({height:w(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:v(()=>[n("div",p,[n("div",{class:"flex items-center justify-center",style:s({width:r.width*e+"px",height:r.height*e+"px"})},[d(m,{icon:"ep-picture",color:"gray",size:e})],4)])]),_:2},1032,["src","style"])],4))),128))],4)}}}),u=B(i,[["__file","D:/zx/mall-newfeifan-zx-business/src/components/DiyEditor/components/mobile/MagicCube/index.vue"]])});export{j as __tla,u as default};
|