import{o as t,e,w as s,i as a,y as o,z as n,k as c,E as i,s as l,l as p,m as r,A as d,B as u}from"./index-520dfaee.js";/* empty css                                                                */import{_}from"./_plugin-vue_export-helper.1b428a4d.js";const 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"}},emits:["clickAction"],setup(_,{emit:y}){const m=_;function f(){""!==m.actionUrl&&l.$router.go(m.actionUrl),y("clickAction")}return(l,y)=>{const m=p,x=r,g=d,b=u;return t(),e(x,{class:"ss-flex-col ss-col-center ss-row-center empty-box",style:i([{paddingTop:_.paddingTop+"rpx"}])},{default:s((()=>[a(x,{class:""},{default:s((()=>[a(m,{class:"empty-icon",src:_.icon,mode:"widthFix"},null,8,["src"])])),_:1}),a(x,{class:"empty-text ss-m-t-28 ss-m-b-40"},{default:s((()=>[""!==_.text?(t(),e(g,{key:0},{default:s((()=>[o(n(_.text),1)])),_:1})):c("",!0)])),_:1}),_.showAction?(t(),e(b,{key:0,class:"ss-reset-button empty-btn",onClick:f},{default:s((()=>[o(n(_.actionText),1)])),_:1})):c("",!0)])),_:1},8,["style"])}}},[["__scopeId","data-v-2d699bc7"]]);export{y as _};
