index.39855235.js 6.6 KB

1
  1. import{T as p}from"./index.e6572137.js";import{T as b}from"./index.ef83260a.js";import{T as n,r as d}from"./request.a45d1be5.js";import{T}from"./index.87de90a8.js";import{d as f,w as h,n as B,o as C,r as g,K as v,c as s,b as m,a as z,u as W}from"./index.3718c0a8.js";import{T as w,H as k}from"./index.9600f46d.js";import"./icon-search.f54aed7d.js";import"./index.2b675c4f.js";import"./index.e03f08ff.js";import"./vue3-lottie.es.e34f7e89.js";const E="_musicAlbum_1m6b8_1",S="_header_1m6b8_1",V="_bgImg_1m6b8_11",X="_musicContent_1m6b8_20",y="_bg_1m6b8_11",Q="_alumWrap_1m6b8_34",N="_img_1m6b8_38",Y="_albumType_1m6b8_46",L="_alumTitle_1m6b8_59",O="_alumDes_1m6b8_64",x="_des_1m6b8_68",G="_tags_1m6b8_71",R="_tag_1m6b8_71",P="_alumCollect_1m6b8_82",M="_right_1m6b8_95",I="_alumnContainer_1m6b8_98",Z="_alumnList_1m6b8_104",t={musicAlbum:E,header:S,bgImg:V,musicContent:X,bg:y,alumWrap:Q,img:N,albumType:Y,alumTitle:L,alumDes:O,des:x,tags:G,tag:R,alumCollect:P,right:M,alumnContainer:I,alumnList:Z},D="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAA0xJREFUSEvtlk1sVGUUhp/3zl9J1IKIphpcGDUmA1RbYWcsiTEggjPFMWJM3BhwZUyMP5DY+agbURMJO0hYGdlMpTVGWLipuINMI9OS4AaCC9NYaOpPrG3vvcfcO0NDyjg/bY0b7+5+Ofc857znfOdc8S881ueSrAuykOgFesB6QVlgSCvlWe/+FBvvz+KpN3ZskXO2AB11fPttAa3g0gRswsIo4h4ggmwBZRoEPg82C+pEhA2Bttc9hoVPx84tyoBNYE2cMwEqI5XBH2N2pkLm7o8QbzUE2t7BJwiD80CyfvQ2hzSOqYwxBkGZVGJcJTe/1N5yxc+aA3MD+5BO1T7+C6gAY3H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tYyZawOz5Tpym6l1PNBEOwuZCaheT1srRXSDwMYF+4XnZL372bmGiKSVH46EXW4rlswkZO9w84HWlpaJjmOs4uIPjHkuqXVLV/weSJ6uViwyWcmEiSZ+fHwBucDcHLXEdGvq6qqFg43PxuWgCjt6uqK9Pb21jOzlJkRpdSB8+fPv1xonFrKY89dI3VvNptdYq2do5QSE3x9ypQpXfX19WJmRaUkAsMpuZr//xcGqzvP1fTkPQAAAABJRU5ErkJggg==",es=f({name:"musicAlumn",setup(){const c=W(),o=z();h(c,()=>{window.scrollTo({top:0}),A()});const a=B({}),A=async()=>{var e,l;try{const{data:u}=await d.post("/api-website/open/music/album/detail",{data:{id:c.query.id,page:1,relatedNum:6}});Object.assign(a,u,{musicTagNames:((e=u==null?void 0:u.musicTagNames)==null?void 0:e.split(","))||[],musicSheetList:((l=u.musicSheetList)==null?void 0:l.rows)||[]})}catch{}};C(()=>{A()});const i=g(!0),r=g(0);return v("scroll",()=>{const e=document.body.scrollTop||document.documentElement.scrollTop;i.value=!(e>55),r.value=e/55}),()=>{var e;return s("div",{class:t.musicAlbum},[s(p,{style:{background:`rgba(255,255,255,${r.value})`},class:t.header,theme:i.value?"dark":"light"},null),s("img",{class:t.bgImg,src:a.albumCoverUrl},null),s("div",{class:t.musicContent},[s("div",{class:t.bg},[s("div",{class:t.alumWrap},[s("div",{class:t.img},[a.paymentType==="CHARGE"&&s("span",{class:t.albumType},[m("\u4ED8\u8D39")]),s(b,{src:a.albumCoverUrl},null)]),s("div",{class:t.alumDes},[s("div",{class:[t.alumTitle,"van-ellipsis"]},[a.albumName]),s("div",{class:t.tags},[(e=a.musicTagNames)==null?void 0:e.map(l=>s("span",{class:t.tag},[l]))]),s("div",{class:[t.des,"van-multi-ellipsis--l3"]},[a.albumDesc])])]),s("div",{class:t.alumCollect},[s("img",{src:D},null),s("span",null,[m("\u5171"),a.musicSheetCount,m("\u9996\u66F2\u76EE")]),s("img",{class:t.right,src:F},null),s("span",null,[a.albumFavoriteCount,m("\u4EBA\u6536\u85CF")])])])]),s("div",{class:t.alumnContainer},[s("div",{class:t.alumnList},[s(n,{title:"\u66F2\u76EE\u5217\u8868",isMore:!1},null),s(T,{list:a.musicSheetList},null)]),s(n,{title:"\u76F8\u5173\u4E13\u8F91",onMore:()=>{o.push({path:"/search"})}},null),s(w,{list:a.relatedMusicAlbum,onGoto:l=>o.push({path:"/musicAlum",query:{id:l.id}})},null),s(k,null,null)])])}}});export{es as default};