1 |
- !function(){var e=document.createElement("style");e.innerHTML="._liveItem_tfo9r_1{margin:.26667rem .26667rem 0;width:auto!important;border-radius:.21333rem;padding:.26667rem}._liveItem_tfo9r_1 ._liCover_tfo9r_7{width:4.53333rem;height:2.56rem;background:#c6c7cb;border-radius:.21333rem;overflow:hidden;margin-right:.21333rem;vertical-align:middle}._liveItem_tfo9r_1 ._liTitle_tfo9r_16{padding-top:.10667rem;font-size:.37333rem;font-weight:600;color:#333;line-height:.53333rem;max-width:4rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._liveItem_tfo9r_1 ._liUserInfo_tfo9r_27{padding-top:.10667rem;padding-bottom:.24rem;font-size:.32rem;color:#6a6a6a;line-height:.42667rem}._liveItem_tfo9r_1 ._liteachername_tfo9r_34{display:flex;align-items:center;margin-bottom:.16rem}._liveItem_tfo9r_1 ._liteacherIcon_tfo9r_39{width:.48rem;height:.48rem;border-radius:50%;overflow:hidden;margin-right:.10667rem;flex-shrink:0}._liveItem_tfo9r_1 ._liPrice_tfo9r_47{display:flex;align-items:center;justify-content:space-between}._liveItem_tfo9r_1 ._liPrice_tfo9r_47 ._price_tfo9r_52{color:#fa6400;font-size:.37333rem;margin-right:.26667rem;font-weight:600}._liveItem_tfo9r_1 ._liPrice_tfo9r_47 ._price_tfo9r_52 i{font-style:normal;font-size:.29333rem}._liveItem_tfo9r_1 ._liPrice_tfo9r_47 ._classNum_tfo9r_62{background:#fff1de;border-radius:.10667rem;font-size:.32rem;color:#ff9300;line-height:.48rem;padding:.02667rem .10667rem}._liveItem_tfo9r_1 ._liPrice_tfo9r_47 ._num_tfo9r_70,._liveItem_tfo9r_1 ._liPrice_tfo9r_47 ._buyNum_tfo9r_71{font-size:.32rem;color:#ff802c;line-height:.48rem}._liveItem_tfo9r_1 ._liPrice_tfo9r_47 ._buyNum_tfo9r_71{color:#999;display:flex;align-items:center;line-height:1}._liveItem_tfo9r_1 ._subjectName_tfo9r_82{position:absolute;top:.21333rem;left:.21333rem;font-size:.32rem;padding:.08rem .13333rem;color:#fff;line-height:1;border-radius:.02667rem;background:rgba(0,0,0,.29)}._liveItem_tfo9r_1 ._iconTimer_tfo9r_93{width:.45333rem;height:.45333rem;vertical-align:bottom}\n",document.head.appendChild(e),System.register(["./index-legacy.f8641610.js","./index-legacy.fc510843.js","./icon_teacher-legacy.42ba77b1.js"],(function(e){"use strict";var r,i,t,o,l,n;return{setters:[function(e){r=e.d,i=e.i,t=e.x,o=e.A},function(e){l=e.C},function(e){n=e.i}],execute:function(){var a="_liveItem_tfo9r_1",c="_liCover_tfo9r_7",_="_liTitle_tfo9r_16",s="_liUserInfo_tfo9r_27",f="_liteachername_tfo9r_34",m="_liteacherIcon_tfo9r_39",u="_liPrice_tfo9r_47",v="_price_tfo9r_52",d="_classNum_tfo9r_62",g="_buyNum_tfo9r_71",h="_subjectName_tfo9r_82",I="_iconTimer_tfo9r_93";e("L",r({name:"liveItem",props:{onClick:{type:Function,default:function(e){}},liveInfo:{type:Object,default:{}},coverClass:{type:String,defualt:""}},data:function(){return{backgroundPic:"",avatar:""}},mounted:function(){this.backgroundPic=this.liveInfo.backgroundPic+"@base@tag=imgScale&h=192&w=340&m=1",this.avatar=this.liveInfo.avatar+"@base@tag=imgScale&h=80&w=80&m=1"},render:function(){var e=this;return i(l,{center:!0,border:!1,class:a,onClick:function(){return e.onClick(e.liveInfo)}},{icon:function(){return i("div",{style:{position:"relative"}},[i("img",{class:[c,e.coverClass],src:e.backgroundPic,crossorigin:"anonymous",style:{objectFit:"cover"}},null),e.liveInfo.subjectName&&i("span",{class:h},[e.liveInfo.subjectName])])},title:function(){return i("div",null,[i("div",{class:[_,"van-ellipsis","itemTitle"]},[e.liveInfo.courseGroupName]),i("div",{class:s},[i("p",{class:f},[i("img",{src:e.liveInfo.avatar?e.avatar:n,class:m,crossorigin:"anonymous",style:{objectFit:"cover"}},null),e.liveInfo.teacherName||"游客".concat(e.liveInfo.teacherId)]),e.liveInfo.courseStartTime&&i("p",null,[i("img",{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6+vjkO8QbR9lZ+e0hyCyCkSMOMGZYxI8uFc2hnov7vV+/Y6Pj6KgFNl7ramLlQ0Obkw2BC0imW96YwRxdPJLX1rt15tCSQjfGTfleZ9wpAaonXhsU9b+tq0VNENMIeaWVfcNecW9iyaG26+E0ry7Jw6dm6soSHEtF7fU/u+dQs1LYNmHx44gyDQ0575NqRomlyE4R8EEUfHKvYPe82QFlrc7LLl56c7gPhMbFgFvnFyltUUKivknR5xiM1JdY8Z9mlOd4nil8yEjrB1Kx1Yrr8mFwlWp+m69SIoulpdyTxrDWEdYEwaKE0z6Pxu4dBaAWw2EmqnEYjkHD04oZMOyiS65qsZzpmRD+1MX7S7yU+yIznwbwuf0Mr/UauY2Ui5XOCTmUz2ePJLZH/9nPC7BxP/NRR485QUHaTH9ksJJnuoMI9OLD2hf//A6s0SRYWNS9pFrZFabPugxjz9C+YG4kygVcFewAAAABJRU5ErkJggg==",class:I},null),t(e.liveInfo.courseStartTime).format("MM月DD日 HH:mm")])]),i("div",{class:u},[i("p",null,[e.liveInfo.coursePrice>0&&i("span",{class:v},[i("i",null,[o("¥")]),e.liveInfo.coursePrice]),0==e.liveInfo.coursePrice&&i("span",{class:v},[o("免费")]),i("span",{class:d},[e.liveInfo.courseNum,o("课时")])]),1===e.liveInfo.existBuy&&i("span",{class:g},[0==e.liveInfo.coursePrice?"已领取":"已购买"])])])}})}}))}}}))}();
|