1 |
- !function(){var e=document.createElement("style");e.innerHTML="._student_bexq8_1{margin:.26667rem .37333rem;border-radius:.26667rem;width:auto}._student_bexq8_1 ._studentImg_bexq8_6{margin-right:.26667rem;width:1.28rem;height:1.28rem;border-radius:50%;overflow:hidden}._student_bexq8_1 ._subject_bexq8_13{margin-right:.13333rem;background:#fff1de;border-radius:.10667rem;font-size:.32rem;color:#ff8c00;line-height:.42667rem;padding:0 .10667rem}._student_bexq8_1 ._studentName_bexq8_22{font-size:.4rem;color:#1a1a1a;line-height:.74667rem}\n",document.head.appendChild(e),System.register(["./index-legacy.192c56a4.js","./index-legacy.81a23659.js","./icon_student-legacy.45be2fa9.js"],(function(e){"use strict";var t,n,r,u;return{setters:[function(e){t=e.d,n=e.i},function(e){r=e.C},function(e){u=e.i}],execute:function(){var s={student:"_student_bexq8_1",studentImg:"_studentImg_bexq8_6",subject:"_subject_bexq8_13",studentName:"_studentName_bexq8_22"};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:s.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||u,class:s.studentImg},null)},title:function(){return n("div",{class:s.info},[n("p",{class:s.studentName},[e.item.userName]),n("p",null,[e.item.subjectName&&n("span",{class:s.subject},[e.item.subjectName])])])}})}}))}}}))}();
|