import{_ as a,c as t,d as o,e as s,h as e,f as r,k as d,am as c,al as l,p as n}from"./index.286e9b79.js";const p={class:"icon-search"},i={class:"search-text"},_=a({__name:"widget",props:{data:{type:[Object,Array],default:{}}},setup(a){const _=a;return(a,u)=>{const g=t("Search"),h=n;return o(),s("div",{class:"search",style:l({"padding-top":_.data.height_style/2+"px","padding-bottom":_.data.height_style/2+"px","background-color":_.data.background_color})},[e("div",{class:"search-content",style:l({textAlign:_.data.text_align,color:_.data.text_color,"background-color":_.data.border_color,"border-radius":_.data.border_radius+"px"})},[e("span",p,[r(h,{color:_.data.icon_color},{default:d((()=>[r(g)])),_:1},8,["color"])]),e("span",i,c(_.data.text||"请输入关键字搜索"),1)],4)],4)}}},[["__scopeId","data-v-3e3e9329"]]);export{_ as default};
