index-legacy.65f447aa.js 5.0 KB

1
  1. !function(){var e=document.createElement("style");e.innerHTML="._userDetail_13f7m_1 ._banner_13f7m_1{width:100%;height:5.65333rem;overflow:hidden;vertical-align:middle}._userDetail_13f7m_1 ._userInfo_13f7m_7{overflow:hidden}._userDetail_13f7m_1 ._userInfo_13f7m_7 ._avatar_13f7m_10{width:1.06667rem;height:1.06667rem;border-radius:50%;overflow:hidden;flex-shrink:0}._userDetail_13f7m_1 ._userInfo_13f7m_7 ._name_13f7m_17{padding-left:.21333rem;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;display:flex;align-items:center}._userDetail_13f7m_1 ._userInfo_13f7m_7 ._username_13f7m_26{max-width:2.66667rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}._userDetail_13f7m_1 ._userInfo_13f7m_7 ._username_13f7m_26 ._userHonor_13f7m_32{width:1.04rem;height:.42667rem;margin-top:.10667rem;margin-right:.16rem}._userDetail_13f7m_1 ._userInfo_13f7m_7 ._buyNum_13f7m_38{color:#ff802c;font-size:.37333rem;text-align:right;margin-top:.21333rem}._userDetail_13f7m_1 ._userInfo_13f7m_7 ._buyNumInfo_13f7m_44{font-size:.37333rem;line-height:.53333rem;color:#ff802c}._userDetail_13f7m_1 ._userInfo_13f7m_7 ._buyNumInfo_13f7m_44 ._iconBuy_13f7m_49{margin-right:.13333rem}._userDetail_13f7m_1 ._userInfo_13f7m_7 ._info_13f7m_52{font-size:.42667rem;font-weight:600;color:var(--van-primary);line-height:.53333rem;color:red}._userDetail_13f7m_1 ._userInfo_13f7m_7 ._info_13f7m_52 ._infoPrice_13f7m_59{font-size:.42667rem;font-weight:700}._userDetail_13f7m_1 ._userInfo_13f7m_7 ._info_13f7m_52 ._infoNum_13f7m_63{font-size:.37333rem;color:#999;font-weight:400}._userDetail_13f7m_1 ._userInfo_13f7m_7 ._userTitle_13f7m_68{font-size:.48rem;color:#1a1a1a;font-weight:500;display:block!important}._userDetail_13f7m_1 ._userInfo_13f7m_7 .van-cell{padding:.32rem .37333rem;align-items:center}._userDetail_13f7m_1 ._userInfo_13f7m_7 .van-cell__title{display:flex;align-items:center}._userDetail_13f7m_1 ._userInfo_13f7m_7 .van-cell__value{display:flex;flex-direction:column;justify-content:space-between}._userDetail_13f7m_1 ._userInfo_13f7m_7 .van-cell__label{margin-top:0}._userDetail_13f7m_1 ._buyTips_13f7m_90{font-size:.32rem;color:#ff8900;padding:.08rem .26667rem!important;background:#ffefe0;border-radius:.16rem;margin:0 .37333rem .32rem;width:auto}._userDetail_13f7m_1 ._buyTips_13f7m_90 span{line-height:.56rem;color:#ff8900}._iconTeacher_13f7m_103{margin-top:.08rem;margin-right:.16rem;width:1.04rem;height:.42667rem}\n",document.head.appendChild(e),System.register(["./ResizeObserver.es-legacy.44b91b4c.js","./index-legacy.c8c5bc4e.js","./index-legacy.7ce7fe04.js","./index-legacy.4be048cf.js","./icon_teacher-legacy.42ba77b1.js","./icon_timer2-legacy.b6c78faa.js"],(function(e){"use strict";var n,r,_,i,f,t,o,s,l,u;return{setters:[function(e){n=e.d,r=e.j,_=e.N,i=e.A,f=e.F},function(e){t=e.C},function(e){o=e.C},function(e){s=e.I},function(e){l=e.i},function(e){u=e.i}],execute:function(){var m="_userDetail_13f7m_1",a="_banner_13f7m_1",c="_userInfo_13f7m_7",d="_avatar_13f7m_10",h="_name_13f7m_17",I="_username_13f7m_26",g="_buyNum_13f7m_38",p="_info_13f7m_52",y="_userTitle_13f7m_68",v="_buyTips_13f7m_90";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 r("div",{class:m},[r(s,{class:[a],src:this.userInfo.lessonCoverUrl,fit:"cover"},null),r(o,{class:c,border:this.border},{default:function(){return[r(t,{title:e.userInfo.lessonName,titleClass:y},{label:function(){return e.userInfo.startTime&&r("span",{style:{display:"flex",alignItems:"center",fontSize:"13px",paddingTop:"var(--van-cell-label-margin-top)"}},[r(_,{name:u,size:"16",style:{marginRight:"5px"}},null),i("开课时间:"),e.userInfo.startTime])}}),r(t,null,{icon:function(){return r(s,{onClick:function(){e.onUserDetail(e.userInfo)},class:d,src:e.userInfo.headUrl||l,fit:"cover"},null)},title:function(){return r("div",{class:h,onClick:function(){e.onUserDetail(e.userInfo)}},[r("div",{class:I},[e.userInfo.username||"游客".concat(e.userInfo.id||"")])])},value:function(){return r("div",{class:p},["VIP"===e.userInfo.payType?r("span",{style:{color:"#C76E21"}},[i("会员")]):r(f,null,[e.userInfo.lessonPrice>0&&r(f,null,[i("¥"),e.userInfo.lessonPrice]),e.userInfo.lessonPrice<=0&&0!==e.userInfo.auditVersion&&r(f,null,[i("¥"),0]),e.userInfo.lessonPrice<=0&&0===e.userInfo.auditVersion&&r("span",{style:{color:"#20BEA0"}},[i("免费")])]),r("span",{style:{color:"#999",fontSize:"14px",fontWeight:400}},[i("/"),e.userInfo.lessonNum,i("课时")]),e.showBuy&&r("div",{class:g},["live"===e.userInfo.type?r(f,null,[e.userInfo.buyNum,i("人已"),e.userInfo.lessonPrice<=0&&0===e.userInfo.auditVersion?"领取":"购买"]):"group"===e.userInfo.type?e.userInfo.mixStudentNum?r(f,null,[i("剩余"),e.userInfo.mixStudentNum,i("个名额")]):"":r(f,null,[e.userInfo.buyNum,i("人学习")])])])}}),"GIFT"===e.userInfo.relationType&&r(t,{class:v,value:"注:购买本课程即可赠送相关曲目或专辑终生使用权限~"},null)]}})])}}))}}}))}();