text: (function(t){function e(e){for(var i,s,c=e[0],o=e[1],l=e[2],u=0,g=[];u<c.length;u++)s=c[u],Object.prototype.hasOwnProperty.call(a,s)&&a[s]&&g.push(a[s][0]),a[s]=0;for(i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i]);d&&d(e);while(g.length)g.shift()();return r.push.apply(r,l||[]),n()}function n(){for(var t,e=0;e<r.length;e++){for(var n=r[e],i=!0,s=1;s<n.length;s++){var c=n[s];0!==a[c]&&(i=!1)}i&&(r.splice(e--,1),t=o(o.s=n[0]))}return t}var i={},s={app:0},a={app:0},r=[];function c(t){return o.p+"js/"+({hot:"hot"}[t]||t)+"."+{hot:"15225ecb"}[t]+".js"}function o(e){if(i[e])return i[e].exports;var n=i[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.e=function(t){var e=[],n={hot:1};s[t]?e.push(s[t]):0!==s[t]&&n[t]&&e.push(s[t]=new Promise((function(e,n){for(var i="css/"+({hot:"hot"}[t]||t)+"."+{hot:"00cfa9eb"}[t]+".css",a=o.p+i,r=document.getElementsByTagName("link"),c=0;c<r.length;c++){var l=r[c],u=l.getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(u===i||u===a))return e()}var g=document.getElementsByTagName("style");for(c=0;c<g.length;c++){l=g[c],u=l.getAttribute("data-href");if(u===i||u===a)return e()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=e,d.onerror=function(e){var i=e&&e.target&&e.target.src||a,r=new Error("Loading CSS chunk "+t+" failed.\n("+i+")");r.code="CSS_CHUNK_LOAD_FAILED",r.request=i,delete s[t],d.parentNode.removeChild(d),n(r)},d.href=a;var M=document.getElementsByTagName("head")[0];M.appendChild(d)})).then((function(){s[t]=0})));var i=a[t];if(0!==i)if(i)e.push(i[2]);else{var r=new Promise((function(e,n){i=a[t]=[e,n]}));e.push(i[2]=r);var l,u=document.createElement("script");u.charset="utf-8",u.timeout=120,o.nc&&u.setAttribute("nonce",o.nc),u.src=c(t);var g=new Error;l=function(e){u.onerror=u.onload=null,clearTimeout(d);var n=a[t];if(0!==n){if(n){var i=e&&("load"===e.type?"missing":e.type),s=e&&e.target&&e.target.src;g.message="Loading chunk "+t+" failed.\n("+i+": "+s+")",g.name="ChunkLoadError",g.type=i,g.request=s,n[1](g)}a[t]=void 0}};var d=setTimeout((function(){l({type:"timeout",target:u})}),12e4);u.onerror=u.onload=l,document.head.appendChild(u)}return Promise.all(e)},o.m=t,o.c=i,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)o.d(n,i,function(e){return t[e]}.bind(null,i));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="/",o.oe=function(t){throw console.error(t),t};var l=window["webpackJsonp"]=window["webpackJsonp"]||[],u=l.push.bind(l);l.push=e,l=l.slice();for(var g=0;g<l.length;g++)e(l[g]);var d=u;r.push([0,"chunk-vendors"]),n()})({0:function(t,e,n){t.exports=n("56d7")},1178:function(t,e,n){"use strict";n("318d")},"16a2":function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.item.song?n("li",{staticClass:"songlistitem",on:{click:function(e){return t.$emit("change-current-song",t.item)}}},[n("div",{staticClass:"left"},[n("div",{staticClass:"title"},[t._v(" "+t._s(t.item.name)+" "),t._l(t.item.song.alias,(function(e){return n("span",{key:e},[t._v(t._s(e))])}))],2),n("div",{staticClass:"info"},[t.item.song.exclusive?n("em"):t._e(),t._l(t.item.song.artists,(function(e){return n("i",{key:e.id,staticClass:"artist"},[t._v(t._s(e.name))])})),n("b",[t._v(t._s(t.item.song.album.name))])],2)]),n("div",{staticClass:"icon"},[n("div",{staticClass:"play",class:{current:t.currentSongId===t.item.id,playing:t.playing}},[n("i"),n("i"),n("i"),n("i")])])]):t.item.album?n("li",{staticClass:"songlistitem",on:{click:function(e){return t.$emit("change-current-song",t.item)}}},[n("div",{staticClass:"num"},[t._t("default")],2),n("div",{staticClass:"left"},[n("div",{staticClass:"title"},[t._v(" "+t._s(t.item.name)+" "),t._l(t.item.alias,(function(e){return n("span",{key:e},[t._v(" "+t._s(e)+" ")])}))],2),n("div",{staticClass:"info"},[t._l(t.item.artists,(function(e){return n("i",{key:e.id,staticClass:"artist"},[t._v(t._s(e.name))])})),n("b",[t._v(t._s(t.item.album.name))])],2)]),n("div",{staticClass:"icon"},[n("div",{staticClass:"play",class:{current:t.currentSongId===t.item.id,playing:t.playing}},[n("i"),n("i"),n("i"),n("i")])])]):n("li",{staticClass:"songlistitem",on:{click:function(e){return t.$emit("change-current-song",t.item)}}},[n("div",{staticClass:"num"},[t._t("default")],2),n("div",{staticClass:"left"},[n("div",{staticClass:"title"},[t._v(" "+t._s(t.item.name)+" "),t._l(t.item.alia,(function(e){return n("span",{key:e},[t._v(t._s(e))])}))],2),n("div",{staticClass:"info"},[t._l(t.item.ar,(function(e){return n("i",{key:e.id,staticClass:"artist"},[t._v(t._s(e.name))])})),n("b",[t._v(t._s(t.item.al.name))])],2)]),n("div",{staticClass:"icon"},[n("div",{staticClass:"play",class:{current:t.currentSongId===t.item.id,playing:t.playing}},[n("i"),n("i"),n("i"),n("i")])])])},s=[],a=(n("a9e3"),{props:{item:{type:Object,required:!0},currentSongId:{type:Number},playing:Boolean}}),r=a,c=(n("a462"),n("2877")),o=Object(c["a"])(r,i,s,!1,null,null,null);e["a"]=o.exports},"19cb":function(t,e,n){},2395:function(t,e,n){},"27fc":function(t,e,n){},"318d":function(t,e,n){},"348d":function(t,e,n){"use strict";n("ba7a")},"3ae9":function(t,e,n){},"498b":function(t,e,n){"use strict";n("27fc")},"4bde":function(t,e,n){"use strict";n("77d1")},5268:function(t,e,n){},"56d7":function(t,e,n){"use strict";n.r(e);n("e260"),n("e6cf"),n("cca6"),n("a79d");var i=n("2b0e"),s=(n("d3b7"),n("bc3a")),a=n.n(s),r={},c=a.a.create(r);c.interceptors.request.use((function(t){return t}),(function(t){return Promise.reject(t)})),c.interceptors.response.use((function(t){return t}),(function(t){return Promise.reject(t)})),Plugin.install=function(t){t.axios=c,window.axios=c,Object.defineProperties(t.prototype,{axios:{get:function(){return c}},$axios:{get:function(){return c}}})},i["a"].use(Plugin);Plugin;var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"app",attrs:{id:"app"}},[t.$route.meta.showNavBar?n("div",{attrs:{id:"nav"}},[n("li",[n("router-link",{attrs:{to:"/"}},[t._v("推荐音乐")])],1),n("li",[n("router-link",{attrs:{to:"/hot"}},[t._v("热歌榜")])],1),n("li",[n("router-link",{attrs:{to:"/search"}},[t._v("搜索")])],1)]):t._e(),n("section",{staticClass:"routes"},[n("transition",{attrs:{name:"custom-classes-transition","enter-active-class":"animate__animated animate__slideInRight","leave-active-class":"animate__animated animate__slideOutLeft"}},[n("router-view",{staticStyle:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%","overflow-y":"auto"},attrs:{currentSongId:t.currentSong?t.currentSong.id:null,playing:t.playing,currentPlayList:t.currentPlayList},on:{"change-current-song":t.changeCurrentSong,"change-current-play-list":t.changeCurrentPlayList}})],1)],1),n("audio",{ref:"audio",attrs:{src:t.currentSongUrl,autoplay:""},on:{playing:function(e){t.playing=!0},pause:function(e){t.playing=!1},timeupdate:t.timeupdate,durationchange:t.durationchange}}),t.currentSong?n("Play",{attrs:{llv:t.llv,currentSong:t.currentSong,playing:t.playing,currentTime:t.currentTime,duration:t.duration,currentPlayList:t.currentPlayList},on:{"toggle-playing-state":t.togglePlayingState,"change-current-song":t.changeCurrentSong,"next-song":t.nextSong,"prev-song":t.prevSong}}):t._e()],1)},l=[],u=(n("c740"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("footer",{staticClass:"play",class:{playing:t.playing}},[n("transition",{attrs:{name:"custom-classes-transition","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut"}},[t.showPlayPage?n("PlayPage",{attrs:{llv:t.llv,currentSong:t.currentSong,currentTime:t.currentTime,duration:t.duration,playing:t.playing},on:{"toggle-show-play-page":function(e){t.showPlayPage=e},"toggle-show-play-list":function(e){t.showPlayList=e},"toggle-playing-state":function(e){return t.$emit("toggle-playing-state")},"next-song":function(e){return t.$emit("next-song")},"prev-song":function(e){return t.$emit("prev-song")},"toggle-play-model":function(e){return t.$emit("toggle-play-model")}}}):t._e()],1),n("transition",{attrs:{name:"custom-classes-transition","enter-active-class":"animate__animated animate__slideInUp","leave-active-class":"animate__animated animate__slideOutDown"}},[n("PlayBar",{directives:[{name:"show",rawName:"v-show",value:!t.showPlayPage,expression:"!showPlayPage"}],attrs:{currentPlayList:t.currentPlayList,currentSong:t.currentSong,currentTime:t.currentTime,duration:t.duration,playing:t.playing},on:{"toggle-playing-state":function(e){return t.$emit("toggle-playing-state")},"toggle-show-play-list":function(e){t.showPlayList=e},"toggle-show-play-page":function(e){t.showPlayPage=e}}})],1),t.showPlayList?n("PlayList",{attrs:{currentPlayList:t.currentPlayList,currentSong:t.currentSong,playing:t.playing},on:{"toggle-show-play-list":function(e){t.showPlayList=e},"change-current-song":function(e){return t.$emit("change-current-song",e)}}}):t._e()],1)}),g=[],d=(n("a9e3"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"playbar",class:{playing:t.playing},on:{click:function(e){return t.$emit("toggle-show-play-page",!0)}}},[n("img",{attrs:{src:(t.currentSong.song?t.currentSong.picUrl:t.currentSong.al.picUrl)+"?imageView=1&type=webp&thumbnail=60x0"}}),n("h3",[t._v(" "+t._s(t.currentSong.name)),n("span",[t._v(" - "+t._s(t.currentSong.song?t.currentSong.song.artists[0].name:t.currentSong.ar[0].name))])]),n("div",{staticClass:"playingbf",on:{click:function(e){return e.stopPropagation(),t.$emit("toggle-playing-state")}}},[n("canvas",{ref:"canvas",attrs:{width:"40",height:"40"}}),t.playing?t._e():n("svg",{staticClass:"icon a",attrs:{t:"1629873417215",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2120",width:"18",height:"18"}},[n("path",{attrs:{d:"M803.84 492.032 213.056 135.04C195.392 124.288 174.208 124.288 156.352 134.976 138.624 145.728 128 164.928 128 186.368l0 714.176c0 21.44 10.624 40.704 28.352 51.392C165.248 957.312 174.976 960 184.704 960c9.728 0 19.52-2.688 28.352-8.064l590.72-356.992c17.728-10.752 28.288-30.016 28.288-51.456C832.128 521.984 821.568 502.72 803.84 492.032zM189.568 891.712 187.136 193.792l578.624 349.696L189.568 891.712z","p-id":"2121"}})]),t.playing?n("svg",{staticClass:"icon",attrs:{t:"1629873665092",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4075",width:"18",height:"18"}},[n("path",{attrs:{d:"M304 176h80v672h-80z m408 0h-64c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8z","p-id":"4076"}})]):t._e()]),n("div",{staticClass:"list",on:{click:function(e){return e.stopPropagation(),t.$emit("toggle-show-play-list",!0)}}},[n("svg",{staticClass:"icon",attrs:{t:"1629946146446",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6419",width:"25",height:"25"}},[n("path",{attrs:{d:"M988.3 488.2c-85.3 0-154.8-69.4-154.8-154.8 0-19.7-16-35.7-35.7-35.7-19.7 0-35.7 16-35.7 35.7v233.3c-37.9-34-88-54.7-142.9-54.7-118.2 0-214.3 96.1-214.3 214.3S501 940.7 619.2 940.7c118.2 0 214.3-96.1 214.3-214.3 0-8.6-0.5-17.1-1.5-25.4 1-3.3 1.5-6.7 1.5-10.3V498.2c40.5 38.1 95 61.4 154.8 61.4 19.7 0 35.7-16 35.7-35.7 0-19.7-16-35.7-35.7-35.7z m-369.1 381c-78.8 0-142.9-64.1-142.9-142.9s64.1-142.9 142.9-142.9S762 647.5 762 726.3s-64 142.9-142.8 142.9zM35.7 154.8h762c19.7 0 35.7-16 35.7-35.7s-16-35.7-35.7-35.7h-762C16 83.3 0 99.3 0 119.1s16 35.7 35.7 35.7zM35.7 369.1h619.2c19.7 0 35.7-16 35.7-35.7s-16-35.7-35.7-35.7H35.7C16 297.7 0 313.7 0 333.4s16 35.7 35.7 35.7zM297.7 512h-262C16 512 0 528 0 547.7c0 19.7 16 35.7 35.7 35.7h262c19.7 0 35.7-16 35.7-35.7 0-19.7-16-35.7-35.7-35.7zM297.7 726.3h-262C16 726.3 0 742.3 0 762s16 35.7 35.7 35.7h262c19.7 0 35.7-16 35.7-35.7s-16-35.7-35.7-35.7z",fill:"#8a8a8a","p-id":"6420"}})])])])}),M=[],p={props:{currentSong:Object,playing:Boolean,duration:Number,currentTime:Number,currentPlayList:Array},computed:{percentage:function(){return this.currentTime/this.duration}},watch:{percentage:function(t){var e=this.$refs.canvas.getContext("2d");e.clearRect(0,0,40,40),e.beginPath(),e.arc(20,20,18,Math.PI/180*-90,Math.PI/180*(360*t-90)),e.strokeStyle="#d43c33",e.lineWidth=1,e.stroke(),e.beginPath(),e.arc(20,20,18,Math.PI/180*(360*t-90),Math.PI/180*270),e.strokeStyle="gray",e.lineWidth=1,e.stroke()}}},m=p,h=(n("fad5"),n("2877")),y=Object(h["a"])(m,d,M,!1,null,"ff3e4114",null),v=y.exports,f=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"play-page"},[n("div",{staticClass:"mask",style:{backgroundImage:"url("+(t.currentSong.song?t.currentSong.picUrl:t.currentSong.al.picUrl)+"?imageView=1&type=webp&thumbnail=246x0)"}}),n("div",{staticClass:"title"},[n("i",{staticClass:"play-icon",on:{click:function(e){return t.$emit("toggle-show-play-page",!1)}}},[n("svg",{staticClass:"icon",attrs:{t:"1630117054624",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3149",width:"22",height:"22"}},[n("path",{attrs:{d:"M960 306.1c0-9.3-3.6-18.5-10.8-25.7a36.576 36.576 0 0 0-51.9 0L511.7 666l-385-385.5a36.576 36.576 0 0 0-51.9 0 36.576 36.576 0 0 0 0 51.9L486 743.6c14.4 14.4 37.5 14.4 51.9 0l411.2-411.2c7.3-7.8 10.9-17 10.9-26.3z","p-id":"3150",fill:"#cdcdcd"}})])]),n("p",[t._v(" "+t._s(t.currentSong.name)),n("span",[t._v(" - "+t._s(t.currentSong.song?t.currentSong.song.artists[0].name:t.currentSong.ar[0].name))])]),n("i",{staticClass:"share-icon"},[n("svg",{staticClass:"icon",attrs:{t:"1630325950547",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3741",width:"22",height:"22"}},[n("path",{attrs:{d:"M106.666667 448c36.266667 0 64 27.733333 64 64s-27.733333 64-64 64-64-27.733333-64-64 27.733333-64 64-64m0-42.666667c-59.733333 0-106.666667 46.933333-106.666667 106.666667s46.933333 106.666667 106.666667 106.666667 106.666667-46.933333 106.666666-106.666667-46.933333-106.666667-106.666666-106.666667zM512 448c36.266667 0 64 27.733333 64 64s-27.733333 64-64 64-64-27.733333-64-64 27.733333-64 64-64m0-42.666667c-59.733333 0-106.666667 46.933333-106.666667 106.666667s46.933333 106.666667 106.666667 106.666667 106.666667-46.933333 106.666667-106.666667-46.933333-106.666667-106.666667-106.666667zM917.333333 448c36.266667 0 64 27.733333 64 64s-27.733333 64-64 64-64-27.733333-64-64 27.733333-64 64-64m0-42.666667c-59.733333 0-106.666667 46.933333-106.666666 106.666667s46.933333 106.666667 106.666666 106.666667 106.666667-46.933333 106.666667-106.666667-46.933333-106.666667-106.666667-106.666667z",fill:"#cdcdcd","p-id":"3742"}})])])]),n("section",{staticClass:"rotate"},[n("img",{staticClass:"needle",class:{paused:!t.playing},attrs:{src:"https://s3.music.126.net/mobile-new/img/needle-ab.png",alt:""}}),n("section",{staticClass:"record",class:{playing:t.playing}},[n("img",{staticClass:"thumb",attrs:{src:t.currentSong.song?t.currentSong.picUrl:t.currentSong.al.picUrl,alt:""}}),n("img",{staticClass:"disc",attrs:{src:"https://s3.music.126.net/mobile-new/img/disc.png",alt:""}})])]),n("section",{staticClass:"progress-bar"},[n("input",{attrs:{type:"range",min:"0",max:"100",step:"0.1"}}),n("span",{staticClass:"x",style:{width:t.llv+"%"}}),n("span",{staticClass:"dot",style:{left:t.llv+"%"}})]),n("section",{staticClass:"controls"},[n("span",{on:{click:function(e){return t.$emit("toggle-play-model")}}},[n("svg",{staticClass:"icon",attrs:{t:"1630117436606",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4753",width:"30",height:"30"}},[n("path",{attrs:{d:"M479.56835937 484.75390625H274.6953125c-37.35351563 0-67.67578125-30.32226563-67.67578125-67.67578125V279.96875c0-37.35351563 30.32226563-67.67578125 67.67578125-67.67578125h137.109375c37.35351563 0 67.67578125 30.32226563 67.67578125 67.67578125v204.78515625zM274.6953125 259.75390625c-11.16210938 0-20.21484375 9.05273438-20.21484375 20.21484375v137.109375c0 11.16210938 9.05273438 20.21484375 20.21484375 20.21484375h157.32421875V279.96875c0-11.16210938-9.05273438-20.21484375-20.21484375-20.21484375H274.6953125zM414.17773437 813.2890625h-137.10937499c-37.35351563 0-67.67578125-30.32226563-67.67578126-67.67578125v-137.109375c0-37.35351563 30.32226563-67.67578125 67.67578125-67.67578125h204.78515626v204.78515625c0 37.35351563-30.41015625 67.67578125-67.67578126 67.67578125zM276.98046875 588.20117188c-11.16210938 0-20.21484375 9.05273438-20.21484375 20.21484374v137.10937501c0 11.16210938 9.05273438 20.21484375 20.21484375 20.21484374h137.109375c11.16210938 0 20.21484375-9.05273438 20.21484375-20.21484375v-157.32421874h-157.32421875zM742.625 811.00390625h-137.109375c-37.35351563 0-67.67578125-30.32226563-67.67578125-67.67578125v-181.0546875c0-13.09570313 10.63476563-23.73046875 23.73046875-23.73046875h181.0546875c37.35351563 0 67.67578125 30.32226563 67.67578125 67.67578125v25.13671875c0 13.09570313-10.63476563 23.73046875-23.73046875 23.73046875s-23.73046875-10.63476563-23.73046875-23.73046875v-25.13671875c0-11.16210938-9.05273438-20.21484375-20.21484375-20.21484375h-157.32421875v157.32421875c0 11.16210938 9.05273438 20.21484375 20.21484375 20.21484375h137.109375c11.16210938 0 20.21484375-9.05273438 20.21484375-20.21484375 0-13.09570313 10.63476563-23.73046875 23.73046875-23.73046875s23.73046875 10.63476563 23.73046875 23.73046875c0 37.35351563-30.32226563 67.67578125-67.67578125 67.67578125zM740.42773438 482.46875h-204.78515626v-204.78515625c0-37.35351563 30.32226563-67.67578125 67.67578126-67.67578125h137.10937499c37.35351563 0 67.67578125 30.32226563 67.67578126 67.67578125v137.109375c0 37.35351563-30.41015625 67.67578125-67.67578125 67.67578125z m-157.41210938-47.4609375h157.32421875c11.16210938 0 20.21484375-9.05273438 20.21484375-20.21484375v-137.109375c0-11.16210938-9.05273438-20.21484375-20.21484375-20.21484375h-137.109375c-11.16210938 0-20.21484375 9.05273438-20.21484375 20.21484375v157.32421875z","p-id":"4754",fill:"#cdcdcd"}})])]),n("span",{on:{click:function(e){return t.$emit("prev-song")}}},[n("svg",{staticClass:"icon",attrs:{t:"1630117546890",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6009",width:"30",height:"30"}},[n("path",{attrs:{d:"M512 40.96a471.04 471.04 0 1 0 471.04 471.04A471.04 471.04 0 0 0 512 40.96z m0 901.12a430.08 430.08 0 1 1 430.08-430.08 430.08 430.08 0 0 1-430.08 430.08z","p-id":"6010",fill:"#cdcdcd"}}),n("path",{attrs:{d:"M389.12 389.12h40.96v327.68h-40.96zM389.12 307.2h40.96v40.96h-40.96z","p-id":"6011",fill:"#cdcdcd"}}),n("path",{attrs:{d:"M409.6 512l286.72 204.8V307.2z m61.44 0l184.32-122.88v245.76z","p-id":"6012",fill:"#cdcdcd"}})])]),n("span",{on:{click:function(e){return t.$emit("toggle-playing-state")}}},[t.playing?t._e():n("svg",{staticClass:"icon",attrs:{t:"1630118195226",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"12930",width:"30",height:"30"}},[n("path",{attrs:{d:"M500.864 83.392c239.68 0 434.656 194.976 434.656 434.624 0 239.648-195.008 434.656-434.656 434.656S66.24 757.664 66.24 518.016 261.216 83.392 500.864 83.392m0 933.28c274.944 0 498.656-223.712 498.656-498.656S775.84 19.392 500.864 19.392C225.92 19.392 2.24 243.072 2.24 518.016S225.92 1016.672 500.864 1016.672","p-id":"12931",fill:"#dbdbdb"}}),n("path",{attrs:{d:"M436.864 412.512l189.024 105.504-189.024 105.504v-211.008z m-32 297.504a31.04 31.04 0 0 0 15.36-4.48l0.224 0.416 286.72-160-0.256-0.416a31.584 31.584 0 0 0 16.64-27.52 31.552 31.552 0 0 0-16.64-27.52l0.224-0.416-286.688-160-0.224 0.416a30.72 30.72 0 0 0-15.36-4.48 32 32 0 0 0-32 32v320a32 32 0 0 0 32 32z","p-id":"12932",fill:"#dbdbdb"}})]),t.playing?n("svg",{staticClass:"icon",attrs:{t:"1630118046606",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"12215",width:"30",height:"30"}},[n("path",{attrs:{d:"M512 0c282.7776 0 512 229.2224 512 512s-229.2224 512-512 512S0 794.7776 0 512 229.2224 0 512 0z m0 76.8a435.2 435.2 0 1 0 0 870.4 435.2 435.2 0 0 0 0-870.4zM396.8 296.96c19.3024 0 35.2256 14.4896 37.9904 33.3824l0.4096 5.8368v382.3616a38.8096 38.8096 0 0 1-38.4 39.2192 38.656 38.656 0 0 1-37.9904-33.3824L358.4 718.5408V336.1792c0-21.6576 17.2032-39.2192 38.4-39.2192z m237.9776 0c19.3024 0 35.2768 14.4896 37.9904 33.3824l0.4096 5.8368v382.3616a38.8096 38.8096 0 0 1-38.4 39.2192 38.656 38.656 0 0 1-37.9392-33.3824l-0.4608-5.8368V336.1792c0-21.6576 17.2032-39.2192 38.4-39.2192z","p-id":"12216",fill:"#dbdbdb"}})]):t._e()]),n("span",{on:{click:function(e){return t.$emit("next-song")}}},[n("svg",{staticClass:"icon",attrs:{t:"1630117574452",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6803",width:"30",height:"30"}},[n("path",{attrs:{d:"M40.96 512A471.04 471.04 0 1 0 512 40.96 471.04 471.04 0 0 0 40.96 512z m40.96 0a430.08 430.08 0 1 1 430.08 430.08A430.08 430.08 0 0 1 81.92 512z","p-id":"6804",fill:"#cdcdcd"}}),n("path",{attrs:{d:"M593.92 389.12h40.96v327.68h-40.96zM593.92 307.2h40.96v40.96h-40.96z","p-id":"6805",fill:"#cdcdcd"}}),n("path",{attrs:{d:"M327.68 307.2v409.6l286.72-204.8z m40.96 327.68V389.12l184.32 122.88z","p-id":"6806",fill:"#cdcdcd"}})])]),n("span",{on:{click:function(e){return e.stopPropagation(),t.$emit("toggle-show-play-list",!0)}}},[n("svg",{staticClass:"icon",attrs:{t:"1630117753720",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10172",width:"30",height:"30"}},[n("path",{attrs:{d:"M204 720c26.245 0 47.57 21.063 47.994 47.206L252 768v0.512c0 26.51-21.49 48-48 48-26.245 0-47.57-21.063-47.994-47.206l-0.006-0.794V768c0-26.51 21.49-48 48-48z m632.333 16c17.673 0 32 14.327 32 32 0 17.496-14.041 31.713-31.47 31.996l-0.53 0.004H367c-17.673 0-32-14.327-32-32 0-17.496 14.042-31.713 31.47-31.996L367 736h469.333zM204 464c26.245 0 47.57 21.063 47.994 47.206L252 512v0.512c0 26.51-21.49 48-48 48-26.245 0-47.57-21.063-47.994-47.206l-0.006-0.794V512c0-26.51 21.49-48 48-48z m632 16c17.673 0 32 14.327 32 32 0 17.496-14.042 31.713-31.47 31.996L836 544H366.667c-17.673 0-32-14.327-32-32 0-17.496 14.041-31.713 31.47-31.996l0.53-0.004H836zM204 208c26.245 0 47.57 21.063 47.994 47.206L252 256v0.512c0 26.51-21.49 48-48 48-26.245 0-47.57-21.063-47.994-47.206l-0.006-0.794V256c0-26.51 21.49-48 48-48z m632 16c17.673 0 32 14.327 32 32 0 17.496-14.042 31.713-31.47 31.996L836 288H366.667c-17.673 0-32-14.327-32-32 0-17.496 14.041-31.713 31.47-31.996l0.53-0.004H836z","p-id":"10173",fill:"#cdcdcd"}})])])])])},w=[],j={components:{},props:{currentSong:Object,playing:Boolean,duration:Number,currentTime:Number,llv:Number},data:function(){return{cutover:!1}}},L=j,C=(n("348d"),Object(h["a"])(L,f,w,!1,null,"7f10c755",null)),I=C.exports,z=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"play-list"},[n("div",{staticClass:"mask animate__animated animate__fadeIn",on:{click:function(e){return e.stopPropagation(),t.$emit("toggle-show-play-list",!1)}}}),n("div",{staticClass:"swiper animate__animated animate__slideInUp"},[n("div",{staticClass:"card"},[n("ul",{staticClass:"list"},t._l(t.currentPlayList,(function(e,i){return n("SongListItem",{key:e.id,attrs:{item:e,currentSongId:t.currentSong.id,playing:t.playing},on:{"change-current-song":function(e){return t.$emit("change-current-song",e)}}},[t._v(t._s((i+1).toString().padStart(2,"0")))])})),1)])])])},N=[],_=n("16a2"),S={components:{SongListItem:_["a"]},props:{showPlayList:Boolean,currentPlayList:Array,currentSong:Object,playing:Boolean}},x=S,A=(n("eb7b"),Object(h["a"])(x,z,N,!1,null,"06ac2ea2",null)),D=A.exports,b={components:{PlayBar:v,PlayPage:I,PlayList:D},props:{currentSong:Object,playing:Boolean,duration:Number,currentTime:Number,currentPlayList:Array,llv:Number},data:function(){return{showPlayList:!1,showPlayPage:!1}}},T=b,P=Object(h["a"])(T,u,g,!1,null,null,null),k=P.exports,E={components:{Play:k},data:function(){return{currentSong:null,currentPlayList:[],playing:!1,currentTime:0,duration:0,llv:0}},computed:{currentSongUrl:function(){return this.currentSong?"https://music.163.com/song/media/outer/url?id=".concat(this.currentSong.id,".mp3"):null}},methods:{changeCurrentSong:function(t){this.currentSong=t,this.$refs.app.style.paddingBottom="40px"},changeCurrentPlayList:function(t){this.currentPlayList=t},togglePlayingState:function(){this.playing?this.$refs.audio.pause():this.$refs.audio.play()},timeupdate:function(t){this.currentTime=t.target.currentTime;var e=this.$refs.audio.currentTime/this.$refs.audio.duration*100;this.llv=e},durationchange:function(t){this.duration=t.target.duration},nextSong:function(){var t=this,e=this.currentPlayList.findIndex((function(e){return e.id===t.currentSong.id}));e++,e=e<=0?this.currentPlayList.length-1:e,e=e>=this.currentPlayList.length-1?0:e,console.log(e),this.changeCurrentSong(this.currentPlayList[e])},prevSong:function(){var t=this,e=this.currentPlayList.findIndex((function(e){return e.id===t.currentSong.id}));e--,e=e>=this.currentPlayList.length-1?0:e,e=e<=0?this.currentPlayList.length-1:e,this.changeCurrentSong(this.currentPlayList[e])}}},O=E,Y=(n("7c55"),Object(h["a"])(O,o,l,!1,null,null,null)),U=Y.exports,$=(n("3ca3"),n("ddb0"),n("8c4f")),B=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"home"},[n("HomeTitle",[t._v("编辑推荐")]),n("ul",{staticClass:"home-cardlist"},t._l(t.personalizeds,(function(e){return n("transition",{key:e.id,attrs:{name:"custom-classes-transition","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut"}},[n("CardListItem",{attrs:{item:e},on:{"toggle-show-play-card":function(e){t.showPlayCard=e}}})],1)})),1),n("HomeTitle",[t._v("最新音乐")]),n("ul",{staticClass:"home-songlist"},t._l(t.newsongs,(function(e){return n("SongListItem",{key:e.id,attrs:{item:e,currentSongId:t.currentSongId,playing:t.playing},on:{"change-current-song":function(e){t.$emit("change-current-song",e),t.$emit("change-current-play-list",t.newsongs)}}})})),1)],1)},Q=[],Z=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("h3",{staticClass:"home-title"},[t._t("default")],2)},H=[],V={},R=V,W=(n("e619"),Object(h["a"])(R,Z,H,!1,null,"4350ae43",null)),J=W.exports,G=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"card-item",on:{click:function(e){return t.$router.push("/playlist?id="+t.item.id)}}},[n("div",{staticClass:"thumb"},[n("img",{staticClass:"bg",attrs:{src:t.item.picUrl+"?imageView=1&type=webp&thumbnail=246x0"}}),n("span",[n("img",{staticStyle:{width:"11px"},attrs:{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMiAyMCI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBmaWxsPSIjMDQwMDAwIiBkPSJNMjIgMTYuNzc3YzAgMS4yMzMtMS4xMjEgMi4yMzMtMi41MDYgMi4yMzMtMS4zODQgMC0yLjUwNi0xLTIuNTA2LTIuMjMzdi0yLjU1M2MwLTEuMjM0IDEuMTIyLTIuMjMzIDIuNTA2LTIuMjMzLjE3NCAwIC4zNDMuMDE3LjUwNi4wNDZ2LTEuMzdoLS4wMzNjLjAxNy0uMjIuMDMzLS40NDEuMDMzLS42NjZhOCA4IDAgMCAwLTE2IDBjMCAuMjI1LjAxNi40NDYuMDM0LjY2Nkg0djEuMzdjLjE2My0uMDI5LjMzMy0uMDQ2LjUwNS0uMDQ2IDEuMzg0IDAgMi41MDYuOTk5IDIuNTA2IDIuMjMzdjIuNTUzYzAgMS4yMzMtMS4xMjIgMi4yMzMtMi41MDYgMi4yMzNTMiAxOC4wMTEgMiAxNi43Nzd2LTIuNTUzYzAtLjI1OC4wNTktLjUwMS4xNDgtLjczQS45ODIuOTgyIDAgMCAxIDIgMTMuMDAxdi0yLjY2N2MwLS4wMjMuMDEyLS4wNDMuMDEzLS4wNjctLjAwNC0uMDg4LS4wMTMtLjE3Ni0uMDEzLS4yNjYgMC01LjUyMyA0LjQ3Ny0xMCAxMC0xMHMxMCA0LjQ3NyAxMCAxMGMwIC4wOS0uMDA5LjE3OC0uMDE0LjI2Ni4wMDIuMDI0LjAxNC4wNDQuMDE0LjA2N3YyYS45ODguOTg4IDAgMCAxLS4zNi43NTNjLjIyNC4zMzQuMzYuNzIuMzYgMS4xMzh2Mi41NTIiIG9wYWNpdHk9Ii4xNSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgZmlsbD0iI2ZmZiIgZD0iTTIwIDE2Ljc3N2MwIDEuMjMzLTEuMTIxIDIuMjMzLTIuNTA2IDIuMjMzLTEuMzg0IDAtMi41MDYtMS0yLjUwNi0yLjIzM3YtMi41NTNjMC0xLjIzNCAxLjEyMi0yLjIzMyAyLjUwNi0yLjIzMy4xNzQgMCAuMzQzLjAxNy41MDYuMDQ2di0xLjM3aC0uMDMzYy4wMTctLjIyLjAzMy0uNDQxLjAzMy0uNjY2YTggOCAwIDAgMC0xNiAwYzAgLjIyNS4wMTYuNDQ2LjAzNC42NjZIMnYxLjM3Yy4xNjMtLjAyOS4zMzMtLjA0Ni41MDUtLjA0NiAxLjM4NCAwIDIuNTA2Ljk5OSAyLjUwNiAyLjIzM3YyLjU1M2MwIDEuMjMzLTEuMTIyIDIuMjMzLTIuNTA2IDIuMjMzUzAgMTguMDExIDAgMTYuNzc3di0yLjU1M2MwLS4yNTguMDU5LS41MDEuMTQ4LS43M0EuOTgyLjk4MiAwIDAgMSAwIDEzLjAwMXYtMi42NjdjMC0uMDIzLjAxMi0uMDQzLjAxMy0uMDY3LS4wMDQtLjA4OC0uMDEzLS4xNzYtLjAxMy0uMjY2IDAtNS41MjMgNC40NzctMTAgMTAtMTBzMTAgNC40NzcgMTAgMTBjMCAuMDktLjAwOS4xNzgtLjAxNC4yNjYuMDAyLjAyNC4wMTQuMDQ0LjAxNC4wNjd2MmEuOTg4Ljk4OCAwIDAgMS0uMzYuNzUzYy4yMjQuMzM0LjM2LjcyLjM2IDEuMTM4djIuNTUyIi8+PC9zdmc+",alt:""}}),t._v(" "+t._s(t._f("parseCount")(t.item.playCount)))])]),n("p",[t._v(t._s(t.item.name))])])},q=[],X=(n("b680"),{props:{item:{type:Object,required:!0}},filters:{parseCount:function(t){return t>1e8?(t/1e8).toFixed(1)+"亿":t>1e4?(t/1e4).toFixed(1)+"万":t}}}),F=X,K=(n("4bde"),Object(h["a"])(F,G,q,!1,null,null,null)),tt=K.exports,et={name:"Home",components:{HomeTitle:J,CardListItem:tt,SongListItem:_["a"]},props:{currentSongId:{type:Number},playing:Boolean},data:function(){return{personalizeds:[],newsongs:[],showPlayCard:!1}},created:function(){var t=this;this.axios.get("http://apis.netstart.cn/music/personalized?limit=6").then((function(e){t.personalizeds=e.data.result})),this.axios.get("http://apis.netstart.cn/music/personalized/newsong").then((function(e){t.newsongs=e.data.result}))}},nt=et,it=(n("1178"),Object(h["a"])(nt,B,Q,!1,null,"0624d168",null)),st=it.exports,at=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"search",on:{scroll:t.scroll}},[n("section",{staticClass:"f-input",attrs:{action:"#",method:"get"}},[n("div",{staticClass:"inputcover"},[n("i",{staticClass:"u-svg"}),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.value,expression:"value",modifiers:{trim:!0}}],attrs:{type:"text",placeholder:"搜索歌曲、歌手、专辑"},domProps:{value:t.value},on:{keyup:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.value&&(t.searching=!0)},focus:function(e){t.inputing=!0},blur:[function(e){t.inputing=!1},function(e){return t.$forceUpdate()}],input:function(e){e.target.composing||(t.value=e.target.value.trim())}}})])]),t.value||t.searching?t._e():n("section",{staticClass:"hots"},[n("h5",[t._v("热门搜索")]),n("ul",t._l(t.hots,(function(e){return n("li",{key:e.first,on:{click:function(n){t.searching=!0,t.value=e.first}}},[t._v(" "+t._s(e.first)+" ")])})),0),n("ol",{staticClass:"history"},t._l(t.history,(function(e,i){return n("li",{key:e,on:{click:function(n){n.stopPropagation(),t.searching=!0,t.value=e}}},[n("i",{staticClass:"svg-histy"}),n("div",{staticClass:"histyr"},[n("span",{ref:"span",refInFor:!0,attrs:{id:i}},[t._v(" "+t._s(e))]),n("figure",{staticClass:"close",on:{click:function(e){return e.stopPropagation(),t.historyMove.apply(null,arguments)}}},[n("i",{staticClass:"svg-close",attrs:{id:i}})])])])})),0)]),t.value&&!t.searching?n("section",{staticClass:"suggests"},[n("h3",{staticClass:"title"},[t._v("搜索“"+t._s(t.value)+"”")]),n("ul",t._l(t.suggests,(function(e,i){return n("li",{key:i,on:{click:function(n){t.searching=!0,t.value=e.keyword}}},[n("i",{staticClass:"svg-search"}),n("span",[t._v(t._s(e.keyword))])])})),0)]):t._e(),t.searching?n("section",{staticClass:"searchResults"},[n("ul",t._l(t.searchResults,(function(e,i){return n("SongListItem",{key:i,attrs:{item:e,currentSongId:t.currentSongId,playing:t.playing},on:{"change-current-song":function(e){t.$emit("change-current-song",e),t.$emit("change-current-play-list",t.searchResults)}}})})),1),t.hasMore?t._e():n("p",[t._v("没有更多了")])]):t._e()])},rt=[],ct=n("2909"),ot=(n("159b"),n("6062"),n("99af"),{props:{currentSongId:{type:Number},playing:Boolean},components:{SongListItem:_["a"]},data:function(){return{hots:[],suggests:[],searchResults:[],value:"",searching:!1,inputing:!1,page:0,hasMore:!1,history:JSON.parse(window.localStorage.getItem("history"))||[],historymoves:[]}},methods:{historyMove:function(t){var e=this;this.historymoves=[],this.$refs.span.forEach((function(n){t.target.id===n.id?e.history[1]||window.localStorage.setItem("history",JSON.stringify("")):(e.historymoves=Object(ct["a"])(new Set([].concat(Object(ct["a"])(e.historymoves),[n.innerText]))),window.localStorage.setItem("history",JSON.stringify(e.historymoves)))})),this.history=JSON.parse(window.localStorage.getItem("history"))},scroll:function(t){this.hasMore?t.target.offsetHeight+t.target.scrollTop===t.target.scrollHeight&&(console.log("触底"),this.getSearch()):console.log("没有更多了")},getSearch:function(){var t=this;this.axios.get("http://apis.netstart.cn/music/search",{params:{keywords:this.value,limit:30,offset:30*this.page}}).then((function(e){var n;(n=t.searchResults).push.apply(n,Object(ct["a"])(e.data.result.songs)),t.page++,t.hasMore=e.data.result.hasMore})),this.history=Object(ct["a"])(new Set([].concat(Object(ct["a"])(this.history),[this.value]))),window.localStorage.setItem("history",JSON.stringify(this.history))}},created:function(){var t=this;this.axios.get("http://apis.netstart.cn/music/search/hot").then((function(e){t.hots=e.data.result.hots}))},watch:{value:function(t){var e=this;this.inputing&&(this.searching=!1),t&&!this.searching?this.axios.get("http://apis.netstart.cn/music/search/suggest",{params:{keywords:t,type:"mobile"}}).then((function(t){e.suggests=t.data.result.allMatch})):this.suggests=[]},searching:function(t){t&&this.value?this.getSearch():this.searchResults=[]}}}),lt=ot,ut=(n("498b"),Object(h["a"])(lt,at,rt,!1,null,"2e17fd83",null)),gt=ut.exports,dt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.detail?n("div",[n("PlayListHeader",{attrs:{item:t.detail},on:{"toggle-show-play-card":function(e){t.showPlayCard=e}}}),n("PlayListSubtitle",[t._v("歌曲列表")]),n("ul",t._l(t.detail.tracks,(function(e,i){return n("SongListItem",{key:e.id,attrs:{item:e,currentSongId:t.currentSongId,playing:t.playing},on:{"change-current-song":function(n){t.$emit("change-current-song",e),t.$emit("change-current-play-list",t.detail.tracks)}}},[t._v(t._s(i+1))])})),1),Boolean(t.comment.hotComments[0])?n("PlayListSubtitle",[t._v("精彩评论")]):t._e(),n("ul",t._l(t.comment.hotComments,(function(t){return n("WonderfulComment",{key:t.id,attrs:{item:t}})})),1),n("PlayListSubtitle",[t._v("最新评论")]),n("ul",t._l(t.comment.comments,(function(t){return n("WonderfulComment",{key:t.id,attrs:{item:t}})})),1)],1):t._e()},Mt=[],pt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"plhrader"},[n("div",{staticClass:"mask",style:{backgroundImage:"url("+t.item.coverImgUrl+"?imageView=1&type=webp&thumbnail=240x0"}}),n("div",{staticClass:"left"},[n("img",{staticClass:"bg",attrs:{src:t.item.coverImgUrl+"?imageView=1&type=webp&thumbnail=246x0"}}),n("span",[n("img",{staticStyle:{width:"11px"},attrs:{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMiAyMCI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBmaWxsPSIjMDQwMDAwIiBkPSJNMjIgMTYuNzc3YzAgMS4yMzMtMS4xMjEgMi4yMzMtMi41MDYgMi4yMzMtMS4zODQgMC0yLjUwNi0xLTIuNTA2LTIuMjMzdi0yLjU1M2MwLTEuMjM0IDEuMTIyLTIuMjMzIDIuNTA2LTIuMjMzLjE3NCAwIC4zNDMuMDE3LjUwNi4wNDZ2LTEuMzdoLS4wMzNjLjAxNy0uMjIuMDMzLS40NDEuMDMzLS42NjZhOCA4IDAgMCAwLTE2IDBjMCAuMjI1LjAxNi40NDYuMDM0LjY2Nkg0djEuMzdjLjE2My0uMDI5LjMzMy0uMDQ2LjUwNS0uMDQ2IDEuMzg0IDAgMi41MDYuOTk5IDIuNTA2IDIuMjMzdjIuNTUzYzAgMS4yMzMtMS4xMjIgMi4yMzMtMi41MDYgMi4yMzNTMiAxOC4wMTEgMiAxNi43Nzd2LTIuNTUzYzAtLjI1OC4wNTktLjUwMS4xNDgtLjczQS45ODIuOTgyIDAgMCAxIDIgMTMuMDAxdi0yLjY2N2MwLS4wMjMuMDEyLS4wNDMuMDEzLS4wNjctLjAwNC0uMDg4LS4wMTMtLjE3Ni0uMDEzLS4yNjYgMC01LjUyMyA0LjQ3Ny0xMCAxMC0xMHMxMCA0LjQ3NyAxMCAxMGMwIC4wOS0uMDA5LjE3OC0uMDE0LjI2Ni4wMDIuMDI0LjAxNC4wNDQuMDE0LjA2N3YyYS45ODguOTg4IDAgMCAxLS4zNi43NTNjLjIyNC4zMzQuMzYuNzIuMzYgMS4xMzh2Mi41NTIiIG9wYWNpdHk9Ii4xNSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgZmlsbD0iI2ZmZiIgZD0iTTIwIDE2Ljc3N2MwIDEuMjMzLTEuMTIxIDIuMjMzLTIuNTA2IDIuMjMzLTEuMzg0IDAtMi41MDYtMS0yLjUwNi0yLjIzM3YtMi41NTNjMC0xLjIzNCAxLjEyMi0yLjIzMyAyLjUwNi0yLjIzMy4xNzQgMCAuMzQzLjAxNy41MDYuMDQ2di0xLjM3aC0uMDMzYy4wMTctLjIyLjAzMy0uNDQxLjAzMy0uNjY2YTggOCAwIDAgMC0xNiAwYzAgLjIyNS4wMTYuNDQ2LjAzNC42NjZIMnYxLjM3Yy4xNjMtLjAyOS4zMzMtLjA0Ni41MDUtLjA0NiAxLjM4NCAwIDIuNTA2Ljk5OSAyLjUwNiAyLjIzM3YyLjU1M2MwIDEuMjMzLTEuMTIyIDIuMjMzLTIuNTA2IDIuMjMzUzAgMTguMDExIDAgMTYuNzc3di0yLjU1M2MwLS4yNTguMDU5LS41MDEuMTQ4LS43M0EuOTgyLjk4MiAwIDAgMSAwIDEzLjAwMXYtMi42NjdjMC0uMDIzLjAxMi0uMDQzLjAxMy0uMDY3LS4wMDQtLjA4OC0uMDEzLS4xNzYtLjAxMy0uMjY2IDAtNS41MjMgNC40NzctMTAgMTAtMTBzMTAgNC40NzcgMTAgMTBjMCAuMDktLjAwOS4xNzgtLjAxNC4yNjYuMDAyLjAyNC4wMTQuMDQ0LjAxNC4wNjd2MmEuOTg4Ljk4OCAwIDAgMS0uMzYuNzUzYy4yMjQuMzM0LjM2LjcyLjM2IDEuMTM4djIuNTUyIi8+PC9zdmc+"}}),t._v(" "+t._s(t._f("parseCount")(t.item.playCount))+" ")])]),n("div",{staticClass:"right"},[n("p",{staticClass:"name"},[t._v(t._s(t.item.name))]),n("span",[n("div",[n("img",{attrs:{src:t.item.creator.avatarUrl}})]),n("p",[t._v(t._s(t._f("textNickname")(t.item.creator.nickname)))])])])])},mt=[],ht=(n("ac1f"),n("1276"),n("a15b"),n("a434"),{props:{item:{type:Object,required:!0}},filters:{parseCount:function(t){return t>1e8?(t/1e8).toFixed(1)+"亿":t>1e4?(t/1e4).toFixed(1)+"万":t},textNickname:function(t){return t.split("")[7]?t.split("").splice(0,[7]).join("")+"...":t}}}),yt=ht,vt=(n("f181"),Object(h["a"])(yt,pt,mt,!1,null,"74fa8e4d",null)),ft=vt.exports,wt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"list"},[t._t("default")],2)},jt=[],Lt={},Ct=Lt,It=(n("e321"),Object(h["a"])(Ct,wt,jt,!1,null,"02fef41e",null)),zt=It.exports,Nt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"left"},[n("img",{attrs:{src:t.item.user.avatarUrl}})]),n("div",{staticClass:"right"},[n("div",{staticClass:"top"},[n("div",{staticClass:"l"},[n("p",[t._v(t._s(t.item.user.nickname))]),n("span",[t._v(t._s(t._f("timeTier")(t.item.time)))])]),n("div",{staticClass:"r"},[n("span",[t._v(t._s(t.item.likedCount))]),n("svg",{staticClass:"u-svg u-svg-unzancmt",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 28"}},[n("path",{attrs:{fill:"#999",d:"m25.857 14.752c-.015.059-1.506 5.867-2.932 8.813-1.162 2.402-3 2.436-3.099 2.436h-12.826v-13c3 0 5.728-4 5.728-7.275 0-3.725 1.433-3.725 2.142-3.725 1.327 0 1.978 1.345 1.978 4 0 2.872-.832 4.525-.839 4.537-.161.31-.155.682.027.981.181.299.5.482.849.482h6.942c.922 0 1.551.215 1.866.64.467.626.286 1.705.164 2.112m-23.857 10.248v-10c0-1.795.659-1.981.855-2h2.145v13h-2.173c-.829 0-.827-.648-.827-1m25.309-13.54c-.713-.969-1.886-1.46-3.482-1.46h-5.519c.26-.932.519-2.285.519-4 0-5.221-2.507-6-4-6-1.909 0-4.185.993-4.185 5.725 0 2.206-1.923 5.275-3.815 5.275h-4-.011c-1.034.011-2.816.862-2.816 4v10.02c0 1.198.675 2.979 2.827 2.979h16.971.035c.364 0 3.224-.113 4.894-3.564 1.514-3.127 3.01-8.942 3.056-9.14.071-.23.664-2.289-.474-3.836"}})])])]),t.item.beReplied[0]?t._e():n("div",{staticClass:"txt"},[t._v(t._s(t.item.content))]),t.item.beReplied[0]?n("div",{staticClass:"txt"},t._l(t.item.beReplied,(function(e){return n("div",{key:e.commentId,staticClass:"reply"},[n("p",[t._v(" 回复"),n("span",[t._v("@"+t._s(e.user.nickname))]),t._v("："+t._s(t.item.content)+" ")]),n("div",{staticClass:"reping"},[t._v("@"+t._s(e.user.nickname)+"："+t._s(e.content))])])})),0):t._e()])])},_t=[],St={props:{item:{type:Object,required:!0}},filters:{timeTier:function(t){var e=new Date(t),n=e.getFullYear()+"年",i=e.getMonth()+1+"月",s=e.getDate()+"日";return[n,i,s].join("")}}},xt=St,At=(n("5dab"),Object(h["a"])(xt,Nt,_t,!1,null,"b1902d28",null)),Dt=At.exports,bt={components:{SongListItem:_["a"],PlayListHeader:ft,WonderfulComment:Dt,PlayListSubtitle:zt},props:{currentSongId:{type:Number},playing:Boolean},data:function(){return{detail:null,comment:[],showPlayCard:!1}},computed:{},methods:{getPlayListDetail:function(t){var e=this;this.axios.get("http://apis.netstart.cn/music/playlist/detail",{params:{id:t}}).then((function(t){e.detail=t.data.playlist})),this.axios.get("http://apis.netstart.cn/music/comment/playlist",{params:{id:t}}).then((function(t){e.comment=t.data}))}},created:function(){this.getPlayListDetail(this.$route.query.id)}},Tt=bt,Pt=Object(h["a"])(Tt,dt,Mt,!1,null,"d2903df8",null),kt=Pt.exports;i["a"].use($["a"]);var Et=[{path:"/",name:"Home",component:st,meta:{showNavBar:!0}},{path:"/hot",name:"Hot",component:function(){return n.e("hot").then(n.bind(null,"0b70"))},meta:{showNavBar:!0}},{path:"/search",name:"Search",component:gt,meta:{showNavBar:!0}},{path:"/playlist",name:"PlayList",component:kt}],Ot=new $["a"]({routes:Et}),Yt=Ot;i["a"].config.productionTip=!1,new i["a"]({router:Yt,render:function(t){return t(U)}}).$mount("#app")},"5dab":function(t,e,n){"use strict";n("b2ef")},"77d1":function(t,e,n){},"7c55":function(t,e,n){"use strict";n("2395")},8580:function(t,e,n){},a0e7:function(t,e,n){},a462:function(t,e,n){"use strict";n("8580")},b2ef:function(t,e,n){},ba7a:function(t,e,n){},e321:function(t,e,n){"use strict";n("3ae9")},e619:function(t,e,n){"use strict";n("19cb")},eb7b:function(t,e,n){"use strict";n("a0e7")},f042:function(t,e,n){},f181:function(t,e,n){"use strict";n("5268")},fad5:function(t,e,n){"use strict";n("f042")}});
  //# sourceMappingURL=app.944645ed.js.map