index.87de90a8.js 9.2 KB

1
  1. import{d as C,c as A,T as p,b as g,a as F}from"./index.3718c0a8.js";import{c as I,t as N,m as E,N as K,I as u,w as h,C as d}from"./index.2b675c4f.js";const[b,r]=I("tag"),z={size:String,mark:Boolean,show:N,type:E("default"),color:String,plain:Boolean,round:Boolean,textColor:String,closeable:Boolean};var D=C({name:b,props:z,emits:["close"],setup(t,{slots:s,emit:n}){const e=a=>{a.stopPropagation(),n("close",a)},l=()=>t.plain?{color:t.textColor||t.color,borderColor:t.color}:{color:t.textColor,background:t.color},m=()=>{var a;const{type:v,mark:B,plain:f,round:Q,size:c,closeable:S}=t,i={mark:B,plain:f,round:Q};c&&(i[c]=c);const R=S&&A(u,{name:"cross",class:[r("close"),K],onClick:e},null);return A("span",{style:l(),class:r([i,v])},[(a=s.default)==null?void 0:a.call(s),R])};return()=>A(p,{name:t.closeable?"van-fade":void 0},{default:()=>[t.show?m():null]})}});const q=h(D);const w="_theSong_74tvl_1",H="_item_74tvl_7",X="_play_74tvl_16",x="_iconFine_74tvl_19",J="_iconAlbum_74tvl_25",L="_content_74tvl_31",P="_top_74tvl_34",U="_tag_74tvl_39",V="_user_74tvl_44",G="_name_74tvl_48",k="_tags_74tvl_58",y="_title_74tvl_69",Y="_singer_74tvl_76",o={theSong:w,item:H,play:X,iconFine:x,iconAlbum:J,content:L,top:P,tag:U,user:V,name:G,tags:k,title:y,singer:Y},M="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAACatJREFUeF7tXWuMVNUd//3PfeyyLDOzL5GHu0p4SxcfG2qLopi0VQo2bWNAQbQB04QmDeiHYj/Y9JGAHwp+skmrqRpqJSa1tRaamEirpTa2PqA0BSQ+aJMa2cfswgpzH+ffnNmddWfY3XndmXNn9t6vc8//9bvnzDn/838QQvqcY55lAYul4ywlUywm5iVgdDFxOxitIGoEc0NafKIUmC+B0E9MvSB8xESn2JOnhW2fdNF7uoM6zodRVQq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ZBNzSL9h+cq4+ciPLpGmvgPLsR4iJDlgz1nmvPi4gyrRWnGC4lr3/i+bSJ6DMmrl+/GXPDZ5urdgPYBfYoT4nWh/cD7+8P4ukm+EktzAdrM1cP8F6q7GSVnOqiJmO6Qsu4CQQtRPxW3VZG5Vvqie/C3vq+XKLwzi2g4DtYPLqc197NRF1AfgCQ9Ln9SsKxx3uAf1TkIfM2LPm1Q4HciEhgxxIZgnKTkQO9LEEOxywSRLOGoJ6qmyZ2yb80/YvGvjXUKbmNZgAAAAASUVORK5CYII=",j=C({name:"TheSong",props:{list:{type:Array,default:()=>[]}},setup(t){const s=F(),n={FREE:{color:"#01B84F",text:"\u514D\u8D39"},VIP:{color:"#CD863E",text:"\u4F1A\u5458"},CHARGE:{color:"#3591CE",text:"\u70B9\u64AD"}};return()=>A("div",{class:o.theSong},[t.list.map(e=>A("div",{class:o.item,onClick:()=>s.push({path:"/musicDetail",query:{id:e.id}})},[A("div",{class:o.content},[A("div",{class:o.top},[A(q,{style:{color:n[e.chargeType].color},class:o.tag,type:"success",plain:!0},{default:()=>[n[e.chargeType].text]}),e.exquisiteFlag===1&&A(d,{src:T,class:o.iconFine},null),e.albumNums>0&&A(d,{src:Z,class:o.iconAlbum},null),A("span",{class:[o.title,"van-ellipsis"]},[e.musicSheetName]),A("span",{class:[o.singer,"van-ellipsis"]},[g("-"),e.composer])]),A("div",{class:o.user},[e.addName?A("div",{class:o.name},[g("\u4E0A\u4F20\u8005\uFF1A"),e.addName]):A("div",{class:o.name},[g("\u4F5C\u66F2\uFF1A"),e.composer]),A("div",{class:o.tags},[e==null?void 0:e.subjectNames.split(",").map(l=>A("span",null,[l]))])])]),A("div",{style:o.play},[A(u,{name:M,size:28},null)])]))])}});export{j as T};