import{p as n}from"./player.8b5ee2bb.js";import{i as c}from"./icon.6e6f91da.js";import{d as r,r as u,a0 as _,g,c as e,a as o,F as p}from"./vendor.63aa8b19.js";const h="_isFull_e6xgh_1",B="_itemWrap_e6xgh_1",v="_detaile_e6xgh_12",x="_masker_e6xgh_21",f="_itemBottom_e6xgh_25",F="_detaileWrap_e6xgh_45",y="_showPaly_e6xgh_1",b="_detaileStudy_e6xgh_70",D="_detaileDot_e6xgh_84",L="_infoBottom_e6xgh_115",S="_course_e6xgh_122",T="_infoBottomL_e6xgh_127",W="_itemHead_e6xgh_132",j="_itemTitle_e6xgh_139",k="_itemBottomL_e6xgh_152",w="_line_e6xgh_169",C="_itemBottomR_e6xgh_180";var t={isFull:h,itemWrap:B,detaile:v,masker:x,itemBottom:f,detaileWrap:F,showPaly:y,detaileStudy:b,detaileDot:D,infoBottom:L,course:S,infoBottomL:T,itemHead:W,itemTitle:j,itemBottomL:k,line:w,itemBottomR:C},E="./assets/detaile.98813a45.png",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(a,i){const s=u({detail:a.detail,isFull:a.isFull});_(()=>a.detail,m=>{s.detail=m});const l=g(),d=()=>{s.isFull&&i.emit("getDetail",s.detail.id),l.push({path:"/videoDetail",query:{id:s.detail.id}})};return()=>e(p,null,[e("div",{class:[t.itemWrap,s.isFull?t.isFull:""],onClick:d},[e("div",{class:t.detaileWrap},[e("div",{class:t.masker},[e("img",{src:n,alt:""},null)]),e("p",{class:t.detaileStudy},[e("span",{class:t.detaileDot},null),s.detail.countStudent,o("\u4EBA\u5B66\u4E60")]),e("img",{style:{objectFit:"cover"},src:s.detail.lessonCoverUrl?s.detail.lessonCoverUrl:E,alt:"",class:t.detaile},null)]),e("div",{class:t.infoBottom},[e("div",{class:t.infoBottomL},[e("img",{src:c,class:t.itemHead,alt:""},null),e("span",{class:t.itemTitle},[s.detail.username])]),e("span",{class:t.course},[s.detail.lessonCount,o("\u8BFE\u65F6")])]),e("div",{class:t.itemBottom},[e("div",{class:t.itemBottomL},[e("span",{class:t.itemTitle},[s.detail.lessonSubjectName])]),e("div",{class:t.itemBottomR},[o("\u4E86\u89E3\u66F4\u591A")])])])])}});export{E as d,N as v};
