index-legacy.2908fc03.js 13 KB

1
  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 p?e:p,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 O()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=x(a,r);if(c){if(c===f)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=h(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)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 h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(C){return{type:"throw",arg:C}}}r.wrap=s;var f={};function p(){}function d(){}function m(){}var g={};l(g,a,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(j([])));v&&v!==n&&o.call(v,a)&&(g=v);var _=m.prototype=p.prototype=Object.create(g);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=h(e[i],e,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==t(f)&&o.call(f,"__await")?r.resolve(f.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):r.resolve(f).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 f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=h(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,f;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,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}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 j(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:O}}function O(){return{value:void 0,done:!0}}return d.prototype=m,l(_,"constructor",m),l(m,"constructor",d),d.displayName=l(m,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,m):(t.__proto__=m,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=j,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,f):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),f},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),f}},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:j(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},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_2p3h5_1{position:fixed;top:0;left:0;right:0;z-index:100}._musicContent_2p3h5_8{position:relative;height:7.06667rem;padding-top:1.46667rem}._bgImg_2p3h5_13{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover}._bg_2p3h5_13{height:100%;background-color:rgba(0,0,0,.6);backdrop-filter:blur(.26667rem);padding:.42667rem}._alumWrap_2p3h5_27{display:flex;align-items:center}._alumWrap_2p3h5_27 ._img_2p3h5_31{width:3.06667rem;height:3.06667rem;flex-shrink:0;border-radius:.16rem;overflow:hidden;margin-right:.37333rem}._alumWrap_2p3h5_27 ._alumTitle_2p3h5_39{font-size:.48rem;font-weight:500;color:#fff}._alumWrap_2p3h5_27 ._alumDes_2p3h5_44{width:calc(100% - 3.44rem)}._alumWrap_2p3h5_27 ._alumDes_2p3h5_44 ._des_2p3h5_47{color:#999}._tags_2p3h5_50{margin:.16rem -.05333rem .64rem}._tags_2p3h5_50 ._tag_2p3h5_50{margin:0 .05333rem;padding:.05333rem .16rem;color:#000;background-color:#718a93;border-radius:.53333rem}._alumCollect_2p3h5_60{display:flex;align-items:center;padding-top:.53333rem;color:#999;font-size:.37333rem}._alumCollect_2p3h5_60>img{display:inline-block;width:.53333rem;height:.53333rem;margin-right:.16rem}._alumCollect_2p3h5_60 ._right_2p3h5_73{margin-left:.69333rem}._alumnContainer_2p3h5_76{position:relative;padding:0 .42667rem;margin-top:-.42667rem;z-index:10}._alumnContainer_2p3h5_76 ._alumnList_2p3h5_82{padding:0 .32rem;border-radius:.16rem;background-color:#fff}\n",document.head.appendChild(n),System.register(["./index-legacy.954e7442.js","./index-legacy.d93ef8de.js","./oStart-legacy.e936d59b.js","./request-legacy.a23fb047.js","./index-legacy.79fb9fcc.js","./index-legacy.1f97fb1d.js","./index-legacy.6a2125d9.js","./index-legacy.b5c7e53f.js","./index-legacy.5b0e867c.js","./index-legacy.82c3da56.js","./index-legacy.380d9f3e.js","./icon-search-legacy.c4ede18b.js","./icon-title-legacy.0e304be0.js","./index-legacy.509f75a4.js","./_commonjsHelpers-legacy.c51f5c8d.js"],(function(t){"use strict";var n,o,i,a,c,u,l,s,h,f,p,d,m,g,y,v,_,b;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.w,h=t.k,f=t.D,p=t.c,d=t.O,m=t.W,g=t.P,y=t.u},function(t){v=t.T,_=t.H},function(){},function(){},function(){},function(t){b=t.T},function(){},function(){},function(){},function(){}],execute:function(){var w="_header_2p3h5_1",x="_musicContent_2p3h5_8",A="_bgImg_2p3h5_13",L="_bg_2p3h5_13",E="_alumWrap_2p3h5_27",j="_img_2p3h5_31",O="_alumTitle_2p3h5_39",C="_alumDes_2p3h5_44",N="_des_2p3h5_47",S="_tags_2p3h5_50",k="_tag_2p3h5_50",T="_alumCollect_2p3h5_60",P="_right_2p3h5_73",Y="_alumnContainer_2p3h5_76",G="_alumnList_2p3h5_82";t("default",l({name:"musicAlumn",setup:function(){var t=y(),l=g();s(t,(function(){window.scrollTo({top:0}),B()}));var z=h({}),B=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 b({type:"loading",duration:0,message:"加载中"}),e.prev=1,e.next=4,c.post("/api-website/open/music/album/detail",{data:{id:t.query.id,page:1,rows:4}});case 4:i=e.sent,a=i.data,Object.assign(z,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=11;break;case 9:e.prev=9,e.t0=e.catch(1);case 11:b.clear();case 12:case"end":return e.stop()}}),r,null,[[1,9]])})),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)}}();return f((function(){B()})),function(){var t;return p(m,null,[p(n,{class:w,theme:"dark"},null),p("div",{class:x},[p("img",{class:A,src:z.albumCoverUrl},null),p("div",{class:L},[p("div",{class:E},[p("div",{class:j},[p(o,{src:z.albumCoverUrl},null)]),p("div",{class:C},[p("div",{class:[O,"van-ellipsis"]},[z.albumName]),p("div",{class:S},[null===(t=z.musicTagNames)||void 0===t?void 0:t.map((function(t){return p("span",{class:k},[t])}))]),p("div",{class:[N,"van-multi-ellipsis--l3"]},[z.albumDesc])])]),p("div",{class:T},[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,[d("共"),z.musicSheetCount,d("首曲目")]),p("img",{class:P,src:i},null),p("span",null,[z.albumFavoriteCount,d("人收藏")])])])]),p("div",{class:Y},[p("div",{class:G},[p(a,{title:"曲目列表",isMore:!1},null),p(u,{list:z.musicSheetList},null)]),p(a,{title:"相关专辑",onMore:function(){l.push({path:"/search"})}},null),p(v,{list:z.relatedMusicAlbum,onGoto:function(t){return l.push({path:"/musicAlum",query:{id:t.id}})}},null),p(_,null,null)])])}}}))}}}))}();