1 |
- !function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return r};var r={},n=Object.prototype,i=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(C){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof h?e:h,o=Object.create(i.prototype),a=new E(n||[]);return o._invoke=function(t,e,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return j()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var c=x(a,r);if(c){if(c===m)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=f(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===m)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,a),o}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(C){return{type:"throw",arg:C}}}r.wrap=s;var m={};function h(){}function d(){}function p(){}var y={};l(y,a,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(O([])));v&&v!==n&&i.call(v,a)&&(y=v);var _=p.prototype=h.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(e,r){function n(o,a,c,u){var l=f(e[o],e,a);if("throw"!==l.type){var s=l.arg,m=s.value;return m&&"object"==t(m)&&i.call(m,"__await")?r.resolve(m.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):r.resolve(m).then((function(t){s.value=t,c(s)}),(function(t){return n("throw",t,c,u)}))}u(l.arg)}var o;this._invoke=function(t,e){function i(){return new r((function(r,i){n(t,e,r,i)}))}return o=o?o.then(i,i):i()}}function x(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return m;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var n=f(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,m;var i=n.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,m):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,m)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function O(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:j}}function j(){return{value:void 0,done:!0}}return d.prototype=p,l(_,"constructor",p),l(p,"constructor",d),d.displayName=l(p,u,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,u,"GeneratorFunction")),t.prototype=Object.create(_),t},r.awrap=function(t){return{__await:t}},b(w.prototype),l(w.prototype,c,(function(){return this})),r.AsyncIterator=w,r.async=function(t,e,n,i,o){void 0===o&&(o=Promise);var a=new w(s(t,e,n,i),o);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(_),l(_,u,"Generator"),l(_,a,(function(){return this})),l(_,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},r.values=O,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(c&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;L(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),m}},r}function r(t,e,r,n,i,o,a){try{var c=t[o](a),u=c.value}catch(l){return void r(l)}c.done?e(u):Promise.resolve(u).then(n,i)}var n=document.createElement("style");n.innerHTML="._header_5myni_1{position:fixed;top:0;left:0;right:0;z-index:100}._bgImg_5myni_8{position:absolute;left:0;top:0;width:100%;height:7.06667rem;object-fit:cover;filter:blur(.26667rem)}._musicContent_5myni_17{position:relative;height:7.06667rem;padding-top:1.46667rem;z-index:10;background-color:rgba(0,0,0,.6);backdrop-filter:blur(.53333rem);-webkit-backdrop-filter:blur(.53333rem)}._bg_5myni_8{position:relative;height:100%;padding:.42667rem}._alumWrap_5myni_31{display:flex;align-items:center}._alumWrap_5myni_31 ._img_5myni_35{width:3.06667rem;height:3.06667rem;flex-shrink:0;border-radius:.16rem;overflow:hidden;margin-right:.37333rem}._alumWrap_5myni_31 ._alumTitle_5myni_43{font-size:.48rem;font-weight:500;color:#fff}._alumWrap_5myni_31 ._alumDes_5myni_48{width:calc(100% - 3.44rem)}._alumWrap_5myni_31 ._alumDes_5myni_48 ._des_5myni_51{color:#999}._tags_5myni_54{margin:.16rem -.05333rem .64rem}._tags_5myni_54 ._tag_5myni_54{margin:0 .05333rem;padding:.05333rem .16rem;color:#000;background-color:#718a93;border-radius:.53333rem}._alumCollect_5myni_64{display:flex;align-items:center;padding-top:.53333rem;color:#999;font-size:.37333rem}._alumCollect_5myni_64>img{display:inline-block;width:.53333rem;height:.53333rem;margin-right:.16rem}._alumCollect_5myni_64 ._right_5myni_77{margin-left:.69333rem}._alumnContainer_5myni_80{position:relative;padding:0 .42667rem;margin-top:-.42667rem;z-index:10}._alumnContainer_5myni_80 ._alumnList_5myni_86{padding:0 .32rem;border-radius:.16rem;background-color:#fff}\n",document.head.appendChild(n),System.register(["./index-legacy.ae4e6208.js","./index-legacy.e6edd5c6.js","./oStart-legacy.e936d59b.js","./request-legacy.d0700b6e.js","./index-legacy.49d57fea.js","./index-legacy.6f7b0e85.js","./index-legacy.9ab204ed.js","./icon-search-legacy.c4ede18b.js","./index-legacy.c39804f1.js","./index-legacy.9260a104.js","./index-legacy.fe6d6b3c.js","./_commonjsHelpers-legacy.c51f5c8d.js"],(function(t){"use strict";var n,i,o,a,c,u,l,s,f,m,h,d,p,y,g,v,_,b,w;return{setters:[function(t){n=t.T},function(t){i=t.T},function(t){o=t.o},function(t){a=t.T,c=t.r},function(t){u=t.T},function(t){l=t.d,s=t.w,f=t.k,m=t.G,h=t.r,d=t.F,p=t.c,y=t.V,g=t.J,v=t.W,_=t.u},function(t){b=t.T,w=t.H},function(){},function(){},function(){},function(){},function(){}],execute:function(){var x="_header_5myni_1",A="_bgImg_5myni_8",L="_musicContent_5myni_17",E="_bg_5myni_8",O="_alumWrap_5myni_31",j="_img_5myni_35",C="_alumTitle_5myni_43",k="_alumDes_5myni_48",N="_des_5myni_51",S="_tags_5myni_54",T="_tag_5myni_54",G="_alumCollect_5myni_64",Y="_right_5myni_77",z="_alumnContainer_5myni_80",P="_alumnList_5myni_86";t("default",l({name:"musicAlumn",setup:function(){var t=_(),l=v();s(t,(function(){window.scrollTo({top:0}),I()}));var B=f({}),I=function(){var n,i=(n=e().mark((function r(){var n,i,o,a;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c.post("/api-website/open/music/album/detail",{data:{id:t.query.id,page:1,rows:4}});case 3:o=e.sent,a=o.data,Object.assign(B,a,{musicTagNames:(null==a||null===(n=a.musicTagNames)||void 0===n?void 0:n.split(","))||[],musicSheetList:(null===(i=a.musicSheetList)||void 0===i?void 0:i.rows)||[]}),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),r,null,[[0,8]])})),function(){var t=this,e=arguments;return new Promise((function(i,o){var a=n.apply(t,e);function c(t){r(a,i,o,c,u,"next",t)}function u(t){r(a,i,o,c,u,"throw",t)}c(void 0)}))});return function(){return i.apply(this,arguments)}}();m((function(){I()}));var V=h(!0),J=h(0);return d("scroll",(function(){var t=document.body.scrollTop||document.documentElement.scrollTop;V.value=!(t>55),J.value=t/55})),function(){var t;return p(g,null,[p(n,{style:{background:"rgba(255,255,255,".concat(J.value,")")},class:x,theme:V.value?"dark":"light"},null),p("img",{class:A,src:B.albumCoverUrl},null),p("div",{class:L},[p("div",{class:E},[p("div",{class:O},[p("div",{class:j},[p(i,{src:B.albumCoverUrl},null)]),p("div",{class:k},[p("div",{class:[C,"van-ellipsis"]},[B.albumName]),p("div",{class:S},[null===(t=B.musicTagNames)||void 0===t?void 0:t.map((function(t){return p("span",{class:T},[t])}))]),p("div",{class:[N,"van-multi-ellipsis--l3"]},[B.albumDesc])])]),p("div",{class:G},[p("img",{src:"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="},null),p("span",null,[y("共"),B.musicSheetCount,y("首曲目")]),p("img",{class:Y,src:o},null),p("span",null,[B.albumFavoriteCount,y("人收藏")])])])]),p("div",{class:z},[p("div",{class:P},[p(a,{title:"曲目列表",isMore:!1},null),p(u,{list:B.musicSheetList},null)]),p(a,{title:"相关专辑",onMore:function(){l.push({path:"/search"})}},null),p(b,{list:B.relatedMusicAlbum,onGoto:function(t){return l.push({path:"/musicAlum",query:{id:t.id}})}},null),p(w,null,null)])])}}}))}}}))}();
|