text: (window.webpackJsonp=window.webpackJsonp||[]).push([[0],[,,function(t,e){t.exports=Vue},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,i){"use strict";i.r(e);var a=i(183),n=i(85);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},,,,,,,,,,,,,,,,,function(t,e,i){"use strict";i.r(e);var a=i(190),n=i(83);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);i(299);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},,,,,,,,,,,,function(t,e,i){"use strict";i.r(e);var a=i(188),n=i(79);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);i(297);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},,,,,,,,,,,,,,function(t,e,i){"use strict";i.r(e);var a=i(76),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(i(293)),n=s(i(49));function s(t){return t&&t.__esModule?t:{default:t}}e.default={name:"Index",components:{Account:a.default,BottomPlayer:n.default},data:function(){return{tabsArr:[{text:"我的",to:"/my"},{text:"发现",to:"/find"},{text:"朋友",to:"/friend"},{text:"视频",to:"/video"}],isShowSidebar:!1}},computed:{},mounted:function(){this.$route.path;console.log()},methods:{showSidebar:function(){this.$refs.accountSidebar.show(),this.$store.commit("changeIsShowSidebar",!0)},hiddenSidebar:function(){this.$store.commit("changeIsShowSidebar",!1)},focus:function(t,e){return this.$route.path===t.to||"/music/index"===this.$route.path&&1===e?"focus":""}}}},function(t,e,i){"use strict";i.r(e);var a=i(78),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=r(i(20)),n=r(i(61)),s=i(18);function r(t){return t&&t.__esModule?t:{default:t}}e.default={name:"Account",props:{},data:function(){return{toolsList:[{icon:"chat-o",title:"我的消息"},{icon:"user-o",title:"我的好友"},{icon:"edit",title:"个性换肤"},{icon:"question-o",title:"听歌识曲"}],setList:[{title:"商城",icon:"shopping-cart-o"},{title:"演出",icon:"music-o"},{title:"附近的人",icon:"location"},{title:"我的订单",icon:"cart-o"},{title:"定时停止播放",icon:"clock-o"},{title:"扫一扫",icon:"./static/images/icon/icon_scan.svg"},{title:"音乐闹钟",icon:"underway"},{title:"音乐云盘",icon:"points"},{title:"在线听歌免流量",icon:"service-o"},{title:"游戏推荐",icon:"star-o"},{title:"优惠券",icon:"label-o"},{title:"加入网易音乐人",icon:"manager-o"},{title:"我要直播",icon:"cashier-o"}],user:{nickname:"Alan",headImg:"./static/images/head-img-1.jpeg",level:7},activeFlag:!1}},created:function(){},mounted:function(){},methods:{hidden:function(){this.activeFlag=!1;var t=this;setTimeout(function(){t.$store.commit("changeIsShowSidebar",!1)},500)},show:function(){this.activeFlag=!0,this.$store.commit("changeIsShowSidebar",!0)}},computed:(0,a.default)({contentLeft:function(){return this.activeFlag?0:"-10rem"},containerLeft:function(){return this.isShowSidebar?0:"-10rem"}},(0,s.mapState)(["isShowSidebar"])),components:{Circular:n.default}}},function(t,e,i){"use strict";i.r(e);var a=i(80),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"Circular",props:{icon:{type:String,required:!0},title:{type:String,required:!0}}}},function(t,e,i){},function(t,e,i){},function(t,e,i){"use strict";i.r(e);var a=i(84),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=r(i(20)),n=r(i(32)),s=i(18);function r(t){return t&&t.__esModule?t:{default:t}}e.default={name:"Bottomplayer",data:function(){return{}},computed:(0,a.default)({},(0,s.mapState)(["playState"]),(0,s.mapState)(["music"])),watch:{},created:function(){},mounted:function(){var t=null;localStorage.user?t=JSON.parse(localStorage.user).recentPlay[0]:t={id:27808044,name:"丑八怪",url:"http://m7.music.126.net/20190903201737/682be7f263a1ee6a23dfdc14fa8859d3/ymusic/9789/6f81/73b8/1e02e771252c10dc09bdd8f8db8888d2.flac",picUrl:"http://p2.music.126.net/WPHmBisDxnoF4DrBLKwl3Q==/109951163169021112.jpg",album:"意外",mv:193084,quality:"SQ",author:"薛之谦"};this.$store.commit("changeMusic",t)},methods:{start:function(){this.$store.commit("changePlayState",!0)},stop:function(){this.$store.commit("changePlayState",!1)},gotoPlayer:function(){n.default.$emit("showMainPlayer")}}}},function(t,e,i){"use strict";i.r(e);var a=i(86),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.globalBus=void 0;var a,n=i(2),s=(a=n)&&a.__esModule?a:{default:a};var r=e.globalBus=new s.default;e.default=r},function(t,e,i){},function(t,e,i){},function(t,e,i){"use strict";i.r(e);var a=i(90),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=m(i(20)),n=m(i(38)),s=m(i(263)),r=m(i(17)),o=m(i(212)),c=m(i(302));i(213),i(214),i(215),i(305);m(i(307));var u=m(i(32)),l=m(i(2)),d=i(18),f=(i(308),m(i(309)));function m(t){return t&&t.__esModule?t:{default:t}}l.default.use(s.default).use(r.default).use(o.default).use(c.default),e.default={name:"Index",components:{AudioPlayer:f.default},data:function(){return{musicListName:"",wordArr:[],isShowWord:!1,processLength:100,rotateDeg:0,rotateInterval:null,playProcess:0,timeNow:"00:00",timeTotal:"00:00",currentTime:0,totalTime:1,wordFocusIndex:0,contentHeight:0,isHidden:!0,changeMusicModel:"order"}},created:function(){var i=this,e=this;u.default.$on("showMainPlayer",function(t){e.showPlayer()}),u.default.$on("playMusic",function(t,e){i.playMusic(t)})},mounted:function(){this.init()},methods:{init:function(){var t=this,e=this.audio;e.load(),e.oncanplay=function(){t.totalTime=e.duration||0,t.timeTotal=t.secondToMinute(t.totalTime)},this.timeNow=this.secondToMinute(e.currentTime),this.contentHeight=this.$refs.mainContent.clientHeight},getSongWord:function(t){var i=this,e="/music/lyric?id="+t;this.$ajax.get(e).then(function(t){var e=t.lrc.lyric.split("\n");e.pop(),i.wordArr=e.map(function(t){return{startTime:i.minuteToSecond(t.match(/\[(\S*)]/)[1]),text:t.match(/](\S*)/)[1]}})}).catch(function(t){console.log(t)})},start:function(){this.playState||this.$store.commit("changePlayState",!0),this.audio.playAsync(),this.rotate()},reStart:function(){this.audio.currentTime=0,this.rotateDeg=0,this.start()},stop:function(){this.playState&&this.$store.commit("changePlayState",!1),this.audio.pause(),clearInterval(this.rotateInterval)},previous:function(){var t=null;if("random"===this.changeMusicModel){var e=this.randomNum(0,this.currentPlayList.length-1);t=this.currentPlayList[e]}else{var i=this.currentMusicIndex<=0?this.currentPlayList.length-1:this.currentMusicIndex-1;this.$store.commit("changeCurrentMusicIndex",i),t=this.currentPlayList[this.currentMusicIndex]}this.playMusic(t)},next:function(){var t=null;if("random"===this.changeMusicModel){var e=this.randomNum(0,this.currentPlayList.length-1);t=this.currentPlayList[e]}else{var i=this.currentMusicIndex>=this.currentPlayList.length-1?0:this.currentMusicIndex+1;this.$store.commit("changeCurrentMusicIndex",i),t=this.currentPlayList[this.currentMusicIndex]}this.playMusic(t)},playMusic:function(i){var a=this;a.$ajax.get("/music/song/url?id="+i.id).then(function(t){var e=t.data[0];e.url?(i.url=e.url,a.changeMusic(i),a.addToRecentPlay(),a.reStart(),a.getSongWord(a.music.id)):(a.errorMsg("抱歉，《"+i.name+"》还没有版权～"),a.stop())}).catch(function(t){console.log(t)})},rotate:function(){var t=this;clearInterval(this.rotateInterval),this.rotateInterval=setInterval(function(){t.rotateDeg+=1,360<=t.rotateDeg&&(t.rotateDeg=0),t.playProcess=t.processLength*(t.audio.currentTime/t.totalTime),t.timeNow=t.secondToMinute(t.audio.currentTime),t.wordFocusIndex=t.focusIndex(),t.playProcess>=t.processLength-.1&&t.autoChangeMusic()},50)},processChange:function(t){this.audio.currentTime=this.totalTime*t/this.processLength,this.timeNow=this.secondToMinute(this.audio.currentTime)},showWord:function(){this.isShowWord=!this.isShowWord,this.isShowWord&&0===this.wordArr.length&&this.getSongWord(this.music.id)},secondToMinute:function(t){var e=(t=parseInt(t))%60;return i(parseInt(t/60))+":"+i(e);function i(t){return 0===t?t="00":t<10&&(t="0"+t),t}},minuteToSecond:function(t){var e=t.split(":");return 60*Number(e[0])+Number(e[1])},focusIndex:function(){for(var t=0;t<this.wordArr.length-1;t++){var e=this.wordArr[t+1];if(this.audio.currentTime<e.startTime)return t}},share:function(){(0,s.default)("分享成功")},collection:function(){(0,s.default)("收藏成功")},download:function(){(0,s.default)("下载成功")},changePlayModel:function(){switch(this.changeMusicModel){case"order":this.changeMusicModel="random",(0,s.default)("随机播放");break;case"random":this.changeMusicModel="loop",(0,s.default)("单曲循环");break;case"loop":this.changeMusicModel="order",(0,s.default)("列表循环");break;default:this.changeMusicModel="order"}},autoChangeMusic:function(){if("order"===this.changeMusicModel)this.next();else if("random"===this.changeMusicModel){var t=this.randomNum(0,this.currentPlayList.length-1);this.playMusic(this.currentPlayList[t])}else this.processChange(0)},addToRecentPlay:function(){if(this.music.id){var t=null;if(localStorage.user){var e=(t=JSON.parse(localStorage.user)).recentPlay;e[0].name!==this.music.name&&(e.unshift(this.music),20<e.length&&e.pop(),t.name="Alan",t.recentPlay=e,t.musicListIsListening=this.currentPlayList,localStorage.user=(0,n.default)(t))}}},showPlayer:function(){this.isHidden=!1},back:function(){this.isHidden=!0},changeMusic:function(t){this.$store.commit("changeMusic",t)},randomNum:function(t,e){return parseInt(Math.random()*(e-t+1)+t,10)}},computed:(0,a.default)({controlPosition:function(){return{marginTop:parseInt(this.contentHeight/2-.8*this.wordFocusIndex*document.documentElement.clientWidth/10)+"px"}}},(0,d.mapState)(["playState"]),(0,d.mapState)(["audio"]),(0,d.mapState)(["music"]),(0,d.mapState)(["currentPlayList"]),(0,d.mapState)(["currentMusicIndex"])),watch:{playState:function(){this.playState?this.start():this.stop()},music:function(){}}}},function(t,e,i){"use strict";i.r(e);var a=i(92),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"Audio",data:function(){return{audio:null}},mounted:function(){this.audio=this.$refs.audio,this.currentTime=this.audio.currentTime},methods:{play:function(){this.audio.play()},stop:function(){this.audio.pause()}}}},function(t,e,i){"use strict";i.r(e);var a=i(94),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a,n=i(20),s=(a=n)&&a.__esModule?a:{default:a},r=i(18);e.default={name:"RouteLink",data:function(){return{}},mounted:function(){var t=this;this.$refs.audio.playAsync=function(){setTimeout(function(){t.$refs.audio.play()},500)},this.$store.commit("setAudio",this.$refs.audio)},methods:{},computed:(0,s.default)({},(0,r.mapState)(["music"]),(0,r.mapState)(["playState"]),(0,r.mapState)(["audio"])),watch:{}}},function(t,e,i){},function(t,e,i){"use strict";i.r(e);var a=i(97),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=d(i(20)),n=d(i(38)),s=d(i(311)),r=d(i(212));i(312),i(215);var o=d(i(49)),c=d(i(32)),u=d(i(2)),l=i(18);function d(t){return t&&t.__esModule?t:{default:t}}u.default.use(s.default).use(r.default),e.default={name:"Menu",components:{BottomPlayer:o.default},data:function(){return{playlist:[],musicIsListeningIndex:-1}},mounted:function(){if(this.id=this.$route.query.id,this.type=this.$route.query.type,this.title=this.$route.query.title,"recent"===this.type){var t=localStorage.user,e=null;e=t?JSON.parse(t):{name:"Alan",recentPlay:[]},this.playlist=e.recentPlay}else this.getPlayList();this.getRecentMusic()},created:function(){},methods:{playMusic:function(t,e){this.music.id!==t.id&&(this.$store.commit("changeMusic",t),this.$store.commit("changePlayState",!0),c.default.$emit("playMusic",t),this.$store.commit("changeCurrentMusicIndex",e)),!0!==this.isSameList&&(this.$store.commit("changeCurrentPlayList",this.playlist),this.saveCurrentPlayList(this.currentPlayList)),this.musicIsListeningIndex=e},back:function(){this.$router.back()},getPlayList:function(){var e=this;console.log(this.$route.query.id,this.$route.query);var t="/music/playlist/detail?id="+(this.$route.query.id||243816);this.$ajax.get(t).then(function(t){console.log(t),e.playlist=t.playlist.tracks.map(function(t){return{id:t.id,name:t.name,url:t.url,picUrl:t.al.picUrl,album:t.al.name,mv:t.mv,quality:"SQ",author:t.ar.map(function(t){return t.name}).join(" ")}}),e.getRecentMusic()}).catch(function(t){console.log(t)})},getRecentMusic:function(){if(this.isSameList)for(var t=0;t<this.playlist.length;t++)if(this.playlist[t].id===this.music.id){this.$store.commit("changeCurrentMusicIndex",t);break}},saveCurrentPlayList:function(t){var e=localStorage.user;if(e){var i=JSON.parse(e);i.currentPlayList=t,localStorage.user=(0,n.default)(i)}}},computed:(0,a.default)({},(0,l.mapState)(["currentPlayList"]),(0,l.mapState)(["music"]),(0,l.mapState)(["currentMusicIndex"]),{isSameList:function(){for(var t=!0,e=0;e<this.playlist.length;e++)if(!this.currentPlayList||this.playlist.length!==this.currentPlayList.length||this.currentPlayList[e]&&this.playlist[e].id!==this.currentPlayList[e].id){t=!1;break}return t}})}},function(t,e,i){},function(t,e,i){"use strict";i.r(e);var a=i(100),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(i(61)),n=s(i(32));function s(t){return t&&t.__esModule?t:{default:t}}e.default={name:"My",components:{Circular:a.default,GlobalBus:n.default},data:function(){return{toolsList:[{icon:"./static/images/icon/icon_flash.svg",title:"最新电音"},{icon:"contact",title:"私人FM"},{icon:"star-o",title:"私藏推荐"},{icon:"thumb-circle-o",title:"古典推荐"},{icon:"logistics",title:"跑步FM"},{icon:"service-o",title:"电台"}],myList:[{icon:"music-o",title:"本地音乐",num:19,to:"/music/menu",type:"local"},{icon:"service-o",title:"最近播放",num:102,to:"/music/menu",type:"recent"},{icon:"./static/images/icon/icon_download.svg",title:"下载管理",num:6,to:"/music/menu",type:"download"},{icon:"service-o",title:"我的电台",num:0,to:"/music/menu",type:"radio"},{icon:"star-o",title:"我的收藏",num:3,to:"/music/menu",type:"collection"}],musicList:[{title:"我的歌单",list:[{picUrl:"./static/images/head-img-1.jpeg",title:"民谣",num:210,downloadNum:5},{picUrl:"./static/images/head-img-2.jpeg",title:"抒情",num:378,downloadNum:24},{picUrl:"./static/images/head-img-3.jpeg",title:"欧美",num:32,downloadNum:35},{picUrl:"./static/images/head-img-4.jpeg",title:"流行",num:45,downloadNum:6},{picUrl:"./static/images/head-img-5.jpeg",title:"阿拉贝拉",num:98,downloadNum:4},{picUrl:"./static/images/head-img-6.jpeg",title:"佛拉门戈",num:24,downloadNum:6},{picUrl:"./static/images/head-img-7.jpeg",title:"中国风",num:34,downloadNum:23},{picUrl:"./static/images/head-img-8.jpeg",title:"吉他曲",num:58,downloadNum:4}]},{title:"收藏的歌单",list:[{picUrl:"./static/images/head-img-5.jpeg",title:"布鲁斯",num:98,downloadNum:4},{picUrl:"./static/images/head-img-6.jpeg",title:"R&B",num:24,downloadNum:6},{picUrl:"./static/images/head-img-7.jpeg",title:"古典",num:34,downloadNum:23},{picUrl:"./static/images/head-img-8.jpeg",title:"钢琴曲",num:58,downloadNum:4}]}],isShowMusicList:[],listInListening:""}},created:function(){},mounted:function(){},methods:{triggerMusicList:function(t){this.$set(this.isShowMusicList,t,!this.isShowMusicList[t])},gotoMusicList:function(t){this.$router.push({path:t.to,query:{type:t.type,id:t.id||243816,title:t.title}})}}}},function(t,e,i){},function(t,e,i){"use strict";i.r(e);var a=i(103),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=u(i(318)),n=u(i(319)),s=u(i(320)),r=u(i(217));i(321),i(322),i(324),i(218);var o=u(i(2)),c=u(i(61));function u(t){return t&&t.__esModule?t:{default:t}}o.default.use(n.default).use(s.default).use(r.default),o.default.use(a.default),e.default={name:"Find",components:{Circular:c.default},data:function(){return{carouselItems:[{picUrl:"./static/images/carousels_1.jpg",to:""},{picUrl:"./static/images/carousels_2.jpg",to:""},{picUrl:"./static/images/carousels_3.jpg",to:""},{picUrl:"./static/images/carousels_4.jpg",to:""},{picUrl:"./static/images/carousels_5.jpg",to:""}],toolsList:[{icon:"notes-o",title:"每日推荐",to:"/music/playList"},{icon:"orders-o",title:"歌单",to:"/music/playListSquare"},{icon:"bar-chart-o",title:"排行榜",to:"/music/playListSquare"},{icon:"bulb-o",title:"电台",to:"/music/playListSquare"},{icon:"cashier-o",title:"直播",to:"/music/playListSquare"},{icon:"bulb-o",title:"商店",to:"/music/playListSquare"},{icon:"bulb-o",title:"商店",to:"/music/playListSquare"}],playList:[{id:1,playCount:26564652,picUrl:"./static/images/head-img-1.jpeg",name:"[华语私人定制]你爱的好歌都在这儿"},{id:2,playCount:24652,picUrl:"./static/images/head-img-2.jpeg",name:"男友嗓|俏皮声线的温柔暴击",tag:"男友嗓"},{id:3,playCount:12222,picUrl:"./static/images/head-img-3.jpeg",name:"乐队的夏天|31支乐队的酷爽一夏"},{id:4,playCount:12222121,picUrl:"./static/images/head-img-4.jpeg",name:"后摇的夏天",tag:""},{id:1,playCount:26564652,picUrl:"./static/images/head-img-5.jpeg",name:"夏至已至:准备好一双舞鞋和躁动的心"},{id:5,playCount:2612564652,picUrl:"./static/images/head-img-6.jpeg",name:"励志演讲|愿你还在坚持你的梦想"},{id:5,playCount:2612564652,picUrl:"./static/images/head-img-6.jpeg",name:"励志演讲|愿你还在坚持你的梦想"},{id:5,playCount:2612564652,picUrl:"./static/images/head-img-6.jpeg",name:"励志演讲|愿你还在坚持你的梦想"},{id:5,playCount:2612564652,picUrl:"./static/images/head-img-6.jpeg",name:"励志演讲|愿你还在坚持你的梦想"}],playListForm:[],songList:[{id:1,playCount:264652,picUrl:"./static/images/head-img-6.jpeg",name:"王一博热门单曲",artist:""},{id:2,playCount:261252,picUrl:"./static/images/head-img-7.jpeg",name:"骄傲男孩",artist:"白举纲"},{id:3,playCount:225652,picUrl:"./static/images/head-img-3.jpeg",name:"没什么大不了",artist:"高珊"}],songListForm:[]}},mounted:function(){var i=this;this.$ajax.get("/music/top/playlist/highquality?limit=6").then(function(t){i.playList=t.playlists.map(function(t){return{id:t.id,name:t.name,playCount:t.playCount,picUrl:t.coverImgUrl,tag:t.tag}});for(var e=0;e<i.playList.length;)i.playListForm.push(i.playList.slice(e,e+3)),e+=3;console.log(i.playListForm)});for(var t=0;t<this.songList.length;)this.songListForm.push(this.songList.slice(t,t+3)),t+=3},methods:{gotoMusicList:function(t){this.$router.push({path:"/music/playList?id="+t.id,query:{type:t.name,id:t.id,title:t.tag}})}}}},function(t,e,i){},function(t,e,i){"use strict";i.r(e);var a=i(106),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=m(i(20)),s=m(i(38)),n=m(i(217)),r=m(i(262)),o=m(i(329)),c=m(i(518));i(218),i(219),i(331),i(333);var u=m(i(2)),l=m(i(32)),d=m(i(49)),f=i(18);function m(t){return t&&t.__esModule?t:{default:t}}u.default.use(n.default).use(r.default).use(o.default).use(c.default),e.default={name:"Search",props:{placeholder:{type:String,default:""}},data:function(){return{query:"",tags:[],hotlist:[],timer:null,songlist:[],isSearchCompelete:!1,activeName:"综合",searchResult:[{type:"综合",data:[]},{type:"单曲",data:[]},{type:"视频",data:[]},{type:"歌手",data:[]},{type:"用户",data:[]}]}},watch:{query:function(){var i=this;clearTimeout(i.timer),i.timer=setTimeout(function(){if(i.query){i.isSearchCompelete=!0;var t="/music/search?keywords="+i.query+"&type=1018";if(i.tags.unshift({searchword:i.query}),i.$ajax.get(t).then(function(t){console.log(t),i.tabOnclick(i.activeName)}),localStorage.user){var e=JSON.parse(localStorage.user);e.recentSearch=i.tags,localStorage.user=(0,s.default)(e)}}},1e3)}},mounted:function(){this.init()},methods:{init:function(){var e=this,t=null;localStorage.user?((t=JSON.parse(localStorage.user)).recentSearch||(t.recentSearch=this.tags),this.tags=t.recentSearch):t={name:"Alan",recentSearch:this.tags},localStorage.user=(0,s.default)(t),this.$ajax.get("/music/search/hot/detail").then(function(t){e.hotlist=t.data}),this.$ajax.get("/music/search/default").then(function(t){e.placeholder=t.data.realkeyword})},clear:function(){this.query=""},back:function(){this.isSearchCompelete?(this.isSearchCompelete=!this.isSearchCompelete,this.query=""):this.$router.back()},touchtags:function(t){this.query=t.searchword},touchlist:function(t){this.query=t.searchWord},clearHistory:function(){var e=this;r.default.confirm({message:"确定清空全部历史记录"}).then(function(){var t=null;localStorage.user&&((t=JSON.parse(localStorage.user)).recentSearch=[],e.tags=t.recentSearch,localStorage.user=(0,s.default)(t))}).catch(function(){})},playMusic:function(t,e){this.music.id!==t.id&&(this.$store.commit("changeMusic",t),this.$store.commit("changePlayState",!0),l.default.$emit("playMusic",t),this.$store.commit("changeCurrentMusicIndex",e)),this.isSameList||(this.$store.commit("changeCurrentPlayList",this.playlist),this.saveCurrentPlayList(this.currentPlayList)),this.musicIsListeningIndex=e},tabOnclick:function(t){this.$toast(t);var e=void 0;switch(t){case"综合":e=1018;break;case"单曲":e=1;break;case"视频":e=1014;break;case"歌手":e=100;break;case"专辑":e=10;break;case"歌单":e=1e3;break;case"主播电台":e=1009;break;case"用户":e=1002;break;default:e=1}var i=this,a="/music/search?keywords="+i.query+"&type="+e;if(i.tags.unshift({searchword:i.query}),i.$ajax.get(a).then(function(t){i.songlist=t.result.song.songs.map(function(t){return{id:t.id,name:t.name,url:t.url,picUrl:t.al.picUrl,album:t.al.name,mv:t.mv,quality:"SQ",author:t.ar.map(function(t){return t.name}).join(" ")}}),i.searchResult.forEach(function(t){return t.data=i.songlist})}),localStorage.user){var n=JSON.parse(localStorage.user);n.recentSearch=i.tags,localStorage.user=(0,s.default)(n)}}},computed:(0,a.default)({},(0,f.mapState)(["music"])),components:{BottomPlayer:d.default}}},function(t,e,i){},function(t,e,i){"use strict";i.r(e);var a=i(109),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a,n=i(263),s=(a=n)&&a.__esModule?a:{default:a};i(213);i(220);e.default={name:"Comment",data:function(){return{music:{},musicId:"",comments:[],hotComments:[],isShowAllReply:[]}},computed:{},mounted:function(){this.musicId=this.$route.params.id;var a=this;this.$ajax.get("/music/comment/music?id="+this.musicId).then(function(t){console.log(t),a.comments=t.comments.map(function(t){return{id:t.commentId,content:t.content,user:{id:t.user.userId,picUrl:t.user.avatarUrl,nickname:t.user.nickname},reply:t.beReplied.map(function(t){return{id:t.id,content:t.content,user:{id:t.userId,nickname:t.user.nickname,picUrl:t.user.avatarUrl}}}),likedCount:t.likedCount,time:t.time}}),a.hotComments=t.hotComments.map(function(t){return t.beReplied=[].concat(t.beReplied,t.beReplied,t.beReplied,t.beReplied),{id:t.commentId,content:t.content,user:{id:t.user.userId,picUrl:t.user.avatarUrl,nickname:t.user.nickname},reply:t.beReplied.map(function(t){return{id:t.id,content:t.content,user:{id:t.userId,nickname:t.user.nickname,picUrl:t.user.avatarUrl}}}),likedCount:t.likedCount,time:t.time}})}).catch(function(t){console.log(t)}),this.$ajax.get("/music/song/detail?ids="+this.musicId).then(function(t){console.log(t);var e=t.songs[0],i={id:e.id,name:e.name,picUrl:e.al.picUrl,album:e.al.name,author:e.ar.map(function(t){return t.name}).join("、")};console.log(i),a.music=i}).catch(function(t){console.log(t)})},methods:{back:function(){this.$router.back()},share:function(){(0,s.default)("分享成功")},clickGood:function(){(0,s.default)("点赞成功")},showAllReply:function(t){this.$set(this.isShowAllReply,t,!this.isShowAllReply[t])},formatTime:function(t,e){function i(t,e){var i={"M+":(t=new Date(t)).getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};for(var a in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),i)new RegExp("("+a+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?i[a]:("00"+i[a]).substr((""+i[a]).length)));return e}if("undefind"==typeof t)throw new Error("the param of function formatTime() can't be undefined");return"number"==typeof t?i(t,"string"==typeof e?e:"yyyy-MM-dd hh:mm:ss"):"string"==typeof t?i(t=new Date(t).getTime(),"string"==typeof e?e:"yyyy-MM-dd hh:mm:ss"):"[object Date]"===Object.prototype.toString.call(t)?i(t=t.getTime(),"string"==typeof e?e:"yyyy-MM-dd hh:mm:ss"):void 0}}}},function(t,e,i){},function(t,e,i){"use strict";i.r(e);var a=i(112),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=c(i(342)),n=c(i(343)),s=c(i(138)),r=c(i(519)),o=c(i(262));function c(t){return t&&t.__esModule?t:{default:t}}i(344),i(346),i(348),i(349),i(219),c(i(2)).default.use(a.default).use(n.default).use(s.default).use(r.default).use(o.default),e.default={name:"Friend",props:{text:{type:String,default:function(){return"friend"}}},data:function(){return{indexList:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],friendList:[{id:0,name:"Alan",initial:"A",group:"朋友",picUrl:"./static/images/head-img-1.jpeg"},{id:1,name:"Bom",initial:"B",group:"朋友",picUrl:"./static/images/head-img-2.jpeg"},{id:2,name:"Cat",initial:"C",group:"朋友",picUrl:"./static/images/head-img-3.jpeg"},{id:3,name:"Done",initial:"D",group:"朋友",picUrl:"./static/images/head-img-4.jpeg"},{id:4,name:"Elice",initial:"E",group:"朋友",picUrl:"./static/images/head-img-5.jpeg"},{id:3,name:"方圆",initial:"F",group:"朋友",picUrl:"./static/images/head-img-1.jpeg"},{id:3,name:"郭冬临",initial:"G",group:"朋友",picUrl:"./static/images/head-img-2.jpeg"},{id:3,name:"黄家驹",initial:"H",group:"朋友",picUrl:"./static/images/head-img-3.jpeg"},{id:3,name:"ice",initial:"I",group:"朋友",picUrl:"./static/images/head-img-4.jpeg"},{id:3,name:"jone",initial:"J",group:"朋友",picUrl:"./static/images/head-img-5.jpeg"},{id:3,name:"康有为",initial:"K",group:"朋友",picUrl:"./static/images/head-img-6.jpeg"},{id:3,name:"李响",initial:"L",group:"朋友",picUrl:"./static/images/head-img-1.jpeg"},{id:3,name:"米粒",initial:"M",group:"朋友",picUrl:"./static/images/head-img-2.jpeg"},{id:3,name:"nick",initial:"N",group:"朋友",picUrl:"./static/images/head-img-3.jpeg"},{id:3,name:"Open",initial:"O",group:"朋友",picUrl:"./static/images/head-img-4.jpeg"},{id:3,name:"庞云",initial:"P",group:"朋友",picUrl:"./static/images/head-img-5.jpeg"},{id:3,name:"琪琪",initial:"Q",group:"朋友",picUrl:"./static/images/head-img-6.jpeg"},{id:3,name:"rick",initial:"R",group:"朋友",picUrl:"./static/images/head-img-1.jpeg"},{id:3,name:"斯文",initial:"S",group:"朋友",picUrl:"./static/images/head-img-2.jpeg"},{id:3,name:"腾飞",initial:"T",group:"朋友",picUrl:"./static/images/head-img-3.jpeg"},{id:3,name:"Unix",initial:"U",group:"朋友",picUrl:"./static/images/head-img-4.jpeg"},{id:3,name:"vivan",initial:"V",group:"朋友",picUrl:"./static/images/head-img-5.jpeg"},{id:3,name:"王丽",initial:"W",group:"朋友",picUrl:"./static/images/head-img-6.jpeg"},{id:3,name:"小明",initial:"X",group:"朋友",picUrl:"./static/images/head-img-1.jpeg"},{id:3,name:"Yun",initial:"Y",group:"朋友",picUrl:"./static/images/head-img-2.jpeg"},{id:3,name:"张宇",initial:"Z",group:"朋友",picUrl:"./static/images/head-img-3.jpeg"},{id:0,name:"阿辉",initial:"A",group:"朋友",picUrl:"./static/images/head-img-2.jpeg"},{id:2,name:"曹操",initial:"C",group:"朋友",picUrl:"./static/images/head-img-3.jpeg"},{id:3,name:"大卫",initial:"D",group:"朋友",picUrl:"./static/images/head-img-4.jpeg"},{id:3,name:"郭嘉",initial:"G",group:"朋友",picUrl:"./static/images/head-img-2.jpeg"},{id:3,name:"黄盖",initial:"H",group:"朋友",picUrl:"./static/images/head-img-3.jpeg"},{id:3,name:"ice",initial:"I",group:"朋友",picUrl:"./static/images/head-img-4.jpeg"},{id:3,name:"郭达",initial:"G",group:"朋友",picUrl:"./static/images/head-img-4.jpeg"},{id:3,name:"黄家驹",initial:"H",group:"朋友",picUrl:"./static/images/head-img-2.jpeg"},{id:3,name:"ice",initial:"I",group:"朋友",picUrl:"./static/images/head-img-9.jpeg"}],friendSort:[]}},created:function(){var i=this;this.friendList.forEach(function(t){var e=i.indexList.indexOf(t.initial);i.friendSort[e]&&0<i.friendSort[e].length?i.friendSort[e].push(t):i.friendSort[e]=[t]}),console.log(this.friendSort)},methods:{deleteFriend:function(t,e){var i=this;o.default.confirm({title:"确认",message:"确认删除吗？删除好友将无法发送和接收消息"}).then(function(){i.friendSort[t].splice(e,1),i.friendSort.splice(t,1,i.friendSort[t])}).catch(function(){})}}}},function(t,e,i){},function(t,e,i){"use strict";i.r(e);var a=i(115),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=u(i(44)),f=u(i(221)),n=u(i(222)),s=u(i(17)),r=u(i(355)),o=u(i(356));i(214),i(357),i(359);var c=u(i(361));i(220);function u(t){return t&&t.__esModule?t:{default:t}}Vue.use(s.default).use(r.default).use(o.default);e.default={name:"Video",components:{VideoPlayer:c.default},data:function(){return{videoList:[{id:12345,url:"/static/media/video-1.mp4",desc:"很棒",like:234,comment:37,user:{id:"1234",nickname:"Alan",picUrl:"./static/images/head-img-1.jpeg"}},{id:12345,url:"/static/media/video-1.mp4",desc:"很棒",like:234,comment:37,user:{id:"1234",nickname:"Alan",picUrl:"./static/images/head-img-2.jpeg"}},{id:12345,url:"/static/media/video-1.mp4",desc:"很棒",like:234,comment:37,user:{id:"1234",nickname:"Alan",picUrl:"./static/images/head-img-3.jpeg"}},{id:12345,url:"/static/media/video-1.mp4",desc:"很棒",like:234,comment:37,user:{id:"1234",nickname:"Alan",picUrl:"./static/images/head-img-4.jpeg"}}],loadingData:!0,isLoading:!1}},mounted:function(){var i=this;return(0,n.default)(f.default.mark(function t(){var e;return f.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,i.getData();case 2:e=t.sent,i.videoList=e,i.loadingData=!1;case 5:case"end":return t.stop()}},t,i)}))()},methods:{onRefresh:function(){var i=this;return(0,n.default)(f.default.mark(function t(){var e;return f.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,i.getData();case 2:e=t.sent,i.videoList=e,i.isLoading=!1;case 5:case"end":return t.stop()}},t,i)}))()},getData:function(){var d=this;return(0,n.default)(f.default.mark(function t(){var e;return f.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d.$ajax.get("/music/artist/desc?id=6452");case 2:return e=t.sent,console.log(e),t.abrupt("return",new a.default(function(l,e){var i;d.$ajax.get("/music/mv/exclusive/rcmd?offset="+d.videoList.length/4+"&limit="+(d.videoList.length+4)).then((i=(0,n.default)(f.default.mark(function t(o){var c,u;return f.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:console.log(o),c=0,u=[],o.data.reverse().map(function(){var e=(0,n.default)(f.default.mark(function t(e){var i,a,n,s,r;return f.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d.$ajax.get("/music/mv/detail?mvid="+e.id);case 2:return i=t.sent,t.next=5,d.$ajax.get("/music/artist/desc?id="+i.data.artistId);case 5:return a=t.sent,console.log(a),n=a.topicData&&a.topicData[0]?a.topicData[0].coverUrl:"./static/images/head-img-2.jpeg",t.next=10,d.$ajax.get("/music/mv/url?id="+e.id);case 10:s=t.sent,r={id:e.id,url:s.data.url,desc:e.briefDesc,poster:e.cover,user:{id:i.data.artistId,nickname:i.data.artistName,picUrl:n}},u[c++]=r,c>=o.data.length&&l(u);case 14:case"end":return t.stop()}},t,d)}));return function(t){return e.apply(this,arguments)}}());case 4:case"end":return t.stop()}},t,d)})),function(t){return i.apply(this,arguments)})).catch(function(t){e(t)})}));case 5:case"end":return t.stop()}},t,d)}))()}}}},function(t,e,i){"use strict";i.r(e);var a=i(117),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i(362),n=navigator.userAgent,s=0;function r(t){var e=(t=parseInt(t))%60;return i(parseInt(t/60))+":"+i(e);function i(t){return 0===t?t="00":t<10&&(t="0"+t),t}}e.default={name:"VideoPlayer",props:{src:{type:String},playState:{type:Boolean,default:!1},poster:{type:Boolean}},data:function(){return{video:null,isAndroid:-1<n.indexOf("Android")||-1<n.indexOf("Adr"),isIOS:n.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),showMask:!1,playProcess:0,currentTimeStr:"00:00",totalTimeStr:"00:00"}},computed:{currentTimeStr:function(){return r(this.currentTime)}},watch:{playState:function(){var t=this;this.playState?this.start():this.stop(),(0,a.setTimeout)(function(){t.showMask=!1},1e3)}},mounted:function(){this.video=this.$refs.video,this.init()},methods:{init:function(){var t=this;(0,a.setInterval)(function(){"00:00"===t.totalTimeStr&&0<t.video.duration&&(t.totalTimeStr=r(t.video.duration)),t.currentTimeStr=r(t.video.currentTime),t.playProcess=t.video.currentTime/t.video.duration*100},500);window.addEventListener("scroll",this.scrollHandle,!0)},start:function(){this.video.play()},stop:function(){this.video.pause()},clickHandel:function(){var t=this;s++;var e=null;(0,a.clearTimeout)(e),e=(0,a.setTimeout)(function(){1===s&&(t.showMask=!t.showMask),2<=s&&(s=0,t.playState=!t.playState),s=0},300)},clickPlayIcon:function(){this.playState=!this.playState},processChange:function(t){this.video.currentTime=this.video.duration*t/100},playOver:function(){this.playState=!1},scrollHandle:function(){var t=this.$el.getBoundingClientRect(),e=t.top,i=t.bottom;t.height;(e>window.innerHeight||i<0)&&(this.playState=!1)}}}},function(t,e,i){},function(t,e,i){},function(t,e,i){"use strict";i.r(e);var a=i(121),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a,n=i(49),s=(a=n)&&a.__esModule?a:{default:a};e.default={name:"PlayList",components:{BottomPlayer:s.default},data:function(){return{playList:[]}},mounted:function(){this.init()},methods:{init:function(){var e=this;this.$ajax.get("/music/top/playlist/highquality?limit=30").then(function(t){e.playList=t.playlists.map(function(t){return{id:t.id,name:t.name,playCount:t.playCount,picUrl:t.coverImgUrl,tag:t.tag}})})},gotoMusicList:function(t){console.log(t),this.$router.push({path:"/music/playList",query:{id:t.id}})}}}},function(t,e,i){},function(t,e,i){"use strict";i.r(e);var a=i(124),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=l(i(20)),n=l(i(38)),s=l(i(369)),r=l(i(61)),o=l(i(49)),c=l(i(32)),u=i(18);function l(t){return t&&t.__esModule?t:{default:t}}e.default={name:"PlayList",components:{RowItem:s.default,Circular:r.default,BottomPlayer:o.default},props:{},data:function(){return{playList:[],listInf:{},toolsList:[{icon:"comment-o",title:"评论",to:"/music/comment/"},{icon:"share",title:"分享",to:"/music/playListSquare/"},{icon:"like-o",title:"收藏",to:"/music/index/find/"},{icon:"service-o",title:"播放",to:"/music/index/find/"}]}},mounted:function(){this.getPlayList()},methods:{getPlayList:function(){var e=this,i=this.$route.query.id||243816,t="/music/playlist/detail?id="+i;this.$ajax.get(t).then(function(t){console.log(t),e.listInf={id:i,name:t.playlist.name,picUrl:t.playlist.coverImgUrl,desc:t.playlist.description,playCount:t.playlist.playCount},e.toolsList[0].title+="("+t.playlist.commentCount+")",e.toolsList[1].title+="("+t.playlist.shareCount+")",e.toolsList[2].title+="("+t.playlist.subscribedCount+")",e.toolsList[3].title+="("+t.playlist.playCount+")",e.playList=t.playlist.tracks.map(function(t){return{id:t.id,name:t.name,url:t.url,picUrl:t.al.picUrl,album:t.al.name,mv:t.mv,quality:"SQ",author:t.ar.map(function(t){return t.name}).join(" ")}})}).catch(function(t){console.log(t)})},playMusic:function(t,e){this.music.id!==t.id&&(this.$store.commit("changeMusic",t),this.$store.commit("changePlayState",!0),c.default.$emit("playMusic",t),this.$store.commit("changeCurrentMusicIndex",e)),this.isSameList||(this.$store.commit("changeCurrentPlayList",this.playList),this.saveCurrentPlayList(this.currentPlayList))},saveCurrentPlayList:function(t){var e=localStorage.user;if(e){var i=JSON.parse(e);i.currentPlayList=t,localStorage.user=(0,n.default)(i)}}},computed:(0,a.default)({},(0,u.mapState)(["currentPlayList","currentMusicIndex","music"]),{isSameList:function(){for(var t=!0,e=0;e<this.playList.length;e++)if(!this.currentPlayList||this.playList.length!==this.currentPlayList.length||this.currentPlayList[e]&&this.playList[e].id!==this.currentPlayList[e].id){t=!1;break}return t}})}},function(t,e,i){"use strict";i.r(e);var a=i(126),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"RowItem",props:{music:{},isListening:!1},data:function(){return{}},mounted:function(){},methods:{}}},function(t,e,i){},function(t,e,i){},function(t,e,i){"use strict";i.r(e);var a=i(130),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=l(i(20)),s=l(i(38)),n=l(i(373)),r=l(i(211)),o=l(i(216)),c=l(i(374)),u=i(18);function l(t){return t&&t.__esModule?t:{default:t}}e.default={name:"App",components:{RouteLink:n.default,Play:r.default,Menu:o.default,BottomList:c.default},data:function(){return{}},created:function(){this.init()},mounted:function(){},methods:{init:function(){var t=localStorage.user,e=null,i=null;if(t){var a=JSON.parse(t);i=a.currentPlayList,a.recentPlay&&(e=a.recentPlay[0])}else{var n={};i=[e={album:"时光.漫步",author:"许巍",id:168091,mv:0,name:"蓝莲花",picUrl:"http://p1.music.126.net/C6txAWMGlVmAcAD37RVutQ==/122045790684028.jpg",quality:"SQ",url:"./static/media/music.mp3"}],n.name="Alan",n.recentPlay=[e],n.currentPlayList=[e],localStorage.user=(0,s.default)(n)}this.$store.commit("changeMusic",e),this.$store.commit("changeCurrentPlayList",i)}},computed:(0,a.default)({},(0,u.mapState)(["currentPlayList"]),(0,u.mapState)(["music"]))},Vue.prototype.tipMsg=function(t){this.$message({message:t,duration:1500,center:!0,customClass:"message-tip"})},Vue.prototype.errorMsg=function(t){this.$message.error({message:t,duration:1500,center:!0,customClass:"message-tip"})}},function(t,e,i){"use strict";i.r(e);var a=i(132),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a,n=i(209),s=(a=n)&&a.__esModule?a:{default:a};e.default={name:"RouteLink",data:function(){return{routes:s.default}}}},function(t,e,i){"use strict";i.r(e);var a=i(134),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,function(){return a[t]})}(s);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=c(i(20)),n=c(i(375));i(376);var s=c(i(2)),r=i(18),o=c(i(32));function c(t){return t&&t.__esModule?t:{default:t}}s.default.use(n.default),e.default={name:"BottomList",data:function(){return{}},mounted:function(){},methods:{closeBottomSidebar:function(){this.$store.commit("changeIsShowBottomSidebar",!1)},playMusic:function(t,e){e!==this.currentMusicIndex&&(this.$store.commit("changeMusic",t),this.$store.commit("changePlayState",!0),this.$store.commit("changeCurrentMusicIndex",e),o.default.$emit("playMusic",t))}},computed:(0,a.default)({},(0,r.mapState)(["isShowBottomSidebar"]),(0,r.mapState)(["currentPlayList","currentMusicIndex"])),watch:{}}},function(t,e,i){},function(t,e,i){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,i){"use strict";function a(){var i=this,t=i.$createElement,a=i._self._c||t;return a("div",{staticClass:"comment-container"},[a("header",{staticClass:"header"},[a("div",{staticClass:"arrow",on:{click:i.back}},[a("van-icon",{attrs:{name:"arrow-left"}})],1),i._v(" "),a("div",{staticClass:"music-title"},[i._v("评论")]),i._v(" "),a("div",{staticClass:"share"},[a("van-icon",{attrs:{name:"./static/images/icon/icon_upload.svg"},on:{click:i.share}})],1)]),i._v(" "),a("div",{staticClass:"main-content"},[a("div",{staticClass:"music-row"},[a("div",{staticClass:"list-row",on:{click:i.back}},[a("div",{staticClass:"head-img"},[a("img",{attrs:{src:i.music.picUrl}})]),i._v(" "),a("div",{staticClass:"row-content"},[a("div",{staticClass:"list-title"},[i._v(i._s(i.music.name))]),i._v(" "),a("div",{staticClass:"list-info"},[i._v(i._s(i.music.author))])]),i._v(" "),a("div",{staticClass:"more-icon",on:{click:function(t){t.stopPropagation()}}},[a("van-icon",{attrs:{name:"arrow"}})],1)])]),i._v(" "),a("div",{staticClass:"conmment-content"},i._l(i.hotComments,function(t,e){return a("div",{key:t.id,staticClass:"comment-item"},[a("div",{staticClass:"list-row"},[a("div",{staticClass:"head-img"},[a("img",{attrs:{src:t.user.picUrl}})]),i._v(" "),a("div",{staticClass:"row-content"},[a("div",{staticClass:"list-title"},[i._v(i._s(t.user.nickname))]),i._v(" "),a("div",{staticClass:"list-info"},[i._v(i._s(i.formatTime(t.time)))])]),i._v(" "),a("div",{staticClass:"more-icon",on:{click:function(t){return t.stopPropagation(),i.clickGood(t)}}},[a("div",{staticClass:"liked-count"},[i._v(i._s(t.likedCount))]),i._v(" "),a("van-icon",{attrs:{name:"good-job-o"}})],1)]),i._v(" "),a("div",{staticClass:"comment-text"},[i._v("\n                    "+i._s(t.content)+"\n                    "),i._l(i.isShowAllReply[e]?t.reply:t.reply.slice(0,2),function(t){return a("div",{key:t.id,staticClass:"reply-item"},[a("div",{staticClass:"reply-text"},[a("span",{staticClass:"reply-nickname"},[i._v(i._s(t.user.nickname)+"：")]),i._v("\n                            "+i._s(t.content)+"\n                        ")])])}),i._v(" "),a("div",{staticClass:"comment-reply",on:{click:function(t){return i.showAllReply(e)}}},[i._v("\n                        共"+i._s(t.reply.length)+"条回复\n                    ")])],2)])}),0)])])}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var a=this,t=a.$createElement,n=a._self._c||t;return n("div",{staticClass:"search-container"},[n("section",{staticClass:"search-box-container"},[n("van-icon",{attrs:{name:"arrow-left"},on:{click:a.back}}),a._v(" "),n("div",{staticClass:"search-box"},[n("input",{directives:[{name:"model",rawName:"v-model",value:a.query,expression:"query"}],staticClass:"box",attrs:{placeholder:a.placeholder,type:"text"},domProps:{value:a.query},on:{input:function(t){t.target.composing||(a.query=t.target.value)}}}),a._v(" "),n("i",{directives:[{name:"show",rawName:"v-show",value:a.query,expression:"query"}],staticClass:"delete el-icon-close",on:{click:a.clear}})]),a._v(" "),n("van-icon",{attrs:{name:"manager-o"}})],1),a._v(" "),n("section",{directives:[{name:"show",rawName:"v-show",value:a.tags.length&!a.isSearchCompelete,expression:"tags.length&!isSearchCompelete"}],staticClass:"search-history"},[n("div",{staticClass:"title"},[n("div",{staticClass:"hearder-title"},[a._v("历史记录")]),a._v(" "),n("div",{staticClass:"hearder-button"},[n("van-icon",{attrs:{name:"delete"},on:{click:a.clearHistory}})],1)]),a._v(" "),n("div",{staticClass:"tags"},[n("div",{staticClass:"tags-row"},a._l(a.tags,function(e){return n("van-tag",{key:e.searchword,class:a.tagrow,attrs:{round:"",size:"large","text-color":"#202223",color:"#e6e8ea"},on:{click:function(t){return a.touchtags(e)}}},[a._v(a._s(e.searchword))])}),1)])]),a._v(" "),n("section",{directives:[{name:"show",rawName:"v-show",value:!a.isSearchCompelete,expression:"!isSearchCompelete"}],staticClass:"hot-list"},[n("div",{staticClass:"title"},[a._v("热搜")]),a._v(" "),n("div",{staticClass:"list"},a._l(a.hotlist,function(e,t){return n("div",{key:t,staticClass:"list-row"},[n("div",{staticClass:"row-index"},[t<3?n("span",{staticStyle:{color:"red"}},[a._v(a._s(t+1))]):n("span",[a._v(a._s(t+1))])]),a._v(" "),n("div",{staticClass:"row-content",on:{click:function(t){return a.touchlist(e)}}},[n("div",{staticClass:"content-column1"},[n("div",{staticClass:"searchword"},[a._v(a._s(e.searchWord))]),a._v(" "),n("div",{staticClass:"score"},[a._v(a._s(e.score))]),a._v(" "),n("div",{staticClass:"icon"},[n("img",{attrs:{src:e.iconUrl}})])]),a._v(" "),n("div",{staticClass:"content-column2"},[a._v(a._s(e.content))])])])}),0)]),a._v(" "),n("section",{directives:[{name:"show",rawName:"v-show",value:a.isSearchCompelete,expression:"isSearchCompelete"}],staticClass:"reach-result"},[n("div",{staticClass:"result-tabs"},[n("van-tabs",{attrs:{"v-model":a.activeName,swipeable:"",animated:""},on:{change:a.tabOnclick}},a._l(a.searchResult,function(t){return n("van-tab",{key:t,attrs:{title:t.type,name:t.type}},[n("div",{staticClass:"list-container"},[n("van-list",{attrs:{finished:!0,"finished-text":"木了"}},a._l(t.data,function(e,i){return n("van-cell",{key:e.id,staticClass:"list-row",on:{click:function(t){return a.playMusic(e,i)}}},[n("div",{staticClass:"music-info"},[n("div",{staticClass:"music-title"},[a._v(a._s(e.name))]),a._v(" "),n("div",{staticClass:"detail-info"},[n("div",{staticClass:"music-quality"},[n("div",{staticClass:"icon"},[a._v("SQ")])]),a._v(" "),n("div",{staticClass:"author-album"},[a._v(a._s(e.author)+" - "+a._s(e.album))])])]),a._v(" "),n("div",{staticClass:"music-mv"}),a._v(" "),n("div",{staticClass:"more-operation",on:{click:function(t){t.stopPropagation()}}},[n("van-icon",{staticClass:"rotate-90",attrs:{name:"ellipsis"}})],1)])}),1)],1)])}),1)],1)]),a._v(" "),n("BottomPlayer")],1)}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var i=this,t=i.$createElement,a=i._self._c||t;return a("div",{staticClass:"index-container"},[a("header",{staticClass:"header"},[a("div",{staticClass:"letf-sidebar-button"},[a("van-icon",{attrs:{name:"wap-nav"},on:{click:function(t){return t.stopPropagation(),i.showSidebar(t)}}})],1),i._v(" "),a("div",{staticClass:"link-tabs"},i._l(i.tabsArr,function(t,e){return a("div",{key:t.to,class:"link-tab "+i.focus(t,e)},[a("router-link",{attrs:{to:t.to}},[i._v(i._s(t.text))])],1)}),0),i._v(" "),a("div",{staticClass:"search-button"},[a("router-link",{attrs:{to:"/music/search"}},[a("van-icon",{attrs:{name:"search"}})],1)],1)]),i._v(" "),a("article",{staticClass:"main-content"},[a("router-view")],1),i._v(" "),a("footer",{staticClass:"footer"},[a("BottomPlayer")],1),i._v(" "),a("Account",{ref:"accountSidebar",attrs:{"is-show":i.isShowSidebar},on:{hiddenSidebar:i.hiddenSidebar}})],1)}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var i=this,t=i.$createElement,a=i._self._c||t;return a("div",{class:"play-container "+(i.isHidden?"z-index-hidden":"")},[a("header",{staticClass:"header"},[a("div",{staticClass:"arrow",on:{click:i.back}},[a("van-icon",{attrs:{name:"arrow-left"}})],1),i._v(" "),a("div",{staticClass:"music-title"},[i._v("\n\t\t\t\t"+i._s(i.music.name)+"\n\t\t\t")]),i._v(" "),a("div",{staticClass:"share"},[a("van-icon",{attrs:{name:"./static/images/icon/icon_upload.svg"},on:{click:i.share}})],1)]),i._v(" "),a("section",{ref:"mainContent",staticClass:"main-content",on:{click:i.showWord}},[i.isShowWord?a("div",{staticClass:"word-container"},[a("div",{staticClass:"word-content",style:i.controlPosition},i._l(i.wordArr,function(t,e){return a("div",{key:t.startTime,class:e===i.wordFocusIndex?"focus":""},[i._v("\n\t\t\t\t\t\t"+i._s(t.text)+"\n\t\t\t\t\t")])}),0)]):i._e(),i._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:!i.isShowWord,expression:"!isShowWord"}],staticClass:"head-img",style:{transform:"rotate("+i.rotateDeg+"deg)"}},[a("img",{attrs:{src:i.music.picUrl}})])]),i._v(" "),a("section",{staticClass:"operation"},[a("div",{staticClass:"collection"},[a("van-icon",{attrs:{name:"like-o"},on:{click:i.collection}})],1),i._v(" "),a("div",{staticClass:"download"},[a("van-icon",{attrs:{name:"diamond-o"},on:{click:i.download}})],1),i._v(" "),a("div",{staticClass:"show-word"},[a("van-icon",{attrs:{name:"comment-o"},on:{click:i.showWord}})],1),i._v(" "),a("div",{staticClass:"comment"},[a("router-link",{attrs:{to:"/music/comment/"+i.music.id}},[a("van-icon",{attrs:{name:"chat-o"}})],1)],1),i._v(" "),a("div",{staticClass:"more"},[a("van-icon",{attrs:{name:"ellipsis"}})],1)]),i._v(" "),a("section",{staticClass:"play-progress-bar"},[a("AudioPlayer"),i._v(" "),a("div",{staticClass:"time-now"},[i._v(i._s(i.timeNow))]),i._v(" "),a("div",{staticClass:"progress-bar"},[a("van-slider",{attrs:{max:i.processLength,"active-color":"#666","bar-height":"0.1rem"},on:{change:i.processChange},model:{value:i.playProcess,callback:function(t){i.playProcess=t},expression:"playProcess"}})],1),i._v(" "),a("div",{staticClass:"time-total"},[i._v(i._s(i.timeTotal))])],1),i._v(" "),a("section",{staticClass:"control"},[a("div",{staticClass:"play-model"},["order"===i.changeMusicModel?a("van-icon",{attrs:{name:"descending"},on:{click:i.changePlayModel}}):i._e(),i._v(" "),"random"===i.changeMusicModel?a("van-icon",{attrs:{name:"exchange"},on:{click:i.changePlayModel}}):i._e(),i._v(" "),"loop"===i.changeMusicModel?a("van-icon",{attrs:{name:"replay"},on:{click:i.changePlayModel}}):i._e()],1),i._v(" "),a("div",{staticClass:"previou-music"},[a("van-icon",{attrs:{name:"arrow-left"},on:{click:i.previous}})],1),i._v(" "),a("div",{staticClass:"play-control"},[i.playState?a("van-icon",{attrs:{name:"pause-circle-o"},on:{click:i.stop}}):a("van-icon",{attrs:{name:"play-circle-o"},on:{click:i.start}})],1),i._v(" "),a("div",{staticClass:"next-music"},[a("van-icon",{attrs:{name:"arrow"},on:{click:i.next}})],1),i._v(" "),a("div",{staticClass:"recent-music-menu",on:{click:function(t){return i.$store.commit("changeIsShowBottomSidebar",!0)}}},[a("van-icon",{attrs:{name:"bars"}})],1)])])}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var i=this,t=i.$createElement,a=i._self._c||t;return a("div",{staticClass:"find-container"},[a("section",{staticClass:"carousels"},[a("van-swipe",{attrs:{autoplay:3e3}},i._l(i.carouselItems,function(t){return a("van-swipe-item",{key:t.to},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.picUrl,expression:"item.picUrl"}]})])}),1)],1),i._v(" "),a("section",{staticClass:"tools"},[a("div",{staticClass:"tools-row"},i._l(i.toolsList,function(t){return a("div",{key:t.icon},[a("router-link",{attrs:{to:t.to}},[a("Circular",{attrs:{title:t.title,icon:t.icon}})],1)],1)}),0)]),i._v(" "),a("section",{staticClass:"recommend-list"},[a("div",{staticClass:"list-hearder"},[a("div",{staticClass:"hearder-title"},[i._v("推荐歌单")]),i._v(" "),a("div",{staticClass:"hearder-button"},[a("router-link",{attrs:{to:"/music/playListSquare"}},[a("van-tag",{attrs:{round:"",plain:"",color:"#333"}},[i._v("歌单广场")])],1)],1)]),i._v(" "),a("div",{staticClass:"list-content"},i._l(i.playListForm.slice(0,2),function(t){return a("div",{key:t[0].id,staticClass:"list-row"},i._l(t,function(e){return a("div",{key:e.id,staticClass:"row-image",on:{click:function(t){return i.gotoMusicList(e)}}},[a("div",{staticClass:"head-img"},[a("img",{attrs:{src:e.picUrl}}),i._v(" "),a("div",{staticClass:"play-count"},[a("van-icon",{attrs:{name:"play-circle-o"}}),i._v(" "),a("div",{staticClass:"play-count-num"},[i._v(i._s(Math.floor(e.playCount/1e4))+"万")])],1)]),i._v(" "),a("div",{staticClass:"row-title"},[i._v(i._s(e.name))])])}),0)}),0)]),i._v(" "),a("section",{staticClass:"recommend-list"},[a("div",{staticClass:"list-hearder"},[a("div",{staticClass:"hearder-title"},[i._v("新碟")]),i._v(" "),a("div",{staticClass:"hearder-button"},[a("router-link",{attrs:{to:"/music/playListSquare"}},[a("van-tag",{attrs:{round:"",plain:"",color:"#333"}},[i._v("更多新碟")])],1)],1)]),i._v(" "),a("div",{staticClass:"list-content"},i._l(i.songListForm,function(t){return a("div",{key:t[0].id,staticClass:"list-row"},i._l(t,function(e){return a("div",{key:e.id,staticClass:"row-image",on:{click:function(t){return i.gotoMusicList(e)}}},[a("div",{staticClass:"head-img"},[a("img",{attrs:{src:e.picUrl}}),i._v(" "),a("div",{staticClass:"play-count"},[a("van-icon",{attrs:{name:"play-circle-o"}}),i._v(" "),a("div",{staticClass:"play-count-num"},[i._v(i._s(Math.floor(e.playCount/1e4))+"万")])],1)]),i._v(" "),a("div",{staticClass:"row-title"},[i._v(i._s(e.name))])])}),0)}),0)])])}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var i=this,t=i.$createElement,a=i._self._c||t;return a("div",{staticClass:"my-container"},[a("section",{staticClass:"tools"},[a("div",{staticClass:"tools-row"},i._l(i.toolsList,function(t){return a("Circular",{key:t.icon,attrs:{title:t.title,icon:t.icon}})}),1)]),i._v(" "),a("section",{staticClass:"my-lists"},i._l(i.myList,function(e){return a("div",{key:e.listName},[a("div",{staticClass:"list-row",on:{click:function(t){return i.gotoMusicList(e)}}},[a("div",{staticClass:"icon"},[a("van-icon",{attrs:{name:e.icon}})],1),i._v(" "),a("div",{staticClass:"list-name"},[i._v("\n                    "+i._s(e.title)+"\n                    "),a("div",{staticClass:"item-num"},[i._v("("+i._s(e.num)+")")]),i._v(" "),i.listInListening===e.title?a("van-icon",{staticClass:"isListening",attrs:{name:"volume"}}):i._e()],1)])])}),0),i._v(" "),a("secxtion",{staticClass:"music-list"},i._l(i.musicList,function(t,e){return a("div",{key:t.title,staticClass:"list-item"},[a("div",{staticClass:"header-bar",on:{click:function(t){return i.triggerMusicList(e)}}},[a("div",{staticClass:"door-icon"},[a("van-icon",{class:i.isShowMusicList[e]?"":"rotate",attrs:{name:"arrow-down"}})],1),i._v(" "),a("div",{staticClass:"title"},[i._v(i._s(t.title)),a("div",{staticClass:"item-num"},[i._v("("+i._s(t.list.length)+")")])]),i._v(" "),a("div",{staticClass:"add-icon",on:{click:function(t){t.stopPropagation()}}},[a("van-icon",{attrs:{name:"plus"}})],1),i._v(" "),a("div",{staticClass:"more-icon",on:{click:function(t){t.stopPropagation()}}},[a("van-icon",{staticClass:"rotate-90 ",attrs:{name:"ellipsis"}})],1)]),i._v(" "),i.isShowMusicList[e]?a("div",{staticClass:"list-content"},i._l(t.list,function(t){return a("div",{key:t.title},[a("div",{staticClass:"list-row"},[a("div",{staticClass:"head-img"},[a("img",{attrs:{src:t.picUrl}})]),i._v(" "),a("div",{staticClass:"row-content"},[a("div",{staticClass:"list-title"},[i._v(i._s(t.title))]),i._v(" "),a("div",{staticClass:"list-info"},[i._v(i._s(t.num)+"首，已下载"+i._s(t.downloadNum)+"首")])]),i._v(" "),a("div",{staticClass:"more-icon"},[i.listInListening===t.title?a("van-icon",{staticClass:"isListening",attrs:{name:"volume"}}):a("van-icon",{staticClass:"rotate-90",attrs:{name:"ellipsis"}})],1)])])}),0):i._e()])}),0)],1)}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var a=this,t=a.$createElement,n=a._self._c||t;return n("div",{staticClass:"menu-container"},[n("header",{staticClass:"header"},[n("div",{staticClass:"arrow",on:{click:a.back}},[n("van-icon",{attrs:{name:"arrow-left"}})],1),a._v(" "),n("div",{staticClass:"music-title"},[a._v(a._s(a.title))]),a._v(" "),n("div",{staticClass:"share"},[n("van-icon",{attrs:{name:"search"}}),a._v(" "),n("van-icon",{staticClass:"rotate-90 margin-right",attrs:{name:"ellipsis"}})],1)]),a._v(" "),n("article",{staticClass:"list-container"},[n("van-list",{attrs:{finished:!0,"finished-text":"我也是有底线的"}},a._l(a.playlist,function(e,i){return n("van-cell",{key:e.url,staticClass:"list-row",on:{click:function(t){return a.playMusic(e,i)}}},[a.currentMusicIndex===i?n("van-icon",{staticClass:"isListening",attrs:{name:"volume"}}):a._e(),a._v(" "),n("div",{staticClass:"music-info"},[n("div",{staticClass:"music-title"},[a._v(a._s(e.name))]),a._v(" "),n("div",{staticClass:"detail-info"},[n("div",{staticClass:"music-quality"},[n("div",{staticClass:"icon"},[a._v(a._s(e.quality))])]),a._v(" "),n("div",{staticClass:"author-album"},[a._v(a._s(e.author)+" - "+a._s(e.album))])])]),a._v(" "),n("div",{staticClass:"music-mv",on:{click:function(t){t.stopPropagation()}}},[e.mv?n("van-icon",{attrs:{name:"video-o"}}):a._e()],1),a._v(" "),n("div",{staticClass:"more-operation",on:{click:function(t){t.stopPropagation()}}},[n("van-icon",{staticClass:"rotate-90",attrs:{name:"ellipsis"}})],1)],1)}),1)],1),a._v(" "),n("BottomPlayer")],1)}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var a=this,t=a.$createElement,n=a._self._c||t;return n("van-popup",{staticClass:"bottom-siderbar-container",attrs:{position:"bottom",round:"true"},on:{"click-overlay":a.closeBottomSidebar},model:{value:a.isShowBottomSidebar,callback:function(t){a.isShowBottomSidebar=t},expression:"isShowBottomSidebar"}},[n("header",{staticClass:"header"},[n("div",{staticClass:"list-title"},[a._v("播放列表("+a._s(a.currentPlayList.length)+")")])]),a._v(" "),n("div",{staticClass:"list-container"},a._l(a.currentPlayList,function(e,i){return n("div",{key:e.id,staticClass:"list-row",on:{click:function(t){return a.playMusic(e,i)}}},[a.currentMusicIndex===i?n("van-icon",{staticClass:"isListening",attrs:{name:"volume"}}):a._e(),a._v(" "),n("div",{staticClass:"name"},[a._v(a._s(e.name))]),a._v(" "),n("div",{staticClass:"author"},[a._v(" - "+a._s(e.author))]),a._v(" "),n("div",{staticClass:"icon"})],1)}),0)])}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("router-view"),this._v(" "),e("Play"),this._v(" "),e("BottomList")],1)}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var a=this,t=a.$createElement,n=a._self._c||t;return n("div",{staticClass:"playlist-container"},[n("header",{staticClass:"header"},[n("div",{staticClass:"arrow",on:{click:function(t){return a.$router.back()}}},[n("van-icon",{attrs:{name:"arrow-left"}})],1),a._v(" "),n("div",{staticClass:"music-title"},[a._v("歌单")])]),a._v(" "),n("div",{staticClass:"playlist-info-container"},[n("div",{staticClass:"playlist-info-content"},[n("div",{staticClass:"head-img"},[n("img",{attrs:{src:a.listInf.picUrl}}),a._v(" "),n("div",{staticClass:"play-count"},[n("van-icon",{attrs:{name:"play-circle-o"}}),a._v(" "),n("div",{staticClass:"play-count-num"},[a._v(a._s(1e4<a.listInf.playCount?Math.floor(a.listInf.playCount/1e4)+"万":a.listInf.playCount))])],1)]),a._v(" "),n("div",{staticClass:"playlist-desc"},[n("div",{staticClass:"name"},[a._v(a._s(a.listInf.name))]),a._v(" "),n("div",{staticClass:"desc"},[a._v(a._s(a.listInf.desc))])])]),a._v(" "),n("div",{staticClass:"control-row"},a._l(a.toolsList,function(t){return n("div",{key:t.icon,staticClass:"flex-item"},[n("Circular",{attrs:{title:t.title,icon:t.icon}})],1)}),0)]),a._v(" "),n("div",{staticClass:"list-content"},a._l(a.playList,function(e,i){return n("div",{key:e.id,staticClass:"item-container",on:{click:function(t){return a.playMusic(e,i)}}},[n("RowItem",{attrs:{music:e,"is-listening":a.isSameList&&a.currentMusicIndex===i}})],1)}),0),a._v(" "),n("BottomPlayer")],1)}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var i=this,t=i.$createElement,a=i._self._c||t;return a("div",{staticClass:"playlist-square-container"},[a("header",{staticClass:"header"},[a("div",{staticClass:"arrow",on:{click:function(t){return i.$router.back()}}},[a("van-icon",{attrs:{name:"arrow-left"}})],1),i._v(" "),a("div",{staticClass:"music-title"},[i._v("歌单广场")])]),i._v(" "),a("div",{staticClass:"list-content"},i._l(i.playList,function(e){return a("div",{key:e.id,staticClass:"list-row",on:{click:function(t){return i.gotoMusicList(e)}}},[a("div",{staticClass:"row-image"},[a("div",{staticClass:"head-img"},[a("img",{attrs:{src:e.picUrl}}),i._v(" "),a("div",{staticClass:"play-count"},[a("van-icon",{attrs:{name:"play-circle-o"}}),i._v(" "),a("div",{staticClass:"play-count-num"},[i._v(i._s(Math.floor(e.playCount/1e4))+"万")])],1)]),i._v(" "),a("div",{staticClass:"row-title"},[i._v(i._s(e.name))])])])}),0),i._v(" "),a("BottomPlayer")],1)}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"video-container"},[i("van-pull-refresh",{on:{refresh:e.onRefresh},model:{value:e.isLoading,callback:function(t){e.isLoading=t},expression:"isLoading"}},e._l(e.videoList,function(t){return i("section",{key:t.id,staticClass:"video-item"},[e.loadingData?i("van-skeleton",{staticClass:"skeleton",attrs:{row:1,title:"",avatar:""}}):i("div",[i("div",{staticClass:"info-row"},[i("div",{staticClass:"head-img"},[i("img",{attrs:{src:t.user.picUrl}})]),e._v(" "),i("div",{staticClass:"user-nickname"},[e._v(e._s(t.user.nickname))]),e._v(" "),i("div",{staticClass:"icon like-icon"},[i("van-icon",{attrs:{name:"good-job-o"}})],1),e._v(" "),i("div",{staticClass:"icon comment-icon"},[i("van-icon",{attrs:{name:"chat-o"}})],1),e._v(" "),i("div",{staticClass:"icon more-icon"},[i("van-icon",{staticClass:"rotate-90",attrs:{name:"ellipsis"}})],1)]),e._v(" "),i("div",{staticClass:"video-content"},[i("VideoPlayer",{staticClass:"video",attrs:{src:t.url,poster:t.poster}})],1),e._v(" "),i("div",{staticClass:"description"},[e._v(e._s(t.desc))])])],1)}),0)],1)}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var t=this.$createElement;return(this._self._c||t)("div")}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"audioplayer-container"},[i("audio",{ref:"audio",staticClass:"audio",attrs:{src:t.music.url,preload:"auto"}}),t._v(" "),t._t("control")],2)}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"account-container",style:{left:e.containerLeft}},[i("div",{staticClass:"account-content",style:{left:e.contentLeft}},[i("div",{staticClass:"account-main-content"},[i("header",{staticClass:"account-header"},[i("div",{staticClass:"head-account-img"},[i("img",{attrs:{src:e.user.headImg}})]),e._v(" "),i("div",{staticClass:"head-account-text"},[i("div",{staticClass:"nickname"},[e._v(e._s(e.user.nickname))]),e._v(" "),i("div",{staticClass:"level"},[e._v("Lv."+e._s(e.user.level))]),e._v(" "),e._m(0)])]),e._v(" "),i("div",{staticClass:"tools"},[i("div",{staticClass:"tools-row"},e._l(e.toolsList,function(t){return i("Circular",{key:t.icon,staticClass:"circular",attrs:{title:t.title,icon:t.icon}})}),1)]),e._v(" "),i("div",{staticClass:"set-list"},e._l(e.setList,function(t){return i("div",{key:t.title,staticClass:"list-row"},[i("div",{staticClass:"head-img"},[i("van-icon",{attrs:{name:t.icon}})],1),e._v(" "),i("div",{staticClass:"row-content"},[i("div",{staticClass:"list-title"},[e._v(e._s(t.title))])]),e._v(" "),i("div",{staticClass:"more-icon"})])}),0)])]),e._v(" "),i("div",{staticClass:"mask",style:{opacity:e.activeFlag?.5:0},on:{click:function(t){return t.stopPropagation(),e.hidden(t)}}})])}var n=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"sign"},[e("div",{staticClass:"sign-button"},[this._v("签到")])])}];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var t=this.$createElement;return(this._self._c||t)("audio",{ref:"audio",staticClass:"audio",attrs:{id:"audio",preload:"auto",src:"./song.mp3"}})}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"row-container"},[i("div",{staticClass:"list-row"},[t.isListening?i("van-icon",{staticClass:"isListening",attrs:{name:"volume"}}):t._e(),t._v(" "),i("div",{staticClass:"music-info"},[i("div",{staticClass:"music-title"},[t._v(t._s(t.music.name))]),t._v(" "),i("div",{staticClass:"detail-info"},[i("div",{staticClass:"music-quality"},[i("div",{staticClass:"icon"},[t._v(t._s(t.music.quality))])]),t._v(" "),i("div",{staticClass:"author-album"},[t._v(t._s(t.music.author)+" - "+t._s(t.music.album))])])]),t._v(" "),i("div",{staticClass:"music-mv",on:{click:function(t){t.stopPropagation()}}},[t.music.mv?i("van-icon",{attrs:{name:"video-o"}}):t._e()],1),t._v(" "),i("div",{staticClass:"more-operation",on:{click:function(t){t.stopPropagation()}}},[i("van-icon",{staticClass:"rotate-90",attrs:{name:"ellipsis"}})],1)],1)])}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"circular-container"},[i("div",{staticClass:"circular-pic"},[i("van-icon",{attrs:{name:t.icon}})],1),t._v(" "),i("div",{staticClass:"circular-title"},[t._v(t._s(t.title))])])}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"video-player-container"},[i("video",{ref:"video",staticClass:"video",attrs:{src:e.src,poster:e.poster,"x5-video-player-type":"h5","x5-video-player-fullscreen":"true","x5-playsinline":"",playsinline:"","webkit-playsinline":"",preload:"auto","x-webkit-airplay":"allow"},on:{ended:e.playOver}}),e._v(" "),i("div",{staticClass:"video-mask",on:{click:e.clickHandel}},[i("div",{class:"mask-content "+(e.showMask||!e.playState?"black-mask":"")}),e._v(" "),e.showMask?i("div",{staticClass:"mask-content"},[i("div",{staticClass:"time"},[e._v(e._s(e.currentTimeStr)+"/"+e._s(e.totalTimeStr))]),e._v(" "),i("div",{staticClass:"video-control"},[i("van-slider",{staticClass:"slider",attrs:{max:100,"active-color":"red","bar-height":"0.1rem"},on:{change:e.processChange},model:{value:e.playProcess,callback:function(t){e.playProcess=t},expression:"playProcess"}})],1)]):e._e(),e._v(" "),e.showMask||!e.playState?i("van-icon",{staticClass:"play-icon",attrs:{name:e.playState?"pause-circle-o":"play-circle-o"},on:{click:function(t){return t.stopPropagation(),e.clickPlayIcon(t)}}}):e._e()],1)])}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"bottomplayer",on:{click:e.gotoPlayer}},[i("div",{staticClass:"icon"},[i("img",{attrs:{src:e.music.picUrl,width:"40",height:"40"}})]),e._v(" "),i("div",{staticClass:"text"},[i("h2",{staticClass:"name"},[e._v(e._s(e.music.name))]),e._v(" "),i("div",{staticClass:"desc"},[e._v(e._s(e.music.author+" - "+e.music.album))])]),e._v(" "),i("div",{staticClass:"play-control"},[e.playState?i("van-icon",{attrs:{name:"pause-circle-o"},on:{click:function(t){return t.stopPropagation(),e.stop(t)}}}):i("van-icon",{attrs:{name:"play-circle-o"},on:{click:function(t){return t.stopPropagation(),e.start(t)}}})],1),e._v(" "),i("div",{staticClass:"play-control"},[i("van-icon",{attrs:{name:"bars"},on:{click:function(t){return t.stopPropagation(),e.$store.commit("changeIsShowBottomSidebar",!0)}}})],1)])}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var a=this,t=a.$createElement,n=a._self._c||t;return n("div",{staticClass:"friend-container"},[n("van-index-bar",{attrs:{"index-list":a.indexList}},a._l(a.friendSort,function(t,i){return n("div",{key:i},[t&&0<t.length?n("van-index-anchor",{attrs:{index:a.indexList[i]}},[a._v(a._s(a.indexList[i]))]):a._e(),a._v(" "),a._l(t,function(t,e){return n("van-swipe-cell",{key:t.id},[n("div",{staticClass:"list-row"},[n("div",{staticClass:"head-img"},[n("img",{attrs:{src:t.picUrl}})]),a._v(" "),n("div",{staticClass:"list-title"},[a._v(a._s(t.name))])]),a._v(" "),n("template",{slot:"right"},[n("van-button",{attrs:{square:"",type:"danger",text:"删除"},on:{click:function(t){return a.deleteFriend(i,e)}}})],1)],2)})],2)}),0)],1)}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},function(t,e,i){"use strict";function a(){var i=this,t=i.$createElement,a=i._self._c||t;return a("span",{style:{position:"fixed",left:0,bottom:0,fontSize:"0.5rem",zIndex:9999}},i._l(i.routes,function(t,e){return a("span",{key:t.path},[a("router-link",{attrs:{to:t.path}},[i._v(i._s(t.name))]),i._v(" "),e!==i.routes.length-1?a("span",[i._v(" | ")]):i._e()],1)}),0)}var n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},,,,,,,,,,,,,,,,,function(t,e,i){"use strict";var a=v(i(292)),n=v(i(211)),s=v(i(216)),r=v(i(315)),o=v(i(317)),c=v(i(328)),u=v(i(337)),l=v(i(341)),d=v(i(352)),f=v(i(366)),m=v(i(368));function v(t){return t&&t.__esModule?t:{default:t}}var p=[{path:"/",name:"index",component:a.default,children:[{path:"my",component:r.default},{path:"",component:o.default},{path:"find",component:o.default},{path:"friend",component:l.default},{path:"video",component:d.default}]},{path:"/music/play",name:"play",component:n.default},{path:"/music/menu",name:"menu",component:s.default},{path:"/music/my",name:"my",component:r.default},{path:"/music/search",name:"search",component:c.default},{path:"/music/comment/:id",name:"comment",component:u.default},{path:"/music/playListSquare",name:"playListSquare",component:f.default},{path:"/music/playList",name:"playList",component:m.default}];t.exports=p},,function(t,e,i){"use strict";i.r(e);var a=i(174),n=i(89);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);i(310);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},,,,,function(t,e,i){"use strict";i.r(e);var a=i(177),n=i(96);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);i(314);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},,,,,,,,,,,,,,function(i,t,a){(function(t){var e=a(411);i.exports={build:{env:a(231),assetsRoot:e.resolve(t,"../dist"),assetsSubDirectory:"static",assetsPublicPath:"./",productionSourceMap:!1,productionGzip:!1,productionGzipExtensions:["js","css"],bundleAnalyzerReport:Object({NODE_ENV:"production"}).npm_config_report},dev:{env:a(412),port:8081,autoOpenBrowser:!1,assetsSubDirectory:"static",assetsPublicPath:"/",proxyTable:{},cssSourceMap:!1},prefix:+new Date}}).call(this,"/")},function(t,e){t.exports={NODE_ENV:'"production"'}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,u){"use strict";(function(t){u(266);var e=r(u(2)),i=r(u(291)),a=r(u(209)),n=r(u(372));u(379),u(508);var s=r(u(509));function r(t){return t&&t.__esModule?t:{default:t}}u(510),e.default.use(i.default);var o={base:t,routes:a.default,mode:"hash",fallback:!1},c=new i.default(o);c.beforeEach(function(t,e,i){i()}),new e.default({render:function(t){return t(n.default)},store:s.default,router:c}).$mount("#app")}).call(this,"/")},function(t,e,i){"use strict";var a,n=i(44),s=(a=n)&&a.__esModule?a:{default:a};window.Promise=s.default},,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,i){"use strict";i.r(e);var a=i(173),n=i(75);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);i(300);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},function(t,e,i){"use strict";i.r(e);var a=i(185),n=i(77);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);i(298);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},,,,function(t,e,i){"use strict";var a=i(81);i.n(a).a},function(t,e,i){"use strict";var a=i(82);i.n(a).a},function(t,e,i){"use strict";var a=i(87);i.n(a).a},function(t,e,i){"use strict";var a=i(88);i.n(a).a},,,,,,,function(t,e,i){"use strict";i.r(e);var a=i(186),n=i(91);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},,function(t,e,i){"use strict";i.r(e);var a=i(184),n=i(93);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},function(t,e,i){"use strict";var a=i(95);i.n(a).a},,,,function(t,e,i){"use strict";var a=i(98);i.n(a).a},function(t,e,i){"use strict";i.r(e);var a=i(176),n=i(99);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);i(316);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},function(t,e,i){"use strict";var a=i(101);i.n(a).a},function(t,e,i){"use strict";i.r(e);var a=i(175),n=i(102);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);i(327);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},,,,,,,,,,function(t,e,i){"use strict";var a=i(104);i.n(a).a},function(t,e,i){"use strict";i.r(e);var a=i(172),n=i(105);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);i(336);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},,,,,,,,function(t,e,i){"use strict";var a=i(107);i.n(a).a},function(t,e,i){"use strict";i.r(e);var a=i(171),n=i(108);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);i(340);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},,,function(t,e,i){"use strict";var a=i(110);i.n(a).a},function(t,e,i){"use strict";i.r(e);var a=i(191),n=i(111);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);i(351);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},,,,,,,,,,function(t,e,i){"use strict";var a=i(113);i.n(a).a},function(t,e,i){"use strict";i.r(e);var a=i(182),n=i(114);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);i(365);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},,,,,,,,,function(t,e,i){"use strict";i.r(e);var a=i(189),n=i(116);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);i(364);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},,,function(t,e,i){"use strict";var a=i(118);i.n(a).a},function(t,e,i){"use strict";var a=i(119);i.n(a).a},function(t,e,i){"use strict";i.r(e);var a=i(181),n=i(120);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);i(367);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},function(t,e,i){"use strict";var a=i(122);i.n(a).a},function(t,e,i){"use strict";i.r(e);var a=i(180),n=i(123);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);i(371);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},function(t,e,i){"use strict";i.r(e);var a=i(187),n=i(125);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);i(370);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},function(t,e,i){"use strict";var a=i(127);i.n(a).a},function(t,e,i){"use strict";var a=i(128);i.n(a).a},function(t,e,i){"use strict";i.r(e);var a=i(179),n=i(129);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);i(378);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},function(t,e,i){"use strict";i.r(e);var a=i(192),n=i(131);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},function(t,e,i){"use strict";i.r(e);var a=i(178),n=i(133);for(var s in n)"default"!==s&&function(t){i.d(e,t,function(){return n[t]})}(s);i(377);var r=i(1),o=Object(r.a)(n.default,a.a,a.b,!1,null,null,null);e.default=o.exports},,,function(t,e,i){"use strict";var a=i(135);i.n(a).a},function(t,e,i){"use strict";var a=i(136);i.n(a).a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(i(44)),a=o(i(380)),s=o(i(2)),r=o(i(224)),c=i(410);function o(t){return t&&t.__esModule?t:{default:t}}var u=r.default.CancelToken;if(!s.default.prototype.$ajax){var l=[],d=!1,f=0,m=function(t){return t._uniqueId=++f,new n.default(function(e,i){t.promise={resolve:e,reject:i},r.default.request(t).then(function(t){e(t)}).catch(function(t){t&&508!==t.status&&i(t)})})};r.default.interceptors.request.use(function(e){switch("get"===e.method&&(e.params=e.params||{},e.params._t=Date.now()),e.method){case"get":case"delete":case"head":case"options":e.params=e.params||{};break;case"post":case"put":case"patch":if(e.data=e.data||{},"string"==typeof e.data){var i=e.data;try{e.data=JSON.parse(i)}catch(t){e.data=function(t){var e={};return t.split("&").forEach(function(t){t=t.split("="),e[t[0]]=t[1]}),e}(i)}}}return e}),r.default.interceptors.response.use(function(t){return t.data},function(t){t.config.url;return t=function(t){var e=new Error,i=void 0;return t.response?(i="object"===(0,a.default)(t.response.data)?t.response.data:{}).status=t.response.status:i={msg:t.message},e.cancel=r.default.isCancel(t),e.code=i.code,e.msg=e.message=i.msg||i.message,e.status=i.status,i.data&&(e.data=i.data),508!==e.status||t.config.ignore||l.push(t.config),e}(t),n.default.reject(t)}),r.default.goon=function(){var t=l.length,i=[],e=void 0;if(0!==t&&!d){d=!0;for(var a=0;a<t;a++)(e=l[a]).ignore=!0,function(e){var t=r.default.request(e);t.then(function(t){e.promise.resolve(t)},function(t){t&&508!==t.status&&e.promise.reject(t)}),i.push(t)}(e);return n.default.all(i).then(function(){d=!(l=[])}).catch(function(){d=!1}),r.default}};["get","delete","head","options","post","put","patch","read","create","update"].map(function(o){r.default[o]=function(t){function e(){r.cancel()}var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},n=void 0,s=void 0,r=u.source();if(-1==="create|read|update|delete".indexOf(o))return-1!=="post|put|patch".indexOf(o)&&(n=i,i=arguments[2]||{}),i.method=o,i.url=-1!==t.indexOf(c.protocal)?t:c.useMock?c.localhost+t:t.split(c.website).join(c.host),i.data=n,i.headers={"X-Requested-With":"XMLHttpRequest"},i.cancelToken=r.token,(s=m(i)).cancel=e,s;return-1!=="read|delete".indexOf(o)?a.params=i:a.data=i,a.method={create:"post",read:"get",update:"put",delete:"delete"}[o]||"post",a.url=-1!==t.indexOf(c.protocal)?t:c.useMock?t.split(c.website).join(c.localhost):t.split(c.website).join(c.host),a.headers={"X-Requested-With":"XMLHttpRequest"},a.cancelToken=r.token,(s=m(a)).cancel=e,s}}),s.default.prototype.$ajax=r.default}e.default=s.default.prototype.$ajax},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,i){"use strict";var a,n=i(230),s=(a=n)&&a.__esModule?a:{default:a};window.CURRENT_ENV;console.log("current environment:",window.ENV_NAME),t.exports={protocal:"http",host:"http://localhost:3000/",localhost:"http://localhost:"+s.default.dev.port,website:"/music/",useMock:!1}},,function(t,e,i){var a=i(413),n=i(231);t.exports=a(n,{NODE_ENV:'"development"'})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(i(2)),n=s(i(224));s(i(230));function s(t){return t&&t.__esModule?t:{default:t}}var r="/music/";if(!a.default.prototype.$http){var o={};["get","delete","head","options","post","put","patch","read","create","update"].forEach(function(t){o[t]=function(){var t;return"string"==typeof arguments[0]&&(arguments[0]=arguments[0].split(r).join("/music/")),(t=a.default.prototype).$ajax.apply(t,arguments)}}),a.default.prototype.$http=o,a.default.prototype.$axios=n.default}e.default=a.default.prototype.$http},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(i(2)),n=s(i(18));function s(t){return t&&t.__esModule?t:{default:t}}a.default.use(n.default),e.default=new n.default.Store({state:{count:0,numbers:[0,1,2,3,4,5,6,7,8],playState:!1,currentPlayList:[],currentMusicIndex:-1,music:{},audio:null,isShowSidebar:!1,isShowBottomSidebar:!1},getters:{},mutations:{setAudio:function(t,e){t.audio||(t.audio=e)},changeCurrentPlayList:function(t,e){t.currentPlayList=e},changeCurrentMusicIndex:function(t,e){t.currentMusicIndex=e},changeMusic:function(t,e){t.music=e},changePlayState:function(t,e){t.playState=Boolean(e)},changeIsShowSidebar:function(t,e){t.isShowSidebar=Boolean(e)},changeIsShowBottomSidebar:function(t,e){t.isShowBottomSidebar=Boolean(e)}},actions:{changeCount1s:function(t){setTimeout(function(){t.commit("changeCount")},1e3)}}})},function(t,e,n){"use strict";var l=i(n(221)),d=i(n(38)),f=i(n(210)),s=i(n(222)),r=i(n(44));function i(t){return t&&t.__esModule?t:{default:t}}var m=n(511);function a(t){var u=t.method;return function(o,c){var i,a=this;return new r.default((i=(0,s.default)(l.default.mark(function t(s,r){var e;return l.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e=o.split("?")[0],n(517)("./mock"+e+".js").then(function(t){if(t&&t.default){var e=t.default;if("function"==typeof e){var i=null;"GET"===u||"DELETE"===u?i=m.parse(o,!0).query:"POST"!==u&&"PUT"!==u||(i={}),c&&c.params&&(0,f.default)(i,JSON.parse((0,d.default)(c.params)));var a=e({url:o,params:i}).body;s(a)}else s(t.body)}else{var n="Request not found: "+o;console.error(n),r(n)}}).catch(function(t){return r(t)});case 2:case"end":return t.stop()}},t,a)})),function(t,e){return i.apply(this,arguments)}))}}function o(n){return new r.default(function(e,i){var a=document.createElement("script"),t=n.split("?")[0];a.src="./mock"+t+".js",a.async=!1,document.body.appendChild(a),a.onload=function(){var t=window.module.exports;void 0!==t?e(t.body):i({code:0,message:"fail",data:null}),document.body.removeChild(a)},setTimeout(function(){try{-1!==[].indexOf.call(document.body.children,a)&&(console.log("removeChild"),document.body.removeChild(a))}catch(t){i(t)}},500)})}"local"!==window.ENV_NAME&&(Vue.prototype.$ajax=new function t(){t.prototype.get=a({method:"GET"}),t.prototype.delete=a({method:"DELETE"}),t.prototype.post=a({method:"POST"}),t.prototype.put=a({method:"PUT"}),t.prototype.getByScript=o})},,,,,,,function(t,e,a){var n={"./mock/music/apiTest.js":[520,7,2],"./mock/music/artist/desc.js":[521,7,3],"./mock/music/comment/music.js":[522,7,4],"./mock/music/lyric.js":[523,7,5],"./mock/music/mv/detail.js":[524,7,6],"./mock/music/mv/exclusive/rcmd.js":[525,7,7],"./mock/music/mv/url.js":[526,7,8],"./mock/music/playlist/detail.js":[527,7,9],"./mock/music/search.js":[530,7,12],"./mock/music/search/default.js":[528,7,10],"./mock/music/search/hot/detail.js":[529,7,11],"./mock/music/song/detail.js":[531,7,13],"./mock/music/song/url.js":[532,7,14],"./mock/music/top/playlist/highquality.js":[533,7,15],"./mock/tools.js":[534,9,16]};function i(e){if(!a.o(n,e))return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=n[e],i=t[0];return a.e(t[2]).then(function(){return a.t(i,t[1])})}i.keys=function(){return Object.keys(n)},i.id=517,t.exports=i}],[[265,1,17]]]);