import{d as t,e,f as s,g as a,l as o,t as n,m as c,h as i,s as l,q as r,p,C as u,N as d}from"./index-45b322f7.js";import{_ as f}from"./_plugin-vue_export-helper.1b428a4d.js";const m=f({__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(f,{emit:m}){const y=f;function x(){""!==y.actionUrl&&l.$router.go(y.actionUrl),m("clickAction")}return(l,m)=>{const y=r,_=p,g=u,S=d;return t(),e(_,{class:"ss-flex-col ss-col-center ss-row-center empty-box",style:i([{paddingTop:"360rpx"}])},{default:s((()=>[a(_,{class:""},{default:s((()=>[a(y,{class:"empty-icon",src:f.icon,mode:"widthFix"},null,8,["src"])])),_:1}),a(_,{class:"empty-text ss-m-t-28 ss-m-b-40"},{default:s((()=>[""!==f.text?(t(),e(g,{key:0},{default:s((()=>[o(n(f.text),1)])),_:1})):c("",!0)])),_:1}),f.showAction?(t(),e(S,{key:0,class:"ss-reset-button empty-btn",onClick:x},{default:s((()=>[o(n(f.actionText),1)])),_:1})):c("",!0)])),_:1})}}},[["__scopeId","data-v-c17ce6ea"]]);export{m as _};
