1 |
- !function(){var t=document.createElement("style");t.innerHTML=":root:root{--van-primary: #FE2451 !important;--van-picker-confirm-action-color: #FE2451 !important;--van-primary-color: var(--van-primary) !important;--tag-border-color: #FE2451;--tag-color: #FE2451}body{background-color:#fafafa;-webkit-user-select:none;-moz-user-select:none;user-select:none;margin-top:0!important}.btnMore{justify-content:space-between!important}\n",document.head.appendChild(t),System.register(["./index-legacy.fba2875c.js","./auth-legacy.0b00e81c.js"],(function(t,e){"use strict";var n,o,r,i,a,c,u,m,p,l,d,f,s,h,g,v,y,b;return{setters:[function(t){n=t.d,o=t._,r=t.r,i=t.c,a=t.o,c=t.k,u=t.l,m=t.m,p=t.D,l=t.f,d=t.n,f=t.q,s=t.p,h=t.g,g=t.t,v=t.u,y=t.v},function(t){b=t.A}],execute:function(){var t=n({name:"App"});var j=o(t,[["render",function(t,e,n,o,c,u){var m=r("router-view");return a(),i(m)}]]),x=[{path:"/",component:b,children:[{path:"/login",name:"login",component:function(){return c((function(){return e.import("./login-legacy.bf6c3040.js")}),void 0)},meta:{isRegister:!1}},{path:"/music-album",component:function(){return c((function(){return e.import("./index-legacy.5bc911c3.js")}),void 0)},meta:{title:"专辑"}},{path:"/music-album-detail/:id",name:"music-album-detail",component:function(){return c((function(){return e.import("./index-legacy.3d5272fb.js")}),void 0)},meta:{title:"专辑详情"}},{path:"/music-list",component:function(){return c((function(){return e.import("./index-legacy.40021ffd.js")}),void 0)},meta:{title:"曲谱列表"}},{path:"/train-list",component:function(){return c((function(){return e.import("./index-legacy.3b1ff7b1.js")}),void 0)},meta:{title:"声部训练"}},{path:"/music-detail",component:function(){return c((function(){return e.import("./new-index-legacy.4f6ee6a3.js")}),void 0)},meta:{title:"曲谱详情"}},{path:"/memberCenter",name:"memberCenter",component:function(){return c((function(){return e.import("./index-legacy.4d941b3a.js")}),void 0)},meta:{title:"会员中心"}},{path:"/orderDetail",name:"orderDetail",component:function(){return c((function(){return e.import("./index-legacy.bf74b098.js")}),void 0)},meta:{title:"订单详情"}},{path:"/music-personal",component:function(){return c((function(){return e.import("./index-legacy.e59e0839.js")}),void 0)},meta:{title:"我的曲库"}},{path:"/train-tool",component:function(){return c((function(){return e.import("./index-legacy.054ffa38.js")}),void 0)},meta:{title:"训练工具"}},{path:"/look-album-list",component:function(){return c((function(){return e.import("./index-legacy.b6e39430.js")}),void 0)},meta:{title:"查看专辑"}},{path:"/exercise-record",name:"exercise-record",component:function(){return c((function(){return e.import("./exercis-detail-legacy.c88b2b0f.js")}),void 0)},meta:{title:"练习统计"}},{path:"/activation-code",name:"activation-code",component:function(){return c((function(){return e.import("./index-legacy.7e32ac72.js")}),void 0)},meta:{title:"激活码"}},{path:"/ranking-list",name:"ranking-list",component:function(){return c((function(){return e.import("./index-legacy.84c6d267.js")}),void 0)},meta:{title:"排行榜"}},{path:"/goodsOrder",name:"goodsOrder",component:function(){return c((function(){return e.import("./index-legacy.51045c6c.js")}),void 0)},meta:{title:"交易记录"}},{path:"/music-songbook",component:function(){return c((function(){return e.import("./header-legacy.99360b2d.js").then((function(t){return t.h}))}),void 0)},meta:{title:"搜索顶部"},children:[{path:"/music-songbook/search",name:"musicSearch",component:function(){return c((function(){return e.import("./index-legacy.3192a82a.js")}),void 0)},meta:{title:"搜索结果"}},{path:"/music-songbook/musicSongbook",name:"musicSongbook",component:function(){return c((function(){return e.import("./index-legacy.3560d918.js")}),void 0)},meta:{title:"乐谱库"}}]},{path:"/memberRecord",name:"memberRecord",component:function(){return c((function(){return e.import("./exercis-detail-legacy.c88b2b0f.js")}),void 0)},meta:{title:"训练统计"}}]}].concat([{path:"/share-music-sheet",name:"share-music-sheet",component:function(){return c((function(){return e.import("./index-legacy.1bab11bd.js")}),void 0)},meta:{title:"分享乐曲"}},{path:"/leaderboard",component:function(){return c((function(){return e.import("./index-legacy.008d0bb7.js")}),void 0)},meta:{title:"曲目挑战排行榜"}},{path:"/payCenter",name:"payCenter",component:function(){return c((function(){return e.import("./index-legacy.c3e07686.js")}),void 0)},meta:{title:"支付"}},{path:"/payDefine",name:"payDefine",component:function(){return c((function(){return e.import("./index-legacy.dd55dd96.js")}),void 0)},meta:{title:"支付"}},{path:"/payResult",name:"payResult",component:function(){return c((function(){return e.import("./index-legacy.642178c3.js")}),void 0)},meta:{title:"支付"}},{path:"/tradeDetail",name:"tradeDetail",component:function(){return c((function(){return e.import("./trade-detail-legacy.0b60a5a1.js")}),void 0)},meta:{title:"交易详情"}},{path:"/helpCenter",name:"helpCenter",component:function(){return c((function(){return e.import("./help-center-legacy.c834440a.js")}),void 0)}},{path:"/helpCenterDetail",name:"helpCenterDetail",component:function(){return c((function(){return e.import("./help-center-detail-legacy.d4d40682.js")}),void 0)}}],[{path:"/:pathMatch(.*)*",component:function(){return c((function(){return e.import("./index-legacy.89eca94e.js")}),void 0)},meta:{title:"404 Not Fund",platform:"STUDENT"}}]),k=u({history:m(),routes:x});k.beforeEach((function(t,e,n){var o=t.meta.title;document.title=o||"酷乐秀",n()}));var E=!1;k.onError((function(t){if(t instanceof Error){var e=t.name.indexOf("chunk"),n=k.currentRoute.value.fullPath;e&&!E&&(E=!0,p.alert({title:"更新提示",message:"APP有更新请点击确定刷新页面?",confirmButtonColor:"var(--van-primary)"}).then((function(){l().isApp?d({api:"back"}):(location.hash=n,window.location.reload())})))}}));var C=f(j);d({api:"getVersion"},(function(t){h.version=t.content.version})),l().isOrchestraStudent&&(s({api:"getUserAccount"}).then((function(t){var e=t.content;h.orchestraInfo.token=e.token.split(" ")[1],h.orchestraInfo.phone=e.phone,h.orchestraInfo.nickname=e.nickname,h.orchestraInfo.avatar=e.avatar,h.orchestraInfo.unionId=e.unionId||0})),s({api:"getCache",content:{key:"h5-colexiu-token"}}).then((function(t){var e=t.content;e.value&&g(e.value)}))),l().isTeacher?h.platformType="TEACHER":(l().isStudent,h.platformType="STUDENT"),"TEACHER"===h.platformType?h.platformApi="/api-teacher":h.platformApi="/api-student",h.projectType="tenant",v.locale("zh-ch"),C.config.globalProperties.$dayjs=v,C.config.globalProperties.$filters=y,C.use(k),C.mount("#app")}}}))}();
|