import{A as t,j as e,f as s,w as a,k as o,p as n,t as i,g as l,y as c,s as r,q as p,i as u,C as d,D as f}from"./index-CWyPMHxb.js";import{_ as y}from"./_plugin-vue_export-helper.BCo6x5W8.js";const m=y({__name:"s-empty",props:{icon:{type:String,default:""},text:{type:String,default:""},showAction:{type:Boolean,default:!1},actionText:{type:String,default:""},actionUrl:{type:String,default:""},paddingTop:{type:String,default:"260"},buttonColor:{type:String,default:"var(--ui-BG-Main)"}},emits:["clickAction"],setup(y,{emit:m}){t((t=>({"353aa77b":y.buttonColor})));const _=y,x=m;function g(){""!==_.actionUrl&&r.$router.go(_.actionUrl),x("clickAction")}return(t,r)=>{const m=p,_=u,x=d,b=f;return e(),s(_,{class:"ss-flex-col ss-col-center ss-row-center empty-box",style:c([{paddingTop:y.paddingTop+"rpx"}])},{default:a((()=>[o(_,{class:""},{default:a((()=>[o(m,{class:"empty-icon",src:y.icon,mode:"widthFix"},null,8,["src"])])),_:1}),o(_,{class:"empty-text ss-m-t-28 ss-m-b-40"},{default:a((()=>[""!==y.text?(e(),s(x,{key:0},{default:a((()=>[n(i(y.text),1)])),_:1})):l("",!0)])),_:1}),y.showAction?(e(),s(b,{key:0,class:"ss-reset-button empty-btn",onClick:g},{default:a((()=>[n(i(y.actionText),1)])),_:1})):l("",!0)])),_:1},8,["style"])}}},[["__scopeId","data-v-4198cfab"]]);export{m as _};
