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.8d60aee1.js","./index-legacy.610f0a70.js","./index-legacy.fd89cccf.js","./index-legacy.4a75d877.js","./icon_teacher-legacy.42ba77b1.js","./icon_timer2-legacy.b6c78faa.js"],(function(e){"use strict";var r,n,_,i,f,t,s,o,l,a;return{setters:[function(e){r=e.d,n=e.j,_=e.N,i=e.A,f=e.F},function(e){t=e.C},function(e){s=e.C},function(e){o=e.I},function(e){l=e.i},function(e){a=e.i}],execute:function(){var u="_userDetail_13f7m_1",m="_banner_13f7m_1",c="_userInfo_13f7m_7",d="_avatar_13f7m_10",h="_name_13f7m_17",g="_username_13f7m_26",p="_buyNum_13f7m_38",I="_info_13f7m_52",y="_userTitle_13f7m_68",v="_buyTips_13f7m_90";e("U",r({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 n("div",{class:u},[n(o,{class:[m],src:this.userInfo.lessonCoverUrl,fit:"cover"},null),n(s,{class:c,border:this.border},{default:function(){return[n(t,{title:e.userInfo.lessonName,titleClass:y},{label:function(){return e.userInfo.startTime&&n("span",{style:{display:"flex",alignItems:"center",fontSize:"13px",paddingTop:"var(--van-cell-label-margin-top)"}},[n(_,{name:a,size:"16",style:{marginRight:"5px"}},null),i("开课时间:"),e.userInfo.startTime])}}),n(t,null,{icon:function(){return n(o,{onClick:function(){e.onUserDetail(e.userInfo)},class:d,src:e.userInfo.headUrl||l,fit:"cover"},null)},title:function(){return n("div",{class:h,onClick:function(){e.onUserDetail(e.userInfo)}},[n("div",{class:g},[e.userInfo.username||"游客".concat(e.userInfo.id||"")])])},value:function(){return n("div",{class:I},["VIP"===e.userInfo.payType?n("span",{style:{color:"#C76E21"}},[i("会员")]):n(f,null,[e.userInfo.lessonPrice>0&&n(f,null,[i("¥"),e.userInfo.lessonPrice]),e.userInfo.lessonPrice<=0&&0!==e.userInfo.auditVersion&&n(f,null,[i("¥"),0]),e.userInfo.lessonPrice<=0&&0===e.userInfo.auditVersion&&n("span",{style:{color:"#20BEA0"}},[i("免费")])]),n("span",{style:{color:"#999",fontSize:"14px",fontWeight:400}},[i("/"),e.userInfo.lessonNum,i("课时")]),e.showBuy&&n("div",{class:p},["live"===e.userInfo.type?n(f,null,[e.userInfo.buyNum,i("人已"),e.userInfo.lessonPrice<=0&&0===e.userInfo.auditVersion?"领取":"购买"]):n(f,null,[e.userInfo.buyNum,i("人学习")])])])}}),"GIFT"===e.userInfo.relationType&&n(t,{class:v,value:"注:购买本课程即可赠送相关曲目或专辑终生使用权限~"},null)]}})])}}))}}}))}();
|