index-legacy.ad82b591.js 1.6 KB

1
  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(["./index-legacy.fba2875c.js","./index-legacy.7dcec7b3.js","./icon_student-legacy.45be2fa9.js"],(function(e){"use strict";var t,n,r,d;return{setters:[function(e){t=e.d,n=e.j},function(e){r=e.C},function(e){d=e.i}],execute:function(){var u={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:u.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||d,class:u.studentImg},null)},title:function(){return n("div",{class:u.info},[n("p",{class:u.studentName},[e.item.userName]),n("p",null,[e.item.subjectName&&n("span",{class:u.subject},[e.item.subjectName])])])}})}}))}}}))}();