;(function(){var __vite_style__=document.createElement('style');__vite_style__.innerHTML="._userDetail_p4g0z_1 ._banner_p4g0z_1{width:100%;height:5.65333rem;overflow:hidden;vertical-align:middle}._userDetail_p4g0z_1 ._userInfo_p4g0z_7{overflow:hidden}._userDetail_p4g0z_1 ._userInfo_p4g0z_7 ._avatar_p4g0z_10{width:1.06667rem;height:1.06667rem;border-radius:50%;overflow:hidden;flex-shrink:0}._userDetail_p4g0z_1 ._userInfo_p4g0z_7 ._name_p4g0z_17{padding-left:.21333rem;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;display:flex;align-items:center}._userDetail_p4g0z_1 ._userInfo_p4g0z_7 ._username_p4g0z_26{max-width:2.66667rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}._userDetail_p4g0z_1 ._userInfo_p4g0z_7 ._username_p4g0z_26 ._userHonor_p4g0z_32{width:1.04rem;height:.42667rem;margin-top:.10667rem;margin-right:.16rem}._userDetail_p4g0z_1 ._userInfo_p4g0z_7 ._buyNum_p4g0z_38{color:#ff802c;font-size:.37333rem;text-align:right;margin-top:.21333rem}._userDetail_p4g0z_1 ._userInfo_p4g0z_7 ._buyNumInfo_p4g0z_44{font-size:.37333rem;line-height:.53333rem;color:#ff802c}._userDetail_p4g0z_1 ._userInfo_p4g0z_7 ._buyNumInfo_p4g0z_44 ._iconBuy_p4g0z_49{margin-right:.13333rem}._userDetail_p4g0z_1 ._userInfo_p4g0z_7 ._info_p4g0z_52{font-size:.42667rem;font-weight:600;color:var(--van-primary);line-height:.53333rem;color:#fa6400}._userDetail_p4g0z_1 ._userInfo_p4g0z_7 ._info_p4g0z_52 ._infoPrice_p4g0z_59{font-size:.42667rem;font-weight:700}._userDetail_p4g0z_1 ._userInfo_p4g0z_7 ._info_p4g0z_52 ._infoNum_p4g0z_63{font-size:.37333rem;color:#999;font-weight:400}._userDetail_p4g0z_1 ._userInfo_p4g0z_7 ._userTitle_p4g0z_68{font-size:.48rem;color:#1a1a1a;font-weight:500;display:block!important}._userDetail_p4g0z_1 ._userInfo_p4g0z_7 .van-cell{padding:.32rem .37333rem;align-items:center}._userDetail_p4g0z_1 ._userInfo_p4g0z_7 .van-cell__title{display:flex;align-items:center}._userDetail_p4g0z_1 ._userInfo_p4g0z_7 .van-cell__value{display:flex;flex-direction:column;justify-content:space-between}._userDetail_p4g0z_1 ._userInfo_p4g0z_7 .van-cell__label{margin-top:0}._iconTeacher_p4g0z_90{margin-top:.08rem;margin-right:.16rem;width:1.04rem;height:.42667rem}\n";document.head.appendChild(__vite_style__);System.register(['./vendor-legacy.09f20d09.js','./index-legacy.f25f109a.js','./index-legacy.f25f109a4.js','./index-legacy.f25f109a2.js','./icon_teacher-legacy.e765b7f7.js','./icon_timer2-legacy.b6c78faa.js','./icon-jiaozi-legacy.dd5ed0e2.js'],function(exports){'use strict';var defineComponent,createVNode,Image,CellGroup,Cell,Icon,createTextVNode,Fragment,IconAvator,iconTime,IconXueli,IconJiaozi;return{setters:[function(module){defineComponent=module.d;createVNode=module.a;Image=module.I;CellGroup=module.y;Cell=module.C;Icon=module.K;createTextVNode=module.j;Fragment=module.F;},function(){},function(){},function(){},function(module){IconAvator=module.I;},function(module){iconTime=module.i;},function(module){IconXueli=module.I;IconJiaozi=module.a;}],execute:function execute(){var userDetail="_userDetail_p4g0z_1";var banner="_banner_p4g0z_1";var userInfo="_userInfo_p4g0z_7";var avatar="_avatar_p4g0z_10";var name="_name_p4g0z_17";var username="_username_p4g0z_26";var userHonor="_userHonor_p4g0z_32";var buyNum="_buyNum_p4g0z_38";var buyNumInfo="_buyNumInfo_p4g0z_44";var iconBuy="_iconBuy_p4g0z_49";var info="_info_p4g0z_52";var infoPrice="_infoPrice_p4g0z_59";var infoNum="_infoNum_p4g0z_63";var userTitle="_userTitle_p4g0z_68";var iconTeacher="_iconTeacher_p4g0z_90";var styles={userDetail:userDetail,banner:banner,userInfo:userInfo,avatar:avatar,name:name,username:username,userHonor:userHonor,buyNum:buyNum,buyNumInfo:buyNumInfo,iconBuy:iconBuy,info:info,infoPrice:infoPrice,infoNum:infoNum,userTitle:userTitle,iconTeacher:iconTeacher};/**
       * @description: 视频详情
       * @param {type} headUrl 头像
       * @param {type} username 姓名
       * @param {type} startTime 开始时间
       * @param {type} buyNum 购买用户数
       * @param {type} lessonPrice 价格
       * @param {type} lessonCoverUrl 视频封面
       * @param {type} lessonDesc 课程描述
       * @param {type} lessonNum 课程数
       * @param {type} lessonName 课程名称
       */var UserDetail=exports('U',defineComponent({name:'user-detail',props:{userInfo:{type:Object,required:true},showType:{type:String,default:'BUY'},showBuy:{type:Boolean,default:true},border:{type:Boolean,default:false}},render:function render(){var _this=this;return createVNode("div",{"class":styles.userDetail},[createVNode(Image,{"class":[styles.banner],"src":this.userInfo.lessonCoverUrl,"fit":"cover"},null),createVNode(CellGroup,{"class":styles.userInfo,"border":this.border},{default:function _default(){return[createVNode(Cell,{"title":_this.userInfo.lessonName,"titleClass":styles.userTitle},{label:function label(){return _this.userInfo.startTime&&createVNode("span",{"style":{display:'flex',alignItems:'center',fontSize:'13px',paddingTop:'var(--van-cell-label-margin-top)'}},[createVNode(Icon,{"name":iconTime,"size":"16","style":{marginRight:'5px'}},null),createTextVNode("\u5F00\u8BFE\u65F6\u95F4\uFF1A"),_this.userInfo.startTime]);}}),createVNode(Cell,null,{icon:function icon(){return createVNode(Image,{"class":styles.avatar,"src":_this.userInfo.headUrl||IconAvator,"fit":"cover"},null);},title:function title(){return createVNode("div",{"class":styles.name},[createVNode("div",{"class":styles.username},[createVNode("div",null,[_this.userInfo.username||"\u6E38\u5BA2".concat(_this.userInfo.id||'')]),createVNode("div",null,[_this.userInfo.isDegree&&createVNode("img",{"class":styles.iconTeacher,"src":IconXueli},null),_this.userInfo.isTeacher&&createVNode("img",{"class":styles.iconTeacher,"src":IconJiaozi},null)])])]);},value:function value(){return createVNode("div",{"class":styles.info},[_this.userInfo.lessonPrice>0&&createVNode(Fragment,null,[createTextVNode("\uFFE5"),_this.userInfo.lessonPrice]),_this.userInfo.lessonPrice<=0&&_this.userInfo.auditVersion!==0&&createVNode(Fragment,null,[createTextVNode("\uFFE5"),0]),_this.userInfo.lessonPrice<=0&&_this.userInfo.auditVersion===0&&createVNode(Fragment,null,[createTextVNode("\u514D\u8D39")]),createVNode("span",{"style":{color:'#999',fontSize:'14px',fontWeight:400}},[createTextVNode("/"),_this.userInfo.lessonNum,createTextVNode("\u8BFE\u65F6")]),_this.showBuy&&createVNode("div",{"class":styles.buyNum},[_this.userInfo.buyNum,createTextVNode("\u4EBA\u5DF2"),_this.userInfo.lessonPrice<=0&&_this.userInfo.auditVersion===0?'领取':'购买'])]);}})];}})]);}}));}};});})();
