index-298add4d.js 1.2 KB

1
  1. import{d as _,o as e,c as a,F as u,B as m,ax as s,t as l,R as x,k as y,j as c,__tla as b}from"./index-abaca7e8.js";import{E as f,__tla as h}from"./el-image-56fee7ab.js";import{__tla as g}from"./el-image-viewer-45c4debe.js";let n,k=Promise.all([(()=>{try{return b}catch{}})(),(()=>{try{return h}catch{}})(),(()=>{try{return g}catch{}})()]).then(async()=>{let r;r={class:"flex flex-row flex-wrap"},n=_({name:"MenuGrid",__name:"index",props:{property:{}},setup:w=>(o,C)=>{const i=f;return e(),a("div",r,[(e(!0),a(u,null,m(o.property.list,(t,d)=>{var p;return e(),a("div",{key:d,class:"relative flex flex-col items-center p-b-14px p-t-20px",style:s({width:1/o.property.column*100+"%"})},[(p=t.badge)!=null&&p.show?(e(),a("span",{key:0,class:"absolute left-50% top-10px z-1 h-20px rounded-50% p-x-6px text-center text-12px leading-20px",style:s({color:t.badge.textColor,backgroundColor:t.badge.bgColor})},l(t.badge.text),5)):x("",!0),t.iconUrl?(e(),y(i,{key:1,class:"h-28px w-28px",src:t.iconUrl},null,8,["src"])):x("",!0),c("span",{class:"m-t-8px h-16px text-12px leading-16px",style:s({color:t.titleColor})},l(t.title),5),c("span",{class:"m-t-6px h-12px text-10px leading-12px",style:s({color:t.subtitleColor})},l(t.subtitle),5)],4)}),128))])}})});export{k as __tla,n as default};