text: webpackJsonp([5],{"W1+L":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});i("ZnkQ");var s={name:"recommend",data:function(){return{msg:"Welcome to Your Vue.js App",items:[],swipes:[]}},created:function(){this.getRecommend(),this.getCdInfo()},methods:{getRecommend:function(){var t=this;this.$recommendService.getRecommend().then(function(e){t.swipes=e.data.slider},function(t){throw new Error(t)})},getCdInfo:function(){var t=this;this.$recommendService.getCdInfo().then(function(e){t.items=e.data.list})},goToDetail:function(t){this.$router.push({path:"/recommend/detail/"+t})}}},n={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"block"},[i("mt-swipe",{attrs:{auto:4e3}},t._l(t.swipes,function(t,e){return i("mt-swipe-item",{key:e},[i("a",{attrs:{href:t.linkUrl}},[i("img",{staticClass:"swipe-recommend",attrs:{height:"100%",width:"100%",src:t.picUrl,alt:""}})])])}))],1),t._v(" "),i("h5",{staticClass:"list-title"},[t._v("热门歌单推荐")]),t._v(" "),i("div",{staticClass:"song-recommend"},[i("ul",t._l(t.items,function(e,s){return i("li",{key:s,on:{click:function(i){t.goToDetail(e.dissid)}}},[i("div",{staticClass:"song-img"},[i("img",{attrs:{width:"60",height:"60",src:e.imgurl,alt:""}})]),t._v(" "),i("div",{staticClass:"song-info"},[i("p",{attrs:{href:""}},[t._v(t._s(e.creator.name))]),t._v(" "),i("p",[t._v(t._s(e.dissname))])])])}))])])},staticRenderFns:[]};var r=i("VU/8")(s,n,!1,function(t){i("t1OY")},"data-v-6e367873",null);e.default=r.exports},t1OY:function(t,e){}});