index-legacy.36667dab.js 9.0 KB

1
  1. !function(){function t(t,e,n,a,i,l,r){try{var o=t[l](r),s=o.value}catch(u){return void n(u)}o.done?e(s):Promise.resolve(s).then(a,i)}function e(e){return function(){var n=this,a=arguments;return new Promise((function(i,l){var r=e.apply(n,a);function o(e){t(r,i,l,o,s,"next",e)}function s(e){t(r,i,l,o,s,"throw",e)}o(void 0)}))}}var n=document.createElement("style");n.innerHTML="._myScore_1fgvc_1 .el-tabs__item{font-size:18px;font-weight:600;color:#999;height:56px;line-height:56px;padding-right:40px;padding-left:0}._myScore_1fgvc_1 .el-tabs__item.is-active{font-size:20px;color:#000}._myScore_1fgvc_1 .el-tabs__nav-wrap:after{height:1px;background:#eeeeee}._myScore_1fgvc_1 .el-tabs__active-bar{height:4px}\n",document.head.appendChild(n),System.register(["./index-legacy.230f240a.js","./index-legacy.11d27a41.js","./index-legacy.508ebce0.js","./index2-legacy.44e7e3da.js","./item-legacy.477bd6b8.js","./index2-legacy.38115259.js","./index2-legacy.f2f80c5a.js"],(function(t){"use strict";var n,a,i,l,r,o,s,u,c,f,p,d,m;return{setters:[function(t){n=t.C},function(t){a=t.P},function(t){i=t.d,l=t.c,r=t.bD,o=t.a,s=t.b,u=t.F,c=t.aO,f=t.aP},function(t){p=t.E,d=t.a},function(t){m=t.M},function(){},function(){}],execute:function(){var g=""+new URL("hold.abbcc7ab.png",module.meta.url).href,h=i({name:"item",props:{item:{type:Object,default:function(){return{}}},onItemClick:{type:Function,default:function(t){}}},render:function(){var t=this,e=this.item;return l("div",{class:"rounded-[10px] w-[156px] cursor-pointer overflow-hidden relative transition-all",onClick:function(){t.onItemClick(e)}},[l(r,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAAXNSR0IArs4c6QAABiBJREFUaEPdm3tM1WUYxz8viikIhImaiiFjKYp4C01nWlsTq4lr2sUyLW3TbC6lrKGoeEEqC2ku080ulmkXXeGspLmV5rxE3iWwHF5AMyWQ25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4M7Xn/Jn0WphsVCcqd95Mql+QKVcsyjJGibpUqQBONJvgt35GUuII8ZiuFjv4crbL70Y9Z3TvZqhGAZwCV9sYXQoMRPy5Q8y8p4ve3tWV64nvZDEF946QWbW1psf6dZYAKkMGxhGyfZOYF9ym+VrTV3DVlygfMVYu3metjDMAmnZRp9FLU4hPeUm87CuI5tZnfCDfn5Nhufs3XNRUkHE35sQuMSuq641xVeWa3YfK5T68QCPIaKeJphS9M5f+r04V03wwwuPSd1fLVa+lGw2sVTLShHaib0pLdDfaHN8pMoXNaUNCfcwwmVx4GjX7tEpGotcu1TxpqcgX6SHB5tojbxZXVlMSGivneuPz8two1UwV200JPH9QpOo2t7oGqya4Qz+5RJffA59RbFtql1wFnt8vUiPa63XvugZfKKGowwCfADa2S0qnTw1vySGx4K5wOusar8P3Txln2/eVC3V4PfA0NrzquU8ji7KjYpH73NMHw4ylam4aHifn+yDnmpGFT0On2zDIXDd0Ui/K8tiwMl+86a2FunKFy44aKpSioNaEtmzZ/E2MKgelIT1lisUveN3YUMmxPPj1VM2UlnNu7wGZu+kHDn+6kSJnsayK9YnjiBz7CPGD+4uEdmHGnZpr6NQZ8qOGyCwLAD0OfpUsS6N7NadZlSGmq1FhZTWl+w6T+8kmmbv2K4p0DJz0JJHPjxUJA+NJCAmmnRohTkuRKzdkc0ZnvRuPx9G94rN8+BIQALExBOf9QbUFoxqX9Ikl+Ei+ZRleD1+UItuPz3wBbHKt1+MzpzzbD0BNGmqFXfsAVAn3+yNsI5r78yUEp4v49TUSV5B+exHICdKvr3I5Qfr1ZTzXsO231yldQfr1hVhXoH57pdm90vDbS+lNlVRqxnPb/K3gP+sGzxjJJkolAAAAAElFTkSuQmCC",class:"w-6 h-6 !absolute top-2 right-4 z-10"},null),l(r,{class:"w-full h-[156px] align-middle rounded-[10px]",fit:"cover",src:e.albumCoverUrl||g},null),l("div",{class:"text-lg text-black whitespace-nowrap text-ellipsis overflow-hidden pb-0.5 pt-2"},[e.albumName]),l("div",{class:"flex justify-between text-sm text-[#999]"},[l("div",{class:"flex items-center"},[l("span",null,[e.musicSheetCount,o("首")])]),l("div",{class:"flex items-center "},[l("span",null,[e.albumFavoriteCount,o("收藏")])])])])}}),v=i({name:"list",data:function(){return{pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]},list:[],loading:!1,dataShow:!1}},mounted:function(){this.getList()},methods:{getList:function(){var t=this;return e(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,e.prev=1,e.next=4,s.get("/api-website/music/album/favorite",{params:{page:t.pageInfo.page,rows:t.pageInfo.limit}});case 4:n=e.sent,a=n.data,t.list=a.rows||[],t.pageInfo.total=a.total,a.total<=0&&(t.dataShow=!0),e.next=13;break;case 11:e.prev=11,e.t0=e.catch(1);case 13:t.dataShow?t.loading=!1:setTimeout((function(){t.loading=!1}),200);case 14:case"end":return e.stop()}}),e,null,[[1,11]])})))()}},render:function(){var t=this;return l(u,null,[l("div",{class:"flex flex-wrap"},[l(p,{loading:this.loading,animated:!0,class:"px-[14px] flex items-center flex-row justify-between",count:4},{default:function(){return[t.list.map((function(e){return l(u,null,[l("div",{class:"w-1/4 pb-5"},[l(h,{class:"m-auto",item:e,onItemClick:function(e){t.$router.push({path:"/albumDetail",query:{id:e.id}})}},null)])])}))]},template:function(){return l("div",{class:"flex items-center flex-col justify-between w-[156px]"},[l(d,{variant:"image",style:{width:"156px",height:"156px"}},null),l(d,{variant:"p",style:{width:"100%",margin:"4px 0"}},null),l("div",{class:"flex w-full justify-between"},[l(d,{variant:"p",style:{width:"35%"}},null),l(d,{variant:"p",style:{width:"35%"}},null)])])}})]),l(a,{total:this.pageInfo.total,page:this.pageInfo.page,"onUpdate:page":function(e){return t.pageInfo.page=e},limit:this.pageInfo.limit,"onUpdate:limit":function(e){return t.pageInfo.limit=e},pageSizes:this.pageInfo.page_size,pagination:this.getList},null),this.dataShow&&l(n,null,null)])}}),w={myScore:"_myScore_1fgvc_1"},x=i({name:"list",props:{auditStatus:{type:String,default:""},onNumber:{type:Function,default:function(t){}}},data:function(){return{pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]},list:[],loading:!1,dataShow:!1}},mounted:function(){this.getList()},methods:{getList:function(){var t=this;return e(regeneratorRuntime.mark((function e(){var n,a,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,e.prev=1,n="MYSCORE"===t.auditStatus?"/api-website/music/sheet/my":"/api-website/music/sheet/favorite",e.next=5,s.get(n,{params:{page:t.pageInfo.page,rows:t.pageInfo.limit}});case 5:a=e.sent,i=a.data,t.list=i.rows||[],t.pageInfo.total=i.total,i.total<=0&&(t.dataShow=!0),e.next=14;break;case 12:e.prev=12,e.t0=e.catch(1);case 14:t.dataShow?t.loading=!1:setTimeout((function(){t.loading=!1}),200);case 15:case"end":return e.stop()}}),e,null,[[1,12]])})))()}},render:function(){var t=this;return l(u,null,[l("div",{class:"mt-5"},[l(p,{loading:this.loading,animated:!0,class:" w-full m-auto px-[14px] flex items-center flex-col",count:3},{default:function(){return[t.list.map((function(e){return l(m,{onClick:function(e){"UNPASS"===t.auditStatus&&(console.log(e),t.$router.push({path:"/userInfo/musicOperation",query:{type:"update",id:e.id}}))},item:{id:e.id,addName:e.addName,addUserAvatar:e.addUserAvatar,musicSheetName:e.musicSheetName,titleImg:e.titleImg,subjectNames:e.subjectNames,composer:e.composer,chargeType:e.chargeType},class:[w.musicListItem,"pt-2 cursor-pointer border-b border-solid border-[#E7E6E6] hover:bg-[#F4F4F4]"]},null)}))]},template:function(){return l("div",{class:"h-[94px] flex items-center justify-between w-full pt-2 mb-2"},[l("div",{class:"w-2/3 flex items-center"},[l(d,{variant:"circle",style:{width:"88px",height:"88px"}},null),l("div",{class:"w-1/2 pl-2"},[l(d,{variant:"h3"},null),l(d,{variant:"p",style:{width:"50%"}},null)])]),l(d,{variant:"p",style:{width:"20%"}},null)])}})]),l(a,{total:this.pageInfo.total,page:this.pageInfo.page,"onUpdate:page":function(e){return t.pageInfo.page=e},limit:this.pageInfo.limit,"onUpdate:limit":function(e){return t.pageInfo.limit=e},pageSizes:this.pageInfo.page_size,pagination:this.getList},null),this.dataShow&&l(n,{style:{marginBottom:"30px"}},null)])}});t("default",i({name:"live-class",data:function(){return{activeName:"MYSCORE"}},methods:{getList:function(){}},render:function(){var t=this;return l("div",{class:[w.myScore,"relative px-[25px]"]},[l(c,{modelValue:this.activeName,"onUpdate:modelValue":function(e){return t.activeName=e}},{default:function(){return[l(f,{label:"我的乐谱",name:"MYSCORE"},{default:function(){return["MYSCORE"===t.activeName&&l(x,{auditStatus:"MYSCORE"},null)]}}),l(f,{label:"收藏乐谱",name:"COLLECTION"},{default:function(){return["COLLECTION"===t.activeName&&l(x,{auditStatus:"COLLECTION"},null)]}}),l(f,{label:"收藏专辑",name:"ALBUM"},{default:function(){return["ALBUM"===t.activeName&&l(v,null,null)]}})]}})])}}))}}}))}();