1 |
- !function(){var e=document.createElement("style");e.innerHTML="._videoItem_9rujg_1{border-radius:.21333rem;background-color:#fff;overflow:hidden;width:4.48rem;margin-bottom:.32rem}._videoItem_9rujg_1 ._viCover_9rujg_8{height:2.50667rem;width:100%;vertical-align:middle}._videoItem_9rujg_1 ._viSection_9rujg_13{padding:.21333rem .32rem .34667rem}._videoItem_9rujg_1 ._viTitle_9rujg_16{font-size:.37333rem;color:#1a1a1a;line-height:.53333rem}._videoItem_9rujg_1 ._viUserNum_9rujg_21{padding-top:.10667rem;color:#ff802c;font-size:.32rem}._videoItem_9rujg_1 ._viPrice_9rujg_26{padding-top:.26667rem;font-size:.37333rem;color:#999}._videoItem_9rujg_1 ._viPrice_9rujg_26 ._priceNum_9rujg_31{color:red;font-size:.42667rem;font-weight:700}._videoItem_9rujg_1 ._viPrice_9rujg_26 ._priceNum_9rujg_31 i{font-size:.4rem;font-style:normal}._videoItem_9rujg_1 ._viPrice_9rujg_26 ._label_9rujg_40{padding-left:.21333rem}._videoItem_9rujg_1 ._subjectName_9rujg_43{position:absolute;bottom:.16rem;right:.16rem;font-size:.26667rem;padding:.08rem .13333rem;color:#fff;line-height:1;border-radius:.05333rem;background:rgba(0,0,0,.29)}\n",document.head.appendChild(e),System.register(["./ResizeObserver.es-legacy.9ef5ac8c.js","./index-legacy.8802e914.js"],(function(e){"use strict";var i,r,o,_,n;return{setters:[function(e){i=e.d,r=e.j,o=e.A,_=e.F},function(e){n=e.I}],execute:function(){var l="_videoItem_9rujg_1",t="_viCover_9rujg_8",u="_viSection_9rujg_13",s="_viTitle_9rujg_16",c="_viUserNum_9rujg_21",d="_viPrice_9rujg_26",a="_priceNum_9rujg_31",m="_label_9rujg_40",v="_subjectName_9rujg_43";e("V",i({name:"VideoItem",props:{item:Object,onClick:{type:Function,default:function(e){}}},render:function(){var e=this,i=this.item;return r("div",{class:l,onClick:function(){e.onClick(i)}},[r("div",{style:{position:"relative"}},[r(n,{class:t,fit:"cover",src:null==i?void 0:i.lessonCoverUrl},null),r("span",{class:v},[null==i?void 0:i.lessonSubjectName])]),r("div",{class:u},[r("div",{class:[s,"van-ellipsis"]},[null==i?void 0:i.lessonName]),r("div",{class:d},[r("span",{class:a},["VIP"===i.payType?r("span",{style:{color:"#C76E21"}},[o("会员")]):r(_,null,[(null==i?void 0:i.lessonPrice)>0&&r(_,null,[r("i",null,[o("¥")]),null==i?void 0:i.lessonPrice]),(null==i?void 0:i.lessonPrice)<=0&&0!==i.auditVersion&&r(_,null,[r("i",null,[o("¥")]),o("0")]),(null==i?void 0:i.lessonPrice)<=0&&0===i.auditVersion&&r("span",{style:{color:"#20BEA0"}},[o("免费")])])]),r("span",{class:m},[o("/"),null==i?void 0:i.lessonCount,o("课时")])]),r("div",{class:c},[null==i?void 0:i.countStudent,o("人学习")])])])}}))}}}))}();
|