index-fd8271ee.js 1.3 KB

1
  1. import{d as m,o as a,c as s,g as l,F as b,k as d,i as n,w as f,ar as i,t as g,v,_ as k,__tla as x}from"./index-b2b3c6c4.js";import{E as h,__tla as w}from"./el-image-d434829d.js";import{__tla as I}from"./el-image-viewer-b5664270.js";let y,T=Promise.all([(()=>{try{return x}catch{}})(),(()=>{try{return w}catch{}})(),(()=>{try{return I}catch{}})()]).then(async()=>{let o,c,p;o={class:"tab-bar"},c={class:"h-full w-full flex items-center justify-center"},p=m({name:"TabBar",__name:"index",props:{property:{type:Object,required:!0}},setup:U=>(r,j)=>{const _=v,u=h;return a(),s("div",o,[l("div",{class:"tab-bar-bg",style:i({background:r.property.style.bgType==="color"?r.property.style.bgColor:`url(${r.property.style.bgImg})`,backgroundSize:"100% 100%",backgroundRepeat:"no-repeat"})},[(a(!0),s(b,null,d(r.property.items,(t,e)=>(a(),s("div",{key:e,class:"tab-bar-item"},[n(u,{src:e===0?t.activeIconUrl:t.iconUrl},{error:f(()=>[l("div",c,[n(_,{icon:"ep:picture"})])]),_:2},1032,["src"]),l("span",{style:i({color:e===0?r.property.style.activeColor:r.property.style.color})},g(t.text),5)]))),128))],4)])}}),y=k(p,[["__scopeId","data-v-12586d52"],["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/components/DiyEditor/components/mobile/TabBar/index.vue"]])});export{T as __tla,y as default};