import{d as o,a,I as t,C as p,q as r,u as m,j as s,z as n,F as u}from"./vendor.a0144ce9.js";/* empty css               *//* empty css              *//* empty css               *//* empty css                */import{i}from"./icon_teacher.40b6f077.js";import{i as l}from"./icon_timer2.563d016a.js";const q="_userDetail_14081_1",A="_banner_14081_1",c="_userInfo_14081_7",f="_avatar_14081_10",y="_name_14081_16",I="_buyNum_14081_25",h="_buyNumInfo_14081_39",F="_iconBuy_14081_45",d="_info_14081_48",b="_userTitle_14081_54";var e={userDetail:q,banner:A,userInfo:c,avatar:f,name:y,buyNum:I,buyNumInfo:h,iconBuy:F,info:d,userTitle:b},B="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAMAAABF0y+mAAAAAXNSR0IArs4c6QAAAVlQTFRFAAAAAAAAgICAVVVVgICAZmZmbW1tYGBgZmZmXV1dampqYmJiZmZmYGBgaWlpY2NjcXFxbW1taGhob29vZmZmbGxsaGhobW1tbGxsbW1tampqa2trbW1ta2trampqaGhoa2trampqampqampqampqa2trampqampqaWlpa2trampqampqampqampqampqaWlpa2trampqampqa2traWlpa2trampqa2tra2tra2tra2trampqampqa2trampqa2trampqampqampqampqampqa2trampqampqampqampqa2trampqampqaWlpampqampqampqampqa2tra2trampqampqampqampqampqa2trampqampqaWlpampqampqampqampqampqampqaWlpampqampqampqampqa2trampqampqampqaWlpampqampqampqaWlpampqampq+CszRwAAAHJ0Uk5TAAECAwQFBwgKCwwNDxAREhIVFhcZGhscISMkJiorMDEyQUZITVFXWVpfYGNlZ2xtcHN2eoWGiYqNkZKTl5ucoKGkpqiurq+wtLW4u76/xcbHyMjLzs/R09TX2tvc4OPn6evs7e7v8fT09vf4+fv8/f7+y0D1DAAAAQlJREFUGBnFwWc7QmEABuCn5EQKyQ5lFTKPlREyQ3ZWQkahEj3//4PqPRXv8dF1uW/8hWZ/NBXf7MVv+pNMx57JJSN03G8ZtQ6GvihnoHOUG0SB/fbdCUk3QxCGOAuJjz4INR8HkExxAJpkBBIvxyE05kKQtGWPIUxQhWyLKgq6EkkHZC1xrrqU1slEbgR67gyL5qA3+kC+xO4/mQ1Y8VPVGlP+HgBNYzfcQ56tHSUrvOyAYJ4eBmC/foLGyysrvrNFOA9BuUs7UdQZcCCv9pABAwQPFyF4eFEPKPvcMEKzThc0yzyxmLYZqkZJ7BElxiDDQYbNKHs9R5lphzy1oCKygApl96wB/+cLQJ8y7iGIM44AAAAASUVORK5CYII=",W=o({name:"user-detail",props:{userInfo:{type:Object,required:!0},showType:{type:String,default:"BUY"},showBuy:{type:Boolean,default:!0},border:{type:Boolean,default:!1}},render(){return a("div",{class:e.userDetail},[a(t,{class:[e.banner],src:this.userInfo.lessonCoverUrl,fit:"cover"},null),a(p,{class:e.userInfo,border:this.border},{default:()=>[a(r,{title:this.userInfo.lessonName,titleClass:e.userTitle},{label:()=>this.userInfo.startTime&&a("span",{style:{display:"flex",alignItems:"center",fontSize:"13px"}},[a(m,{name:l,size:"16",style:{marginRight:"5px"}},null),s("\u5F00\u8BFE\u65F6\u95F4\uFF1A"),this.userInfo.startTime])}),a(r,null,{icon:()=>a(t,{class:e.avatar,src:this.userInfo.headUrl||i,fit:"cover"},null),title:()=>a("div",{class:e.name},[this.userInfo.username||`\u6E38\u5BA2${this.userInfo.id||""}`,this.showType==="TIME"?a(n,{style:{marginLeft:"8px"},color:"#FFF1DE",textColor:"#FF9300"},{default:()=>[this.userInfo.lessonNum,s("\u8BFE\u65F6")]}):this.showBuy&&a("div",{class:e.buyNum},[this.userInfo.buyNum,s("\u4EBA\u5DF2\u8D2D\u4E70")])]),value:()=>this.showType==="TIME"?a("div",{class:e.buyNumInfo},[a(m,{name:B,size:14,class:e.iconBuy},null)," ",s("\u5DF2\u8D2D "),this.userInfo.buyNum,s(" \u4EBA")]):a("div",{class:e.info},[this.userInfo.lessonPrice>0&&a(u,null,[s("\uFFE5"),this.userInfo.lessonPrice,s("/")]),this.userInfo.lessonNum,s("\u8BFE\u65F6")])})]})])}});export{W as U};
