index.e63c66eb.js 6.5 KB

1
  1. import{T as g}from"./index.c3d356e5.js";import{T as p}from"./index.62d4df56.js";import{T as n,r as b}from"./request.a37dab06.js";import{T as z}from"./index.7fd457c6.js";import{d as f,w as h,n as T,o as B,r as d,K as v,c as s,b as m,a as C,u as w}from"./index.40c79699.js";import{T as W,H as k}from"./index.ea70daa8.js";import"./icon-search.f54aed7d.js";import"./_commonjsHelpers.b6651b10.js";import"./index.b406ba8b.js";import"./index.cc210914.js";const S="_musicAlbum_1qzd8_1",V="_header_1qzd8_1",X="_bgImg_1qzd8_11",q="_musicContent_1qzd8_20",E="_bg_1qzd8_11",Q="_alumWrap_1qzd8_34",Y="_img_1qzd8_38",L="_alumTitle_1qzd8_46",N="_alumDes_1qzd8_51",O="_des_1qzd8_54",x="_tags_1qzd8_57",G="_tag_1qzd8_57",R="_alumCollect_1qzd8_67",y="_right_1qzd8_80",P="_alumnContainer_1qzd8_83",M="_alumnList_1qzd8_89",t={musicAlbum:S,header:V,bgImg:X,musicContent:q,bg:E,alumWrap:Q,img:Y,alumTitle:L,alumDes:N,des:O,tags:x,tag:G,alumCollect:R,right:y,alumnContainer:P,alumnList:M},I="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAA0xJREFUSEvtlk1sVGUUhp/3zl9J1IKIphpcGDUmA1RbYWcsiTEggjPFMWJM3BhwZUyMP5DY+agbURMJO0hYGdlMpTVGWLipuINMI9OS4AaCC9NYaOpPrG3vvcfcO0NDyjg/bY0b7+5+Ofc857znfOdc8S881ueSrAuykOgFesB6QVlgSCvlWe/+FBvvz+KpN3ZskXO2AB11fPttAa3g0gRswsIo4h4ggmwBZRoEPg82C+pEhA2Bttc9hoVPx84tyoBNYE2cMwEqI5XBH2N2pkLm7o8QbzUE2t7BJwiD80CyfvQ2hzSOqYwxBkGZVGJcJTe/1N5yxc+aA3MD+5BO1T7+C6gAY3Hk8sqsv29CJw4stNID7QMVbt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OwuZCaheT1srRXSDwMYF+4XnZL372bmGiKSVH46EXW4rlswkZO9w84HWlpaJjmOs4uIPjHkuqXVLV/weSJ6uViwyWcmEiSZ+fHwBucDcHLXEdGvq6qqFg43PxuWgCjt6uqK9Pb21jOzlJkRpdSB8+fPv1xonFrKY89dI3VvNptdYq2do5QSE3x9ypQpXfX19WJmRaUkAsMpuZr//xcGqzvP1fTkPQAAAABJRU5ErkJggg==",as=f({name:"musicAlumn",setup(){const c=w(),o=C();h(c,()=>{window.scrollTo({top:0}),i()});const a=T({}),i=async()=>{var e,l;try{const{data:u}=await b.post("/api-website/open/music/album/detail",{data:{id:c.query.id,page:1,rows:4}});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{}};B(()=>{i()});const r=d(!0),A=d(0);return v("scroll",()=>{const e=document.body.scrollTop||document.documentElement.scrollTop;r.value=!(e>55),A.value=e/55}),()=>{var e;return s("div",{class:t.musicAlbum},[s(g,{style:{background:`rgba(255,255,255,${A.value})`},class:t.header,theme:r.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},[s(p,{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:I},null),s("span",null,[m("\u5171"),a.musicSheetCount,m("\u9996\u66F2\u76EE")]),s("img",{class:t.right,src:Z},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(z,{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{as as default};