import{d as i,c as t,bD as o,a as s}from"./index.25c29239.js";const l=i({name:"item",props:{item:{type:Object,default:()=>({})}},render(){const e=this.item;return t("div",{class:"border border-[#E0E0E0] box-border rounded-[10px] w-[218px] m-auto overflow-hidden relative transition-all cursor-pointer",onClick:()=>{console.log(e),e.type==="video"&&this.$router.push({path:"/videoDetail",query:{id:e.id}}),e.type==="live"&&e.status==="CANCEL"&&this.$router.push({path:"/userInfo/liveOperation",query:{type:"edit",groupId:e.courseGroupId}})}},[t("div",{class:"relative"},[t(o,{class:"w-full h-[122px] align-middle",fit:"cover",src:e.backgroundPic},null),t("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"},[t("i",{class:"w-1 h-1 bg-[#52FFDC] rounded-full mr-1.5 inline-block"},null),e.studentCount,s("\u4EBA\u5DF2\u8D2D\u4E70")])]),t("div",{class:"text-base px-2.5 pt-2 text-[#666666] leading-none font-semibold whitespace-nowrap overflow-hidden text-ellipsis"},[e.courseGroupName]),e.courseStartTime&&t("p",{class:"text-[#999] text-xs px-2.5 leading-none pt-1.5"},[s("\u5F00\u8BFE\u65F6\u95F4\uFF1A"),e.courseStartTime]),t("div",{class:"mx-2.5 pt-1.5 pb-2 flex items-center justify-between"},[t("div",{class:"text-xl text-[#F90000] font-semibold leading-none"},[t("span",{class:"text-sm leading-7"},[s("\uFFE5")]),e.coursePrice]),t("div",{class:"text-base text-[#FF5F22] leading-none"},[e.courseNum,s("\u8BFE\u65F6")])])])}});export{l as I};
