;(function(){var __vite_style__=document.createElement('style');__vite_style__.innerHTML="._videoItem_1azie_1{border-radius:.21333rem;background-color:#fff;overflow:hidden;width:4.48rem;margin-bottom:.32rem}._videoItem_1azie_1 ._viCover_1azie_8{height:2.50667rem;width:100%;vertical-align:middle}._videoItem_1azie_1 ._viSection_1azie_13{padding:.21333rem .32rem .34667rem}._videoItem_1azie_1 ._viTitle_1azie_16{font-size:.37333rem;color:#1a1a1a;line-height:.53333rem}._videoItem_1azie_1 ._viUserNum_1azie_21{padding-top:.10667rem;color:#ff802c;font-size:.32rem}._videoItem_1azie_1 ._viPrice_1azie_26{padding-top:.26667rem;font-size:.37333rem;color:#999}._videoItem_1azie_1 ._viPrice_1azie_26 ._priceNum_1azie_31{color:red;font-size:.48rem;font-weight:700}._videoItem_1azie_1 ._viPrice_1azie_26 ._priceNum_1azie_31 i{font-size:.4rem;font-style:normal}._videoItem_1azie_1 ._viPrice_1azie_26 ._label_1azie_40{padding-left:.21333rem}._videoItem_1azie_1 ._subjectName_1azie_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(__vite_style__);System.register(['./vendor-legacy.09f20d09.js','./index-legacy.f25f109a2.js'],function(exports){'use strict';var defineComponent,createVNode,Image,Fragment,createTextVNode;return{setters:[function(module){defineComponent=module.d;createVNode=module.a;Image=module.I;Fragment=module.F;createTextVNode=module.j;},function(){}],execute:function execute(){var videoItem="_videoItem_1azie_1";var viCover="_viCover_1azie_8";var viSection="_viSection_1azie_13";var viTitle="_viTitle_1azie_16";var viUserNum="_viUserNum_1azie_21";var viPrice="_viPrice_1azie_26";var priceNum="_priceNum_1azie_31";var label="_label_1azie_40";var subjectName="_subjectName_1azie_43";var styles={videoItem:videoItem,viCover:viCover,viSection:viSection,viTitle:viTitle,viUserNum:viUserNum,viPrice:viPrice,priceNum:priceNum,label:label,subjectName:subjectName};var VideoItem=exports('V',defineComponent({name:'VideoItem',props:{item:Object,onClick:{type:Function,default:function _default(item){}}},render:function render(){var _this=this;var item=this.item;return createVNode("div",{"class":styles.videoItem,"onClick":function onClick(){_this.onClick(item);}},[createVNode("div",{"style":{position:'relative'}},[createVNode(Image,{"class":styles.viCover,"fit":"cover","src":item===null||item===void 0?void 0:item.lessonCoverUrl},null),createVNode("span",{"class":styles.subjectName},[item===null||item===void 0?void 0:item.lessonSubjectName])]),createVNode("div",{"class":styles.viSection},[createVNode("div",{"class":[styles.viTitle,'van-ellipsis']},[item===null||item===void 0?void 0:item.lessonName]),createVNode("div",{"class":styles.viPrice},[createVNode("span",{"class":styles.priceNum},[(item===null||item===void 0?void 0:item.lessonPrice)>0&&createVNode(Fragment,null,[createVNode("i",null,[createTextVNode("\uFFE5")]),item===null||item===void 0?void 0:item.lessonPrice]),(item===null||item===void 0?void 0:item.lessonPrice)<=0&&item.auditVersion!==0&&createVNode(Fragment,null,[createVNode("i",null,[createTextVNode("\uFFE5")]),createTextVNode("0")]),(item===null||item===void 0?void 0:item.lessonPrice)<=0&&item.auditVersion===0&&createVNode(Fragment,null,[createTextVNode("\u514D\u8D39")])]),createVNode("span",{"class":styles.label},[createTextVNode("/"),item===null||item===void 0?void 0:item.lessonCount,createTextVNode("\u8BFE\u65F6")])]),createVNode("div",{"class":styles.viUserNum},[item===null||item===void 0?void 0:item.countStudent,createTextVNode("\u4EBA\u5DF2"),(item===null||item===void 0?void 0:item.lessonPrice)<=0&&item.auditVersion===0?'领取':'购买'])])]);}}));}};});})();
