import{h as r}from"./hold.c2fff6ac.js";import{l as u,s as c}from"./lineStart.fb76406f.js";import{p as d}from"./player.8b5ee2bb.js";import{d as n,r as h,S as _,f as p,c as t,a as o,F as b}from"./vendor.9f3c6e4d.js";const v="_itemWrap_1h7x4_1",f="_hold_1h7x4_7",g="_masker_1h7x4_11",B="_showPaly_1h7x4_1",x="_startImage_1h7x4_64",C="_itemBottom_1h7x4_88",y="_itemBottomR_1h7x4_97",F="_itemBottomL_1h7x4_100";var e={itemWrap:v,hold:f,masker:g,showPaly:B,startImage:x,itemBottom:C,itemBottomR:y,itemBottomL:F},k=n({name:"albumItem",props:{detail:{type:Object,default:{albumCoverUrl:"",albumDesc:"",albumFavoriteCount:0,albumName:"",albumStatus:0,albumTag:"",auditVersion:0,createBy:0,createTime:"",delFlag:null,hotFlag:null,id:0,musicSheetCount:0,musicTagNames:"",sortNumber:0,topFlag:null,updateBy:34,updateTime:"",favorite:0}}},setup(l){const a=h({detail:l.detail});_(()=>l.detail,i=>{a.detail=i});const m=p(),s=()=>{m.push({path:"/albumDetail",query:{id:a.detail.id}})};return()=>t(b,null,[t("div",{class:e.itemWrap,onClick:()=>{s()}},[t("img",{class:e.startImage,src:a.detail.favorite?u:c,alt:""},null),t("div",{class:e.hold},[t("div",{class:e.masker},[t("img",{src:d,alt:""},null)]),t("img",{src:a.detail.albumCoverUrl?a.detail.albumCoverUrl:r,alt:""},null)]),t("h2",null,[a.detail.albumName]),t("div",{class:e.itemBottom},[t("div",{class:e.itemBottomL},[t("span",null,[a.detail.musicSheetCount,o("\u9996")])]),t("div",{class:e.itemBottomR},[t("span",null,[a.detail.albumFavoriteCount,o("\u6536\u85CF")])])])])])}});export{k as a};
