!function(){var e=document.createElement("style");e.innerHTML="._userDetail_fl8wn_1 ._banner_fl8wn_1{width:100%;height:5.65333rem;overflow:hidden;vertical-align:middle}._userDetail_fl8wn_1 ._userInfo_fl8wn_7{overflow:hidden}._userDetail_fl8wn_1 ._userInfo_fl8wn_7 ._avatar_fl8wn_10{width:1.06667rem;height:1.06667rem;border-radius:50%;overflow:hidden;flex-shrink:0}._userDetail_fl8wn_1 ._userInfo_fl8wn_7 ._name_fl8wn_17{padding-left:.21333rem;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;display:flex;align-items:center}._userDetail_fl8wn_1 ._userInfo_fl8wn_7 ._username_fl8wn_26{max-width:2.66667rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}._userDetail_fl8wn_1 ._userInfo_fl8wn_7 ._username_fl8wn_26 ._userHonor_fl8wn_32{width:1.04rem;height:.42667rem;margin-top:.10667rem;margin-right:.16rem}._userDetail_fl8wn_1 ._userInfo_fl8wn_7 ._buyNum_fl8wn_38{color:#ff802c;font-size:.37333rem;text-align:right;margin-top:.21333rem}._userDetail_fl8wn_1 ._userInfo_fl8wn_7 ._buyNumInfo_fl8wn_44{font-size:.37333rem;line-height:.53333rem;color:#ff802c}._userDetail_fl8wn_1 ._userInfo_fl8wn_7 ._buyNumInfo_fl8wn_44 ._iconBuy_fl8wn_49{margin-right:.13333rem}._userDetail_fl8wn_1 ._userInfo_fl8wn_7 ._info_fl8wn_52{font-size:.42667rem;font-weight:600;color:var(--van-primary);line-height:.53333rem;color:#fa6400}._userDetail_fl8wn_1 ._userInfo_fl8wn_7 ._info_fl8wn_52 ._infoPrice_fl8wn_59{font-size:.42667rem;font-weight:700}._userDetail_fl8wn_1 ._userInfo_fl8wn_7 ._info_fl8wn_52 ._infoNum_fl8wn_63{font-size:.37333rem;color:#999;font-weight:400}._userDetail_fl8wn_1 ._userInfo_fl8wn_7 ._userTitle_fl8wn_68{font-size:.48rem;color:#1a1a1a;font-weight:500;display:block!important}._userDetail_fl8wn_1 ._userInfo_fl8wn_7 .van-cell{padding:.32rem .37333rem;align-items:center}._userDetail_fl8wn_1 ._userInfo_fl8wn_7 .van-cell__title{display:flex;align-items:center}._userDetail_fl8wn_1 ._userInfo_fl8wn_7 .van-cell__value{display:flex;flex-direction:column;justify-content:space-between}._userDetail_fl8wn_1 ._userInfo_fl8wn_7 .van-cell__label{margin-top:0}._userDetail_fl8wn_1 ._buyTips_fl8wn_90{font-size:.32rem;color:#ff8900;padding:.08rem .26667rem!important;background:#ffefe0;border-radius:.16rem;margin:0 .37333rem .32rem;width:auto}._userDetail_fl8wn_1 ._buyTips_fl8wn_90 span{line-height:.56rem;color:#ff8900}._iconTeacher_fl8wn_103{margin-top:.08rem;margin-right:.16rem;width:1.04rem;height:.42667rem}\n",document.head.appendChild(e),System.register(["./index-legacy.f8641610.js","./index-legacy.fc510843.js","./index-legacy.c36297f9.js","./index-legacy.c8b60294.js","./icon_teacher-legacy.42ba77b1.js","./icon_timer2-legacy.b6c78faa.js","./icon-jiaozi-legacy.dd5ed0e2.js"],(function(e){"use strict";var n,l,r,_,i,f,s,t,o,a,u,c;return{setters:[function(e){n=e.d,l=e.i,r=e.N,_=e.A,i=e.F},function(e){f=e.C},function(e){s=e.C},function(e){t=e.I},function(e){o=e.i},function(e){a=e.i},function(e){u=e.I,c=e.a}],execute:function(){var w="_userDetail_fl8wn_1",m="_banner_fl8wn_1",d="_userInfo_fl8wn_7",g="_avatar_fl8wn_10",h="_name_fl8wn_17",I="_username_fl8wn_26",p="_buyNum_fl8wn_38",y="_info_fl8wn_52",v="_userTitle_fl8wn_68",b="_buyTips_fl8wn_90",D="_iconTeacher_fl8wn_103";e("U",n({name:"user-detail",props:{userInfo:{type:Object,required:!0},showType:{type:String,default:"BUY"},showBuy:{type:Boolean,default:!0},border:{type:Boolean,default:!1},onUserDetail:{type:Function,default:function(e){}}},render:function(){var e=this;return l("div",{class:w},[l(t,{class:[m],src:this.userInfo.lessonCoverUrl,fit:"cover"},null),l(s,{class:d,border:this.border},{default:function(){return[l(f,{title:e.userInfo.lessonName,titleClass:v},{label:function(){return e.userInfo.startTime&&l("span",{style:{display:"flex",alignItems:"center",fontSize:"13px",paddingTop:"var(--van-cell-label-margin-top)"}},[l(r,{name:a,size:"16",style:{marginRight:"5px"}},null),_("开课时间:"),e.userInfo.startTime])}}),l(f,null,{icon:function(){return l(t,{onClick:function(){e.onUserDetail(e.userInfo)},class:g,src:e.userInfo.headUrl||o,fit:"cover"},null)},title:function(){return l("div",{class:h,onClick:function(){e.onUserDetail(e.userInfo)}},[l("div",{class:I},[e.userInfo.username||"游客".concat(e.userInfo.id||""),l("div",null,[e.userInfo.isDegree&&l("img",{class:D,src:u},null),e.userInfo.isTeacher&&l("img",{class:D,src:c},null)])])])},value:function(){return l("div",{class:y},[e.userInfo.lessonPrice>0&&l(i,null,[_("¥"),e.userInfo.lessonPrice]),e.userInfo.lessonPrice<=0&&0!==e.userInfo.auditVersion&&l(i,null,[_("¥"),0]),e.userInfo.lessonPrice<=0&&0===e.userInfo.auditVersion&&l(i,null,[_("免费")]),l("span",{style:{color:"#999",fontSize:"14px",fontWeight:400}},[_("/"),e.userInfo.lessonNum,_("课时")]),e.showBuy&&l("div",{class:p},[e.userInfo.buyNum,_("人已"),e.userInfo.lessonPrice<=0&&0===e.userInfo.auditVersion?"领取":"购买"])])}}),"GIFT"===e.userInfo.relationType&&l(f,{class:b,value:"注:购买本课程即可赠送相关曲目或专辑终生使用权限~"},null)]}})])}}))}}}))}();