1 |
- !function(){var e=document.createElement("style");e.innerHTML="._student_z69gd_1{margin:.26667rem .37333rem;border-radius:.26667rem;width:auto}._student_z69gd_1 ._studentImg_z69gd_6{margin-right:.26667rem;width:1.28rem;height:1.28rem;border-radius:50%;overflow:hidden;-o-object-fit:cover;object-fit:cover}._student_z69gd_1 ._subject_z69gd_14{margin-right:.13333rem;background:#fff1de;border-radius:.10667rem;font-size:.32rem;color:#ff8c00;line-height:.42667rem;padding:0 .10667rem}._student_z69gd_1 ._studentName_z69gd_23{font-size:.4rem;color:#1a1a1a;line-height:.74667rem}\n",document.head.appendChild(e),System.register(["./ResizeObserver.es-legacy.8d60aee1.js","./index-legacy.610f0a70.js","./icon_student-legacy.49eef9e9.js"],(function(e){"use strict";var t,n,r,s;return{setters:[function(e){t=e.d,n=e.j},function(e){r=e.C},function(e){s=e.s}],execute:function(){var d={student:"_student_z69gd_1",studentImg:"_studentImg_z69gd_6",subject:"_subject_z69gd_14",studentName:"_studentName_z69gd_23"};e("S",t({name:"student",props:{item:{type:Object,default:{}},onClick:{type:Function,default:function(e){}},border:{type:Boolean,default:!0}},render:function(){var e=this;return n(r,{center:!0,class:d.student,border:this.border,onClick:function(){e.onClick(e.item)}},{default:function(){return[e.$slots.default&&e.$slots.default()]},icon:function(){return n("img",{src:e.item.avatar||s,class:d.studentImg},null)},title:function(){return n("div",{class:d.info},[n("p",{class:d.studentName},[e.item.userName]),n("p",null,[e.item.subjectName&&n("span",{class:d.subject},[e.item.subjectName])])])}})}}))}}}))}();
|