import{d as r,c as e,aZ as n}from"./index.25c29239.js";const t=""+new URL("icon_empty.df5db7bf.png",import.meta.url).href,i=""+new URL("icon_no_live.fcb0eb56.png",import.meta.url).href,s=""+new URL("icon_teacher_cert.ee709a8f.png",import.meta.url).href,c=""+new URL("icon_music_cert.a65c8b91.png",import.meta.url).href,a=r({name:"col-empty",props:{message:{type:String,default:"\u6682\u65E0\u6570\u636E"},buttonText:{type:String,default:"\u53BB\u9996\u9875"},buttonVisibility:{type:Boolean,default:!1},type:{type:String,default:"empty"},onDetail:{type:Function,default:()=>{}}},computed:{icon(){switch(this.type){case"empty":return t;case"live":return i;case"teacherCert":return s;case"musicCert":return c;default:return t}}},render(){return e("div",{class:"w-full h-full text-center flex items-center justify-center flex-col"},[e("img",{src:this.icon,class:"w-64 m-auto"},null),e("p",{class:"text-base text-[#999999] pt-4 pb-6"},[this.message]),this.buttonVisibility&&e(n,{type:"primary",class:"rounded-sm !px-12",round:!0,style:{height:"48px"},onClick:()=>{this.onDetail()}},{default:()=>[this.buttonText]})])}});export{a as C};
