import{T as p}from"./index.0f04985b.js";import{T as g}from"./index.a02fe9ea.js";import{o as A}from"./oStart.17994e8a.js";import{T as c,r as h}from"./request.08b2dc2e.js";import{T as d}from"./index.aa12cb22.js";import{d as _,w as b,k as C,D as f,c as s,O as i,W as T,P as v,u as w}from"./index.fdb8061e.js";import{T as N,H as y}from"./index.f8123e17.js";import"./index.555136dd.js";import"./index.d6266256.js";import"./index.59f99230.js";import{T as n}from"./index.fa53e399.js";import"./icon-search.f54aed7d.js";import"./icon-title.a92d08bc.js";import"./index.15b215d0.js";import"./_commonjsHelpers.c10bf6cb.js";const O="_header_2p3h5_1",Y="_musicContent_2p3h5_8",B="_bgImg_2p3h5_13",I="_bg_2p3h5_13",L="_alumWrap_2p3h5_27",z="_img_2p3h5_31",R="_alumTitle_2p3h5_39",S="_alumDes_2p3h5_44",V="_des_2p3h5_47",x="_tags_2p3h5_50",D="_tag_2p3h5_50",E="_alumCollect_2p3h5_60",M="_right_2p3h5_73",P="_alumnContainer_2p3h5_76",G="_alumnList_2p3h5_82",t={header:O,musicContent:Y,bgImg:B,bg:I,alumWrap:L,img:z,alumTitle:R,alumDes:S,des:V,tags:x,tag:D,alumCollect:E,right:M,alumnContainer:P,alumnList:G},Q="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAA0xJREFUSEvtlk1sVGUUhp/3zl9J1IKIphpcGDUmA1RbYWcsiTEggjPFMWJM3BhwZUyMP5DY+agbURMJO0hYGdlMpTVGWLipuINMI9OS4AaCC9NYaOpPrG3vvcfcO0NDyjg/bY0b7+5+Ofc857znfOdc8S881ueSrAuykOgFesB6QVlgSCvlWe/+FBvvz+KpN3ZskXO2AB11fPttAa3g0gRswsIo4h4ggmwBZRoEPg82C+pEhA2Bttc9hoVPx84tyoBNYE2cMwEqI5XBH2N2pkLm7o8QbzUE2t7BJwiD80CyfvQ2hzSOqYwxBkGZVGJcJTe/1N5yxc+aA3MD+5BO1T7+C6gAY3Hk8sqsv29CJw4stNID7QMVbtPpDy+04ryeTftASzypkYHyfw60nccypCbXkkh34gedpIKA6XRFo86/NbgVZWj9h7oItZEwEbX57XdtwbugM25yVYAGYs/AcwjvNnmDcA5PU2QuV1QqBasCjJzY8x90k7ANoN8xm8FP/sqfzGjURZ1c91mRpMtpnP+BsWp266Rp4x7aTncXHXYQ6AfuBa7UytDTeJYuA2iF9zrx13wPtrlurRtti+VkaP3uC8xeqcJ0EcIfwHsG7IHq0ZL1FE+OzHQXKa6zEO5eHN4tSGp7jtxJYvYGWAr0Ld3skHOh7Xp/HemOS2BdYBbvQ8sfXA+ZT4CXwdaARRf3CuiRakGbz1LLu2hXjlftvdc1Ujx5U1bLu1Ng+0AmK7g78O276r/HP93cloBRg0yCCXFCpw8fiNmFQgI/WwbrBrshy7lPkb1dQ51DGia0rYhaLVrLsKqUOwf2VCQd6CTYedCLwLO1Gh6V5YrXEA/GCzaZ7VHppXgOWr74OfBqVSJt14gbbTZlrOAexrdob66tY1thfq5Pli/OAWnQcQ27NxZ1zxXfRRyJ30Pt0lfuTDNgHNsLg5vxgmNg0b+QMHzEEMnMmyodmoqAPwKPIq4yq8d11v0Wb4V8MQLsAHxMGzTiZloBLga8291DR3zxf1LJ/XHzXJYfeAf0ce0g6syzYNuArbWzIQ0fLrQDa2Qrc87jon1Ty2aJrS7h06ev3fVVA8a67z+eYurnqFNfAx4CfgF9SZJBldz0asEiP38DJuSfuh82O50AAAAASUVORK5CYII=",es=_({name:"musicAlumn",setup(){const u=w(),m=v();b(u,()=>{window.scrollTo({top:0}),r()});const a=C({}),r=async()=>{var o,e;n({type:"loading",duration:0,message:"\u52A0\u8F7D\u4E2D"});try{const{data:l}=await h.post("/api-website/open/music/album/detail",{data:{id:u.query.id,page:1,rows:4}});Object.assign(a,l,{musicTagNames:((o=l==null?void 0:l.musicTagNames)==null?void 0:o.split(","))||[],musicSheetList:((e=l.musicSheetList)==null?void 0:e.rows)||[]})}catch{}n.clear()};return f(()=>{r()}),()=>{var o;return s(T,null,[s(p,{class:t.header,theme:"dark"},null),s("div",{class:t.musicContent},[s("img",{class:t.bgImg,src:a.albumCoverUrl},null),s("div",{class:t.bg},[s("div",{class:t.alumWrap},[s("div",{class:t.img},[s(g,{src:a.albumCoverUrl},null)]),s("div",{class:t.alumDes},[s("div",{class:[t.alumTitle,"van-ellipsis"]},[a.albumName]),s("div",{class:t.tags},[(o=a.musicTagNames)==null?void 0:o.map(e=>s("span",{class:t.tag},[e]))]),s("div",{class:[t.des,"van-multi-ellipsis--l3"]},[a.albumDesc])])]),s("div",{class:t.alumCollect},[s("img",{src:Q},null),s("span",null,[i("\u5171"),a.musicSheetCount,i("\u9996\u66F2\u76EE")]),s("img",{class:t.right,src:A},null),s("span",null,[a.albumFavoriteCount,i("\u4EBA\u6536\u85CF")])])])]),s("div",{class:t.alumnContainer},[s("div",{class:t.alumnList},[s(c,{title:"\u66F2\u76EE\u5217\u8868",isMore:!1},null),s(d,{list:a.musicSheetList},null)]),s(c,{title:"\u76F8\u5173\u4E13\u8F91",onMore:()=>{m.push({path:"/search"})}},null),s(N,{list:a.relatedMusicAlbum,onGoto:e=>m.push({path:"/musicAlum",query:{id:e.id}})},null),s(y,null,null)])])}}});export{es as default};
