import{h as r,s as u}from"./pan.47bc7f75.js";import{s as n}from"./start.1edc8c81.js";import{d as c,r as d,P as p,f as v,c as t,F as _,a as m}from"./vendor.925c905e.js";const b="_itemWrap_1y65g_1",g="_hold_1y65g_6",B="_itemBottom_1y65g_39",h="_itemBottomL_1y65g_48",C="_itemBottomR_1y65g_52";var e={itemWrap:b,hold:g,itemBottom:B,itemBottomL:h,itemBottomR:C},N=c({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:""}}},setup(l){const a=d({detail:l.detail});p(()=>l.detail,s=>{a.detail=s});const o=v(),i=()=>{o.push({path:"/albumDetail",query:{id:a.detail.id}})};return()=>t(_,null,[t("div",{class:e.itemWrap,onClick:()=>{i()}},[t("div",{class:e.hold},[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("img",{src:u,alt:""},null),t("span",null,[a.detail.musicSheetCount,m("\u9996")])]),t("div",{class:e.itemBottomR},[t("img",{src:n,alt:""},null),t("span",null,[a.detail.albumFavoriteCount,m("\u6536\u85CF")])])])])])}});export{N as a};
