1 |
- import{d as f,e as b,o as s,c as o,F as g,R,aH as a,f as d,A as v,B as n,a as w,Q as B,_ as $,__tla as T}from"./index-286756b9.js";import{E as z,__tla as M}from"./el-image-73c105b7.js";import{__tla as j}from"./el-image-viewer-e0e5d3be.js";let u,C=Promise.all([(()=>{try{return T}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return j}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(h){const l=h,m=b(()=>{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=B,_=z;return s(),o("div",{class:"relative",style:a({height:w(m)*e+"px",width:"375px"})},[(s(!0),o(g,null,R(t.property.list,(r,x)=>(s(),o("div",{key:x,class:"absolute",style:a({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:a({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:a({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)}}}),u=$(i,[["__file","D:/zx/mall-newfeifan-zx-admin/src/components/DiyEditor/components/mobile/MagicCube/index.vue"]])});export{C as __tla,u as default};
|