import{d as N,s as T,c as V,e as l,f as a,A as n,h as c,g as i,n as $,_ as b}from"./index.0308b213.js";const z={key:0,class:"one"},D=["src"],G={key:1,class:"two"},j={key:2,class:"three"},q={class:"left"},H={class:"right"},J={key:3,class:"four"},K={class:"left"},L={class:"middle"},M={class:"right"},O={key:4,class:"five"},P={class:"left"},Q={class:"middle"},R={class:"right"},U={key:5,class:"two-50"},W={class:"left"},X={class:"right"},Y={key:6,class:"three-pre"},Z=N({props:{config:null},setup(s){return T(()=>g=>{let t={};g&&(t.background=`url(${g})`),t.backgroundSize="100% 100%";var e=new Image;return e.src=g,e.onload=function(){var r=this.width,o=this.height;t.height=o,console.log("\u5BBD\u5EA6\uFF1A"+r+"\uFF0C\u9AD8\u5EA6\uFF1A"+o)},console.log(t),t}),(g,t)=>{var r,o,d,u,f,m,h,v,w,y,k,x,B,A,F,C,I,S,E;const e=V("el-image");return l(),a("div",{class:"image-group",style:$({position:s.config.tile===1?"relative":"",width:s.config.tile===1?"384px":"",left:s.config.tile===1?"-12px":"",marginBottom:s.config.marginBottom?`${s.config.marginBottom}px`:"0px",marginTop:s.config.marginTop?`${s.config.marginTop}px`:"0px"})},[s.config.type===1?(l(),a("div",z,[s.config.images[0].url?(l(),a("img",{key:0,src:s.config.images[0].url,alt:""},null,8,D)):n("",!0)])):n("",!0),s.config.type===2?(l(),a("div",G,[c(e,{class:"image",src:(r=s.config.images[0])==null?void 0:r.url,fit:"scale-down"},null,8,["src"]),c(e,{class:"image",src:(o=s.config.images[1])==null?void 0:o.url,fit:"scale-down"},null,8,["src"])])):n("",!0),s.config.type===3?(l(),a("div",j,[i("div",q,[c(e,{class:"image",src:(d=s.config.images[0])==null?void 0:d.url,fit:"scale-down"},null,8,["src"])]),i("div",H,[c(e,{class:"image",src:(u=s.config.images[1])==null?void 0:u.url,fit:"scale-down"},null,8,["src"]),c(e,{class:"image",src:(f=s.config.images[2])==null?void 0:f.url,fit:"scale-down"},null,8,["src"])])])):n("",!0),s.config.type===4?(l(),a("div",J,[i("div",K,[c(e,{class:"image",src:(m=s.config.images[0])==null?void 0:m.url,fit:"scale-down"},null,8,["src"])]),i("div",L,[c(e,{class:"image",src:(h=s.config.images[3])==null?void 0:h.url,fit:"scale-down"},null,8,["src"])]),i("div",M,[c(e,{class:"image",src:(v=s.config.images[1])==null?void 0:v.url,fit:"scale-down"},null,8,["src"]),c(e,{class:"image",src:(w=s.config.images[2])==null?void 0:w.url,fit:"scale-down"},null,8,["src"])])])):n("",!0),s.config.type===5?(l(),a("div",O,[i("div",P,[c(e,{class:"image",src:(y=s.config.images[0])==null?void 0:y.url,fit:"scale-down"},null,8,["src"]),c(e,{class:"image",src:(k=s.config.images[1])==null?void 0:k.url,fit:"scale-down"},null,8,["src"])]),i("div",Q,[c(e,{class:"image",src:(x=s.config.images[2])==null?void 0:x.url,fit:"scale-down"},null,8,["src"]),c(e,{class:"image",src:(B=s.config.images[3])==null?void 0:B.url,fit:"scale-down"},null,8,["src"])]),i("div",R,[c(e,{class:"image",src:(A=s.config.images[4])==null?void 0:A.url,fit:"scale-down"},null,8,["src"])])])):n("",!0),s.config.type===6?(l(),a("div",U,[i("div",W,[c(e,{class:"image",src:(F=s.config.images[0])==null?void 0:F.url,fit:"scale-down"},null,8,["src"])]),i("div",X,[c(e,{class:"image",src:(C=s.config.images[1])==null?void 0:C.url,fit:"scale-down"},null,8,["src"])])])):n("",!0),s.config.type===7?(l(),a("div",Y,[c(e,{class:"image",src:(I=s.config.images[0])==null?void 0:I.url,fit:"scale-down"},null,8,["src"]),c(e,{class:"image",src:(S=s.config.images[1])==null?void 0:S.url,fit:"scale-down"},null,8,["src"]),c(e,{class:"image",src:(E=s.config.images[2])==null?void 0:E.url,fit:"scale-down"},null,8,["src"])])):n("",!0)],4)}}});const p=b(Z,[["__scopeId","data-v-71f4e16e"]]);export{p as default};
