index-cf4d884a.js 1.0 KB

1
  1. import{d as n,o as s,c as a,k as o,F as y,A as b,i as p,w as d,av as l,t as m,_ as u}from"./index-03f5d926.js";import{E as f}from"./el-image-1846a819.js";import"./el-image-viewer-bc024f43.js";import{_ as g}from"./_plugin-vue_export-helper-1b428a4d.js";const v={class:"tab-bar"},_={class:"h-full w-full flex items-center justify-center"},k=n({name:"TabBar",__name:"index",props:{property:{}},setup:I=>(r,w)=>{const c=u,i=f;return s(),a("div",v,[o("div",{class:"tab-bar-bg",style:l({background:r.property.style.bgType==="color"?r.property.style.bgColor:`url(${r.property.style.bgImg})`,backgroundSize:"100% 100%",backgroundRepeat:"no-repeat"})},[(s(!0),a(y,null,b(r.property.items,(t,e)=>(s(),a("div",{key:e,class:"tab-bar-item"},[p(i,{src:e===0?t.activeIconUrl:t.iconUrl},{error:d(()=>[o("div",_,[p(c,{icon:"ep:picture"})])]),_:2},1032,["src"]),o("span",{style:l({color:e===0?r.property.style.activeColor:r.property.style.color})},m(t.text),5)]))),128))],4)])}}),x=g(k,[["__scopeId","data-v-7eef33df"]]);export{x as default};