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