Files
aiot-platform-ui/apps/web-antd/dist/js/index-SNbCYeF0.js
lzh 24c3dbc8f1
All checks were successful
Web UI CI/CD / build-and-deploy (push) Successful in 8s
chore: build and deploy web-antd
2026-03-23 17:20:54 +08:00

2 lines
1.0 KiB
JavaScript

import{an as i,aC as p}from"./bootstrap-DmcuvVZS.js";import{m as u,ad as a,b2 as s,ae as l,I as y,bb as d,j as o,bJ as f,u as c,aT as n,bp as m}from"../jse/index-index-B6J4axeY.js";const x={class:"z-[2] w-full"},b={class:"flex h-full w-full items-center justify-center"},k=u({name:"TabBar",__name:"index",props:{property:{}},setup(e){return(g,w)=>(s(),a("div",x,[l("div",{class:"flex flex-row items-center justify-around py-2",style:n({background:e.property.style.bgType==="color"?e.property.style.bgColor:`url(${e.property.style.bgImg})`,backgroundSize:"100% 100%",backgroundRepeat:"no-repeat"})},[(s(!0),a(y,null,d(e.property.items,(r,t)=>(s(),a("div",{key:t,class:"flex w-full flex-col items-center justify-center text-xs"},[o(c(p),{src:t===0?r.activeIconUrl:r.iconUrl,class:"!h-[26px] w-[26px] rounded",preview:!1},{error:f(()=>[l("div",b,[o(c(i),{icon:"lucide:image",class:"h-[26px] w-[26px] rounded"})])]),_:1},8,["src"]),l("span",{style:n({color:t===0?e.property.style.activeColor:e.property.style.color})},m(r.text),5)]))),128))],4)]))}});export{k as default};