import{p as n}from"./player.ee188b71.js";import{i as c}from"./icon.10668985.js";import{d as r,r as u,w as _,u as p,c as t,a as s,F as g}from"./index.2bf82915.js";const h="_isFull_e6xgh_1",B="_itemWrap_e6xgh_1",x="_detaile_e6xgh_12",f="_masker_e6xgh_21",v="_itemBottom_e6xgh_25",F="_detaileWrap_e6xgh_45",y="_showPaly_e6xgh_1",L="_detaileStudy_e6xgh_70",D="_detaileDot_e6xgh_84",S="_infoBottom_e6xgh_115",T="_course_e6xgh_122",W="_infoBottomL_e6xgh_127",w="_itemHead_e6xgh_132",R="_itemTitle_e6xgh_139",b="_itemBottomL_e6xgh_152",k="_line_e6xgh_169",C="_itemBottomR_e6xgh_180",e={isFull:h,itemWrap:B,detaile:x,masker:f,itemBottom:v,detaileWrap:F,showPaly:y,detaileStudy:L,detaileDot:D,infoBottom:S,course:T,infoBottomL:W,itemHead:w,itemTitle:R,itemBottomL:b,line:k,itemBottomR:C},j=""+new URL("detaile.98813a45.png",import.meta.url).href,N=r({name:"albumItem",emits:["getDetail"],props:{detail:{type:Object,default:{auditStatus:"",endTime:"",lessonSubject:"",order:"",orderNo:"",page:0,rows:0,search:"",sort:"",startTime:"",userId:0,videoLessonGroupId:0}},isFull:{type:Boolean,default:!1}},setup(i,a){const o=u({detail:i.detail,isFull:i.isFull});_(()=>i.detail,d=>{o.detail=d});const l=p(),m=()=>{o.isFull&&a.emit("getDetail",o.detail.id),l.push({path:"/videoDetail",query:{id:o.detail.id}})};return()=>t(g,null,[t("div",{class:[e.itemWrap,o.isFull?e.isFull:""],onClick:m},[t("div",{class:e.detaileWrap},[t("div",{class:e.masker},[t("img",{src:n,alt:""},null)]),t("p",{class:e.detaileStudy},[t("span",{class:e.detaileDot},null),o.detail.countStudent,s("\u4EBA\u5728\u5B66")]),t("img",{style:{objectFit:"cover"},src:o.detail.lessonCoverUrl?o.detail.lessonCoverUrl:j,alt:"",class:e.detaile},null)]),t("div",{class:e.infoBottom},[t("div",{class:e.infoBottomL},[t("img",{src:c,class:e.itemHead,alt:""},null),t("span",{class:e.itemTitle},[o.detail.username])]),t("span",{class:e.course},[o.detail.lessonCount,s("\u8BFE\u65F6")])]),t("div",{class:e.itemBottom},[t("div",{class:e.itemBottomL},[t("span",{class:e.itemTitle},[o.detail.lessonSubjectName])]),t("div",{class:e.itemBottomR},[s("\u4E86\u89E3\u66F4\u591A")])])])])}});export{j as d,N as v};
