index-legacy.7de1c807.js 13 KB

1
  1. !function(){function e(e,t,i,a,s,n,_){try{var r=e[n](_),o=r.value}catch(l){return void i(l)}r.done?t(o):Promise.resolve(o).then(a,s)}function t(t){return function(){var i=this,a=arguments;return new Promise((function(s,n){var _=t.apply(i,a);function r(t){e(_,s,n,r,o,"next",t)}function o(t){e(_,s,n,r,o,"throw",t)}r(void 0)}))}}var i=document.createElement("style");i.innerHTML="._title_1xs2v_1{font-size:20px;color:red}._w1200_1xs2v_5{width:1002px!important;margin:0 auto}._section_1xs2v_9{padding:62px 0 16px}._section_1xs2v_9 ._titleWrap_1xs2v_12{text-align:left;margin-bottom:24px;display:flex;flex-direction:row;align-items:center;justify-content:space-between}._section_1xs2v_9 ._titleWrap_1xs2v_12 ._titleWrapLeft_1xs2v_20{text-align:left;display:flex;flex-direction:row;align-items:center}._section_1xs2v_9 ._titleWrap_1xs2v_12 ._titleWrapLeft_1xs2v_20 ._dotImg_1xs2v_26{width:30px;height:20px}._section_1xs2v_9 ._titleWrap_1xs2v_12 ._titleWrapLeft_1xs2v_20 h4{margin-right:10px;font-size:24px;font-weight:600;color:#1d1f26;line-height:33px}._section_1xs2v_9 ._titleWrap_1xs2v_12 ._titleWrapMore_1xs2v_37{display:flex;flex-direction:row;align-items:center;cursor:pointer;margin-right:24px}._section_1xs2v_9 ._titleWrap_1xs2v_12 ._titleWrapMore_1xs2v_37 img{width:20px;height:20px;margin-left:8px}._section_1xs2v_9 ._titleWrap_1xs2v_12 ._titleWrapMore_1xs2v_37 span{height:28px;font-size:20px;font-weight:400;color:#1d1f26;line-height:28px}._section_1xs2v_9 ._titleWrap_1xs2v_12 ._titleWrapMore_1xs2v_37:active{opacity:.9}._section_1xs2v_9 ._hotAlbum_1xs2v_59{width:707px}._section_1xs2v_9 ._albumMoudel_1xs2v_62{display:flex;flex-direction:row}._section_1xs2v_9 ._albumMoudel_1xs2v_62 ._albumWrap_1xs2v_66{position:relative;width:707px}._section_1xs2v_9 ._albumMoudel_1xs2v_62 ._albumWrap_1xs2v_66 ._line_1xs2v_70{opacity:.2;background-color:#979797;width:1px;height:calc(100% - 30px);position:absolute;right:0;top:5px}._section_1xs2v_9 ._albumMoudel_1xs2v_62 ._albumWrap_1xs2v_66 ._albumList_1xs2v_79{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap}._section_1xs2v_9 ._albumMoudel_1xs2v_62 ._albumSearch_1xs2v_85{padding-left:24px;padding-top:5px;width:100%}._section_1xs2v_9 ._albumMoudel_1xs2v_62 ._albumSearch_1xs2v_85 ._inputWrap_1xs2v_90{position:relative}._section_1xs2v_9 ._albumMoudel_1xs2v_62 ._albumSearch_1xs2v_85 ._inputWrap_1xs2v_90 ._searchIcon_1xs2v_93{width:24px;height:25px;position:absolute;z-index:1000;top:12px;right:27px;cursor:pointer}._section_1xs2v_9 ._albumMoudel_1xs2v_62 ._albumSearch_1xs2v_85 ._inputWrap_1xs2v_90 ._searchIcon_1xs2v_93:active{opacity:.8}._section_1xs2v_9 ._albumMoudel_1xs2v_62 ._albumSearch_1xs2v_85 ._inputWrap_1xs2v_90 input::-moz-placeholder{height:25px;font-size:16px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#7c7c7c;line-height:25px}._section_1xs2v_9 ._albumMoudel_1xs2v_62 ._albumSearch_1xs2v_85 ._inputWrap_1xs2v_90 input::placeholder{height:25px;font-size:16px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#7c7c7c;line-height:25px}._section_1xs2v_9 ._albumMoudel_1xs2v_62 ._albumSearch_1xs2v_85 ._inputWrap_1xs2v_90 .el-input .el-input__wrapper{box-shadow:none;padding:0}._section_1xs2v_9 ._albumMoudel_1xs2v_62 ._albumSearch_1xs2v_85 ._inputWrap_1xs2v_90 .el-input .el-input__wrapper .el-input__inner{padding:0 52px 0 24px;height:50px;line-height:50px;background:#ffffff;border-radius:25px;border:1px solid #2dc7aa}._section_1xs2v_9 ._albumMoudel_1xs2v_62 ._albumSearch_1xs2v_85 ._inputWrap_1xs2v_90 .el-input .el-input__wrapper .el-input__inner:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}._section_1xs2v_9 ._albumMoudel_1xs2v_62 ._albumSearch_1xs2v_85 ._chioseRow_1xs2v_128{margin-top:38px}._section_1xs2v_9 ._albumMoudel_1xs2v_62 ._albumSearch_1xs2v_85 ._chioseRow_1xs2v_128 ._chioseTagWrap_1xs2v_131{max-height:168px;overflow:hidden}._section_1xs2v_9 ._albumMoudel_1xs2v_62 ._albumSearch_1xs2v_85 ._chioseRow_1xs2v_128 p{font-size:20px;font-weight:600;color:#000;line-height:28px;margin-bottom:22px}._section_1xs2v_9 ._videoList_1xs2v_142{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;margin:25px 0}._section_1xs2v_9 ._videoNav_1xs2v_149{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0 2px}._section_1xs2v_9 ._videoNav_1xs2v_149 h5{font-size:20px;font-weight:600;color:#333;line-height:30px}._section_1xs2v_9 ._videoNav_1xs2v_149 ._wrapRight_1xs2v_162{display:flex;flex-direction:row;cursor:pointer}._section_1xs2v_9 ._videoNav_1xs2v_149 ._wrapRight_1xs2v_162 span{font-size:16px;color:#666}._section_1xs2v_9 ._videoNav_1xs2v_149 ._wrapRight_1xs2v_162 ._arrow_1xs2v_171{width:20px;height:20px;margin-left:4px}._mb48_1xs2v_176{margin-bottom:44px!important}._mb32_1xs2v_179{margin-bottom:32px!important}._pt41_1xs2v_182{padding-top:41px!important}\n",document.head.appendChild(i),System.register(["./index-legacy.488c5e1e.js","./index-legacy.b13127f9.js","./index-legacy.802dafb3.js","./titleDot-legacy.d1766b1f.js","./scrollbar.min-legacy.16eb3f49.js","./index-legacy.f1ce61e2.js","./moreArrow-legacy.fe819ecc.js","./index-legacy.60a2d2dd.js","./hold-legacy.97658236.js","./lineStart-legacy.ceca8dbf.js","./player-legacy.a80d222f.js","./icon-legacy.1c671cd5.js","./music-legacy.9f3f41e0.js","./lineStart-legacy.34e0c6ca.js","./index2-legacy.338021e7.js"],(function(e){"use strict";var i,a,s,n,_,r,o,l,c,p,u,x,v,d,g,h;return{setters:[function(e){i=e.a},function(e){a=e.v},function(e){s=e.m},function(e){n=e.c},function(e){_=e.h},function(e){r=e.b},function(e){o=e.t,l=e.a},function(e){c=e.d,p=e.r,u=e.u,x=e.o,v=e.c,d=e.a,g=e.E,h=e.b},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var m={title:"_title_1xs2v_1",w1200:"_w1200_1xs2v_5",section:"_section_1xs2v_9",titleWrap:"_titleWrap_1xs2v_12",titleWrapLeft:"_titleWrapLeft_1xs2v_20",dotImg:"_dotImg_1xs2v_26",titleWrapMore:"_titleWrapMore_1xs2v_37",hotAlbum:"_hotAlbum_1xs2v_59",albumMoudel:"_albumMoudel_1xs2v_62",albumWrap:"_albumWrap_1xs2v_66",line:"_line_1xs2v_70",albumList:"_albumList_1xs2v_79",albumSearch:"_albumSearch_1xs2v_85",inputWrap:"_inputWrap_1xs2v_90",searchIcon:"_searchIcon_1xs2v_93",chioseRow:"_chioseRow_1xs2v_128",chioseTagWrap:"_chioseTagWrap_1xs2v_131",videoList:"_videoList_1xs2v_142",videoNav:"_videoNav_1xs2v_149",wrapRight:"_wrapRight_1xs2v_162",arrow:"_arrow_1xs2v_171",mb48:"_mb48_1xs2v_176",mb32:"_mb32_1xs2v_179",pt41:"_pt41_1xs2v_182"};e("default",c({name:"home",components:{albumItem:i,videoDetailItem:a,musicLIstItem:s,hotSearch:_,banner:r,tagItem:o},setup:function(){var e=p({albumList:[],videoList:[],search:"",tagTree:[]}),s=u(),_=function(){var i=t(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,h.post("/api-website/open/music/album/list",{data:{albumStatus:1,page:1,rows:8}});case 3:i=t.sent,e.albumList=i.data.rows,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})));return function(){return i.apply(this,arguments)}}(),c=function(){var i=t(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,h.post("/api-website/open/videoLessonGroup/page",{data:{albumStatus:"PASS",page:1,rows:3}});case 3:i=t.sent,e.videoList=i.data.rows,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})));return function(){return i.apply(this,arguments)}}(),f=function(e,t){s.push({name:"searchdetail",params:{search:e,type:t}})},b=function(){var i=t(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,h.get("/api-website/open/MusicTag/tree",{});case 3:i=t.sent,e.tagTree=i.data.splice(0,2),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})));return function(){return i.apply(this,arguments)}}();return x((function(){_(),c(),b()})),function(){return v("div",null,[v(r,null,null),v("div",{class:"bg-white"},[v("div",{class:m.w1200},[v("div",{class:m.section},[v("div",{class:m.albumMoudel},[v("div",{class:m.albumWrap},[v("div",{class:[m.titleWrap,m.hotAlbum]},[v("div",{class:[m.titleWrapLeft]},[v("h4",null,[d("热门专辑")]),v("img",{src:n,class:m.dotImg,alt:""},null)]),v("div",{class:[m.titleWrapMore],onClick:function(){return f("","album")}},[v("span",null,[d("更多")]),v("img",{src:l,alt:""},null)])]),v("div",{class:m.albumList},[e.albumList.map((function(e){return v(i,{detail:e},null)}))]),v("div",{class:m.line},null)]),v("div",{class:m.albumSearch},[v("div",{class:m.inputWrap},[v("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAyCAYAAAAayliMAAAAAXNSR0IArs4c6QAACA1JREFUaEPVWW1wVOUVfs7dzRchaBypjKMQIWpZdjf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8XGdaZP4uwnT8j8x/cGsxX1do5ierwZByJZaF/wBAP9Xk+l+Y78zcv+6a5b6sHx6dUtDbOvNXRCIcBYwQ8IZD1SDeKKodsiApcmEQ9rBurBu5CDyd6kxXAib52ywBhGNIJOq02hV9o7ZdrpN7o2odGGsI+GqGZqwT5AUAu5ikjXG5Pna1sy/SvAmgNTa3U6drIK+ua+HXP7W9hZwYmPa7WtXpyTw8yMQLiWkBgDnCg0u4CKZTIIQlxiF3XuGBTG361DuULFVh3lgZBhHa+91YfOZexeymZP6XMhsRo3xamtz+It+MJPRpbjYK4ZYuJhmfdS8IfpxLDnVPZ2feUOKM2ZV4xIZD2wANLe6Rn/hP1mcgZ0HjCPDE1Xz3BdrFYEsRfwWWEBlKFiy5JgWYJMv3byooKp1hXuFLbdbiwDUrICXi9P6CovP9f8DwhZE26ILhlr52TQswGZe1vFE4taB4DxEWX6WgnyRaGgsEj1zzAlIi/t5SWPJx714w6gDzVsODI82G/wsBpohbwmrR9YRmuGlDfEHQfOxS47+y8wc8/IF7YgAAAABJRU5ErkJggg==",class:m.searchIcon,onClick:function(){return f(e.search,"music")},alt:""},null),v(g,{placeholder:"搜索你想要的曲目",modelValue:e.search,"onUpdate:modelValue":function(t){return e.search=t}},null)]),v("div",{class:m.chioseLineWrap},[e.tagTree.map((function(t){return v("div",{class:m.chioseRow},[v("p",null,[t.name,d(":")]),v("div",{class:[m.chioseTagWrap,"chioseTagWrap"]},[t.children.map((function(t){return v(o,{class:m.tags,title:t.name,onSearchTag:function(){!function(t){s.push({name:"searchdetail",params:{search:e.search,tag:t.id,parentTagId:t.parentTagId}})}(t)}},null)}))])])}))])])])])])]),v("div",{class:"bg-white"},[v("div",{class:m.w1200},[v("div",{class:[m.section,m.pt41]},[v("div",{class:[m.titleWrap]},[v("div",{class:[m.titleWrapLeft]},[v("h4",null,[d("精品视频课")]),v("img",{src:n,class:m.dotImg,alt:""},null)]),v("div",{class:[m.titleWrapMore],onClick:function(){s.push({path:"/videoDetailList"})}},[v("span",null,[d("更多")]),v("img",{src:l,alt:""},null)])]),v("div",{class:m.videoList},[e.videoList.map((function(e){return v(a,{detail:e},null)}))])])])])])}}}))}}}))}();