index-5c77dbde.js 1.0 KB

1
  1. import{d as n,o as s,c as t,C as o,F as y,P as b,f as p,B as m,aE as l,D as d,_ as u}from"./index-b9299550.js";import{E as f}from"./el-image-92ea5aa4.js";import"./el-image-viewer-498779d9.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:C=>(r,I)=>{const c=u,i=f;return s(),t("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),t(y,null,b(r.property.items,(e,a)=>(s(),t("div",{key:a,class:"tab-bar-item"},[p(i,{src:a===0?e.activeIconUrl:e.iconUrl},{error:m(()=>[o("div",_,[p(c,{icon:"ep:picture"})])]),_:2},1032,["src"]),o("span",{style:l({color:a===0?r.property.style.activeColor:r.property.style.color})},d(e.text),5)]))),128))],4)])}}),x=g(k,[["__scopeId","data-v-7eef33df"]]);export{x as default};