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 n};var n={},r=Object.prototype,o=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(P){u=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var o=e&&e.prototype instanceof p?e:p,a=Object.create(o.prototype),i=new S(r||[]);return a._invoke=function(t,e,n){var r="suspendedStart";return function(o,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw a;return E()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var c=j(i,n);if(c){if(c===h)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=f(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(t,n,i),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(P){return{type:"throw",arg:P}}}n.wrap=l;var h={};function p(){}function d(){}function g(){}var m={};u(m,i,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(O([])));v&&v!==r&&o.call(v,i)&&(m=v);var b=g.prototype=p.prototype=Object.create(m);function w(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function L(e,n){function r(a,i,c,s){var u=f(e[a],e,i);if("throw"!==u.type){var l=u.arg,h=l.value;return h&&"object"==t(h)&&o.call(h,"__await")?n.resolve(h.__await).then((function(t){r("next",t,c,s)}),(function(t){r("throw",t,c,s)})):n.resolve(h).then((function(t){l.value=t,c(l)}),(function(t){return r("throw",t,c,s)}))}s(u.arg)}var a;this._invoke=function(t,e){function o(){return new n((function(n,o){r(t,e,n,o)}))}return a=a?a.then(o,o):o()}}function j(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,j(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var r=f(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,h;var o=r.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,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function x(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 I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function O(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(o.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:E}}function E(){return{value:void 0,done:!0}}return d.prototype=g,u(b,"constructor",g),u(g,"constructor",d),d.displayName=u(g,s,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,u(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},n.awrap=function(t){return{__await:t}},w(L.prototype),u(L.prototype,c,(function(){return this})),n.AsyncIterator=L,n.async=function(t,e,r,o,a){void 0===a&&(a=Promise);var i=new L(l(t,e,r,o),a);return n.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},w(b),u(b,s,"Generator"),u(b,i,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},n.values=O,S.prototype={constructor:S,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(I),!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 n(n,r){return i.type="throw",i.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(i)},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),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),I(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;I(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},n}function n(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function r(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e,n,r,o,a,i){try{var c=t[a](i),s=c.value}catch(u){return void n(u)}c.done?e(s):Promise.resolve(s).then(r,o)}function i(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function c(t){a(i,r,o,c,s,"next",t)}function s(t){a(i,r,o,c,s,"throw",t)}c(void 0)}))}}System.register(["./index-legacy.332751b6.js","./scrollbar.min-legacy.15e7b811.js","./index-legacy.7ce20967.js","./index-legacy.1f0ddfd2.js","./index-legacy.86425176.js","./index-legacy.c1b854ed.js","./index-legacy.3e3d101d.js","./index-legacy.b8a5caca.js","./moreArrow-legacy.31030001.js","./index2-legacy.000f2798.js","./index2-legacy.3b3edde2.js","./hold-legacy.fa388436.js","./lineStart-legacy.660bfbea.js","./player-legacy.c7d3b4b9.js","./icon-legacy.aed5a5b3.js","./music-legacy.146bf361.js","./lineStart-legacy.f91a0e0f.js"],(function(t){"use strict";var n,o,a,c,s,u,l,f,h,p,d,g,m,y,v,b,w,L,j,x,I;return{setters:[function(t){n=t.a,o=t.s},function(t){a=t.h},function(t){c=t.d,s=t.Q,u=t.r,l=t.o,f=t.$,h=t.c,p=t.b,d=t.e,g=t.f,m=t.w,y=t.n,v=t.aM,b=t.aN},function(t){w=t.s},function(t){L=t.P},function(t){j=t.C},function(t){x=t.a},function(t){I=t.m},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var S=c({name:"searchdetail",components:{hotSearch:a,silder:s,searchInput:w,albumItem:n,pagination:L,ColEmpty:j},setup:function(){var t=u({albumList:[],musicList:[],search:{},isshowData:!1,pageInfo:{limit:40,page:1,total:0,page_size:[5,10,20,40,50]}}),n=function(){var n=i(e().mark((function n(){var o;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,p.post("/api-website/open/music/album/list",{data:r(r({albumStatus:1},t.search),{},{page:t.pageInfo.page,rows:t.pageInfo.limit})});case 3:o=e.sent,t.albumList=o.data.rows,t.pageInfo.total=o.data.total,0==t.pageInfo.total?t.isshowData=!0:t.isshowData=!1,e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.log(e.t0);case 12:case"end":return e.stop()}}),n,null,[[0,9]])})));return function(){return n.apply(this,arguments)}}();return l((function(){})),r(r({},f(t)),{},{getList:function(e){t.search=r(r({},e),{},{idAndName:e.search}),t.pageInfo.page=1,n()},getAlbumList:n})},render:function(){var t=this;return h("div",null,[h("div",null,[h("div",{class:o.w1200},[h("div",{class:o.section},[h("div",{class:o.albumList},[this.albumList.map((function(t){return h(n,{detail:t},null)}))]),this.isshowData&&h(j,null,null)])])]),h(L,{total:this.pageInfo.total,page:this.pageInfo.page,"onUpdate:page":function(e){return t.pageInfo.page=e},limit:this.pageInfo.limit,"onUpdate:limit":function(e){return t.pageInfo.limit=e},pageSizes:this.pageInfo.page_size,pagination:this.getAlbumList},null)])}}),O=c({name:"searchMusic",components:{hotSearch:a,silder:s,searchInput:w,albumItem:x,musicListItem:I,pagination:L,ColEmpty:j},setup:function(){var t=u({musicList:[],search:{},isshowData:!1,pageInfo:{limit:10,page:1,total:0,page_size:[5,10,20,40,50]}}),n=function(){var n=i(e().mark((function n(){var o;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,p.post("/api-website/open/music/sheet/list",{data:r(r({albumStatus:"PASS"},t.search),{},{page:t.pageInfo.page,rows:t.pageInfo.limit,state:1})});case 3:o=e.sent,t.musicList=o.data.rows,t.pageInfo.total=o.data.total,0==t.pageInfo.total?t.isshowData=!0:t.isshowData=!1,e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.log(e.t0);case 12:case"end":return e.stop()}}),n,null,[[0,9]])})));return function(){return n.apply(this,arguments)}}();return l((function(){})),r(r({},f(t)),{},{getList:function(e){t.search={subjectIds:e.subject,musicTagIds:e.albumTagIds,idAndName:e.search},t.pageInfo.page=1,n()},getMusicList:n})},render:function(){var t=this;return h("div",null,[h("div",null,[h("div",{class:o.w1200},[h("div",{class:o.section},[h("div",{class:o.musicList},[this.musicList.map((function(t){return h(I,{item:t},null)}))])])]),this.isshowData&&h(j,null,null)]),h(L,{total:this.pageInfo.total,page:this.pageInfo.page,"onUpdate:page":function(e){return t.pageInfo.page=e},limit:this.pageInfo.limit,"onUpdate:limit":function(e){return t.pageInfo.limit=e},pageSizes:this.pageInfo.page_size,pagination:this.getMusicList},null)])}});t("default",c({name:"searchdetail",components:{hotSearch:a,silder:s,searchInput:w,searchAlbum:S,searchMusic:O},setup:function(){var t=u({albumList:[],musicList:[],chiose:"album",searchs:{albumTagIds:"",search:"",subject:""}}),e=d(),n=g(),o=g(),a=function(e){t.searchs=r(r({},t.searchs),e),i()},i=function(){"album"==t.chiose&&n.value.getList(t.searchs),"music"==t.chiose&&o.value.getList(t.searchs)};return m((function(){return t.chiose}),(function(t){console.log(t),y((function(){i()}))})),l((function(){console.log(e.name),e.params.search&&(t.searchs.search=e.params.search),e.params.subject&&(t.searchs.subject=e.params.subject),e.params.type&&(t.chiose=e.params.type),y((function(){i()}))})),r(r({},f(t)),{},{startSearch:a,searchRust:function(e){t.searchs.albumTagIds=e.join(","),a(t.searchs)},searchAlbumRef:n,searchMusicRef:o,search:i})},render:function(){var t=this;return h("div",null,[h("div",{class:""},[h("div",{class:"wall",style:{height:"60px"}},null),h("div",{class:o.w1200},[h("div",{class:o.section},[h(w,{isWhile:!0,searchVal:r({},this.searchs),onStartSearch:function(e){t.startSearch(e)}},null),h("div",{class:o.hotSearch},[h(a,{type:"search",onSearchRust:function(e){return t.searchRust(e)},onHotTag:function(e){t.searchs.search=e,t.search()},isChiose:!0},null)]),h("div",{class:o.myTabWrap},[h(v,{class:o.myTab,modelValue:this.chiose,"onUpdate:modelValue":function(e){return t.chiose=e}},{default:function(){return[h(b,{label:"专辑",name:"album"},{default:function(){return["album"==t.chiose?h(S,{ref:"searchAlbumRef"},null):null]}}),h(b,{label:"乐谱",name:"music"},{default:function(){return["music"==t.chiose?h(O,{ref:"searchMusicRef"},null):null]}})]}})])])])])])}}))}}}))}();
|