import{d as m,j as e,z as i,M as r,Z as c}from"./index.394decd7.js";import{G as n,a as u}from"./index.9849c993.js";import{I as d}from"./index.ae2dd816.js";import{I as _}from"./icon-xin.62588855.js";const p="_theMusicGrid_10oqo_1",f="_item_10oqo_12",g="_title_10oqo_15",y="_des_10oqo_24",b="_imgWrap_10oqo_29",v="_albumType_10oqo_36",G="_model_10oqo_49",T="_num_10oqo_64";var t={theMusicGrid:p,item:f,title:g,des:y,imgWrap:b,albumType:v,model:G,num:T};function h(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!c(o)}var N=m({name:"TheMusicGrid",props:{isHiddenTag:{type:Boolean,default:!1},list:{type:Array,default:()=>[]}},emits:["goto"],setup(o,{emit:l}){return()=>{let a;return e("div",{class:t.theMusicGrid},[e(n,{border:!1,columnNum:3},h(a=o.list.map(s=>e(u,null,{default:()=>[e("div",{class:t.item,onClick:()=>l("goto",s)},[e("div",{class:t.imgWrap},[s.paymentType==="CHARGE"&&!o.isHiddenTag&&e("span",{class:t.albumType},[i("\u4ED8\u8D39")]),e(d,{class:t.image,width:"100%",height:"100%",fit:"cover",src:s.albumCoverUrl},null),e("div",{class:t.model},[e(r,{name:_},null),e("span",{class:t.num},[s.albumFavoriteCount,i("\u4EBA")])])]),e("div",{class:t.title},[s.albumName])])]})))?a:{default:()=>[a]})])}}});export{N as M};