System.register(["./index-legacy.7ce20967.js"],(function(e){"use strict";var t,i,s,n;return{setters:[function(e){t=e.d,i=e.c,s=e.bK,n=e.a}],execute:function(){e("I",t({name:"item",props:{item:{type:Object,default:function(){return{}}}},render:function(){var e=this,t=this.item;return i("div",{class:"border border-[#E0E0E0] box-border rounded-[10px] w-[218px] m-auto overflow-hidden relative transition-all cursor-pointer",onClick:function(){console.log(t),"video"===t.type&&e.$router.push({path:"/videoDetail",query:{id:t.id}})}},[i("div",{class:"relative"},[i(s,{class:"w-full h-[122px] align-middle",fit:"cover",src:t.backgroundPic},null),i("div",{class:"text-sm text-[#52FFDC] h-7 leading-7 px-3 flex items-center justify-end absolute left-0 right-0 bottom-0 bg-black/60"},[i("i",{class:"w-1 h-1 bg-[#52FFDC] rounded-full mr-1.5 inline-block"},null),t.studentCount,n("人已购买")])]),i("div",{class:"text-base px-2.5 pt-2 text-[#666666] leading-none font-semibold whitespace-nowrap overflow-hidden text-ellipsis"},[t.courseGroupName]),t.courseStartTime&&i("p",{class:"text-[#999] text-xs px-2.5 leading-none pt-1.5"},[n("开课时间："),t.courseStartTime]),i("div",{class:"mx-2.5 pt-1.5 pb-2 flex items-center justify-between"},[i("div",{class:"text-xl text-[#F90000] font-semibold leading-none"},[i("span",{class:"text-sm leading-7"},[n("￥")]),t.coursePrice]),i("div",{class:"text-base text-[#FF5F22] leading-none"},[t.courseNum,n("课时")])])])}}))}}}));
