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,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.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 o=e&&e.prototype instanceof h?e:h,i=Object.create(o.prototype),a=new E(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return j()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=x(a,r);if(c){if(c===y)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===y)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,a),i}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 y={};function h(){}function g(){}function d(){}var m={};l(m,a,(function(){return this}));var p=Object.getPrototypeOf,v=p&&p(p(O([])));v&&v!==n&&o.call(v,a)&&(m=v);var _=d.prototype=h.prototype=Object.create(m);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(i,a,c,u){var l=f(e[i],e,a);if("throw"!==l.type){var s=l.arg,y=s.value;return y&&"object"==t(y)&&o.call(y,"__await")?r.resolve(y.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):r.resolve(y).then((function(t){s.value=t,c(s)}),(function(t){return n("throw",t,c,u)}))}u(l.arg)}var i;this._invoke=function(t,e){function o(){return new r((function(r,o){n(t,e,r,o)}))}return i=i?i.then(o,o):o()}}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 y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var n=f(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,y;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,y):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}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(o.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 g.prototype=d,l(_,"constructor",d),l(d,"constructor",g),g.displayName=l(d,u,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,o,i){void 0===i&&(i=Promise);var a=new w(s(t,e,n,o),i);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)&&o.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 i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.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&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):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),y},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),y}},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 o=n.arg;L(r)}return o}}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),y}},r}function r(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(l){return void r(l)}c.done?e(u):Promise.resolve(u).then(n,o)}var n=document.createElement("style");n.innerHTML="._header_yngy1_1{position:fixed;top:0;left:0;right:0;z-index:100}._bgImg_yngy1_8{position:absolute;left:0;top:0;width:100%;height:7.06667rem;object-fit:cover;filter:blur(.26667rem)}._musicContent_yngy1_17{position:relative;height:7.06667rem;padding-top:1.46667rem;z-index:10;background-color:rgba(0,0,0,.6);backdrop-filter:blur(.26667rem);-webkit-backdrop-filter:blur(.26667rem)}._bg_yngy1_8{position:relative;height:100%;padding:.42667rem}._alumWrap_yngy1_31{display:flex;align-items:center}._alumWrap_yngy1_31 ._img_yngy1_35{width:3.06667rem;height:3.06667rem;flex-shrink:0;border-radius:.16rem;overflow:hidden;margin-right:.37333rem}._alumWrap_yngy1_31 ._alumTitle_yngy1_43{font-size:.48rem;font-weight:500;color:#fff}._alumWrap_yngy1_31 ._alumDes_yngy1_48{width:calc(100% - 3.44rem)}._alumWrap_yngy1_31 ._alumDes_yngy1_48 ._des_yngy1_51{color:#999}._tags_yngy1_54{margin:.16rem -.05333rem .64rem}._tags_yngy1_54 ._tag_yngy1_54{margin:0 .05333rem;padding:.05333rem .16rem;color:#000;background-color:#718a93;border-radius:.53333rem}._alumCollect_yngy1_64{display:flex;align-items:center;padding-top:.53333rem;color:#999;font-size:.37333rem}._alumCollect_yngy1_64>img{display:inline-block;width:.53333rem;height:.53333rem;margin-right:.16rem}._alumCollect_yngy1_64 ._right_yngy1_77{margin-left:.69333rem}._alumnContainer_yngy1_80{position:relative;padding:0 .42667rem;margin-top:-.42667rem;z-index:10}._alumnContainer_yngy1_80 ._alumnList_yngy1_86{padding:0 .32rem;border-radius:.16rem;background-color:#fff}\n",document.head.appendChild(n),System.register(["./index-legacy.b04d00c0.js","./index-legacy.dbc5e17c.js","./oStart-legacy.e936d59b.js","./request-legacy.d26212d7.js","./index-legacy.b9690bed.js","./index-legacy.ac1ab9cc.js","./index-legacy.35ed2b15.js","./icon-search-legacy.c4ede18b.js","./index-legacy.7ba57e96.js","./index-legacy.cf222bd8.js","./index-legacy.dfece130.js","./_commonjsHelpers-legacy.c51f5c8d.js"],(function(t){"use strict";var n,o,i,a,c,u,l,s,f,y,h,g,d,m,p,v,_,b,w;return{setters:[function(t){n=t.T},function(t){o=t.T},function(t){i=t.o},function(t){a=t.T,c=t.r},function(t){u=t.T},function(t){l=t.d,s=t.A,f=t.k,y=t.G,h=t.r,g=t.F,d=t.c,m=t.V,p=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_yngy1_1",A="_bgImg_yngy1_8",L="_musicContent_yngy1_17",E="_bg_yngy1_8",O="_alumWrap_yngy1_31",j="_img_yngy1_35",C="_alumTitle_yngy1_43",k="_alumDes_yngy1_48",N="_des_yngy1_51",S="_tags_yngy1_54",T="_tag_yngy1_54",G="_alumCollect_yngy1_64",Y="_right_yngy1_77",z="_alumnContainer_yngy1_80",P="_alumnList_yngy1_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,o=(n=e().mark((function r(){var n,o,i,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:i=e.sent,a=i.data,Object.assign(B,a,{musicTagNames:(null==a||null===(n=a.musicTagNames)||void 0===n?void 0:n.split(","))||[],musicSheetList:(null===(o=a.musicSheetList)||void 0===o?void 0:o.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(o,i){var a=n.apply(t,e);function c(t){r(a,o,i,c,u,"next",t)}function u(t){r(a,o,i,c,u,"throw",t)}c(void 0)}))});return function(){return o.apply(this,arguments)}}();y((function(){I()}));var V=h(!0),J=h(0);return g("scroll",(function(){var t=document.body.scrollTop||document.documentElement.scrollTop;V.value=!(t>55),J.value=t/55})),function(){var t;return d(p,null,[d(n,{style:{background:"rgba(255,255,255,".concat(J.value,")")},class:x,theme:V.value?"dark":"light"},null),d("img",{class:A,src:B.albumCoverUrl},null),d("div",{class:L},[d("div",{class:E},[d("div",{class:O},[d("div",{class:j},[d(o,{src:B.albumCoverUrl},null)]),d("div",{class:k},[d("div",{class:[C,"van-ellipsis"]},[B.albumName]),d("div",{class:S},[null===(t=B.musicTagNames)||void 0===t?void 0:t.map((function(t){return d("span",{class:T},[t])}))]),d("div",{class:[N,"van-multi-ellipsis--l3"]},[B.albumDesc])])]),d("div",{class:G},[d("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),d("span",null,[m("共"),B.musicSheetCount,m("首曲目")]),d("img",{class:Y,src:i},null),d("span",null,[B.albumFavoriteCount,m("人收藏")])])])]),d("div",{class:z},[d("div",{class:P},[d(a,{title:"曲目列表",isMore:!1},null),d(u,{list:B.musicSheetList},null)]),d(a,{title:"相关专辑",onMore:function(){l.push({path:"/search"})}},null),d(b,{list:B.relatedMusicAlbum,onGoto:function(t){return l.push({path:"/musicAlum",query:{id:t.id}})}},null),d(w,null,null)])])}}}))}}}))}();
|