import{d as l,aD as c,a as e,K as n,j as u,k as r,I as m}from"./vendor.cd162bf7.js";/* empty css               */import{F as i}from"./favorite.cb69f4f9.js";var v="./assets/count.0cae50a7.svg";const p="_album_1cld5_1",b="_img_1cld5_8",d="_content_1cld5_31",f="_footer_1cld5_51",_="_icon_1cld5_63";var t={album:p,img:b,content:d,footer:f,icon:_},C=l({name:"AlbumFooter",props:{musicSheetCount:{type:Number,default:0},albumFavoriteCount:{type:Number,default:0}},setup(o){const{musicSheetCount:s,albumFavoriteCount:a}=c(o);return()=>e("footer",{class:t.footer},[e("div",null,[e(n,{class:t.icon,name:v},null),e("span",null,[s.value,u("\u9996")])]),e("div",null,[e(n,{class:t.icon,name:i},null),e("span",null,[a.value,u("\u4EBA\u6536\u85CF")])])])}}),h=l({name:"AlbumItem",props:{data:{type:Object,default:{}}},setup({data:o}){const s=r();return()=>e("div",{class:t.album,onClick:()=>s.push("/music-album-detail/"+o.id)},[e(m,{class:t.img,src:o.albumCoverUrl},null),e("div",{class:t.content},[e("h4",{class:"van-ellipsis"},[o.albumName]),e("p",{class:"van-multi-ellipsis--l3"},[o.albumDesc]),e(C,{musicSheetCount:o.musicSheetCount,albumFavoriteCount:o.albumFavoriteCount},null)])])}});export{h as I};
