2 lines
860 B
JavaScript
2 lines
860 B
JavaScript
import{aA as n,ca as c,an as i}from"./bootstrap-D7yvUSkm.js";import{m as p,ad as r,b2 as o,j as t,u as a,bJ as d,I as u,bb as m,ae as y,bp as f,aT as x}from"../jse/index-index-BAlyf32H.js";import{C as g}from"./index-DwqJC0gj.js";const h={class:"h-6 truncate leading-6"},w=p({name:"NoticeBar",__name:"index",props:{property:{}},setup(e){return(b,v)=>(o(),r("div",{class:"flex items-center py-1 text-xs",style:x({backgroundColor:e.property.backgroundColor,color:e.property.textColor})},[t(a(n),{src:e.property.iconUrl,class:"h-[18px]",preview:!1},null,8,["src"]),t(a(c),{type:"vertical"}),t(a(g),{autoplay:!0,dots:!1,vertical:"",class:"flex-1 pr-2",style:{height:"24px"}},{default:d(()=>[(o(!0),r(u,null,m(e.property.contents,(s,l)=>(o(),r("div",{key:l},[y("div",h,f(s.text),1)]))),128))]),_:1}),t(a(i),{icon:"lucide:arrow-right"})],4))}});export{w as default};
|