import{d as s,j as t}from"./index.3bfa6a0e.js";import{C as n}from"./index.79997a38.js";import{s as u}from"./icon_student.c3c58354.js";const d="_student_z69gd_1",a="_studentImg_z69gd_6",o="_subject_z69gd_14",i="_studentName_z69gd_23";var e={student:d,studentImg:a,subject:o,studentName:i},p=s({name:"student",props:{item:{type:Object,default:{}},onClick:{type:Function,default:m=>{}},border:{type:Boolean,default:!0}},render(){return t(n,{center:!0,class:e.student,border:this.border,onClick:()=>{this.onClick(this.item)}},{default:()=>[this.$slots.default&&this.$slots.default()],icon:()=>t("img",{src:this.item.avatar||u,class:e.studentImg},null),title:()=>t("div",{class:e.info},[t("p",{class:e.studentName},[this.item.userName]),t("p",null,[this.item.subjectName&&t("span",{class:e.subject},[this.item.subjectName])])])})}});export{p as S};
