1 |
- import{d as m,j as e,z as i,M as r,Z as c}from"./index.e6d6174e.js";import{G as n,a as u}from"./index.c3601b28.js";import{I as d}from"./index.67c54471.js";import{I as _}from"./icon-xin.df8ab2d7.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};
|