import{p as n}from"./player.8b5ee2bb.js";import{i as c}from"./icon.6e6f91da.js";import{d as r,r as u,S as _,f as p,c as e,a as i,F as g}from"./vendor.f5bf56e4.js";const h="_isFull_e6xgh_1",B="_itemWrap_e6xgh_1",f="_detaile_e6xgh_12",v="_masker_e6xgh_21",x="_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:f,masker:v,itemBottom:x,detaileWrap:F,showPaly:y,detaileStudy:b,detaileDot:D,infoBottom:L,course:S,infoBottomL:T,itemHead:W,itemTitle:j,itemBottomL:k,line:w,itemBottomR:C},R="./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(o,a){const s=u({detail:o.detail,isFull:o.isFull});_(()=>o.detail,m=>{s.detail=m});const l=p(),d=()=>{s.isFull&&a.emit("getDetail",s.detail.id),l.push({path:"/videoDetail",query:{id:s.detail.id}})};return()=>e(g,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,i("\u4EBA\u5728\u5B66")]),e("img",{style:{objectFit:"cover"},src:s.detail.lessonCoverUrl?s.detail.lessonCoverUrl:R,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,i("\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},[i("\u4E86\u89E3\u66F4\u591A")])])])])}});export{R as d,N as v};