tenant-legacy.26853a2e.js 8.4 KB

1
  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}progress::-webkit-progress-value{background-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}input,textarea{caret-color:#fe2451}.van-overlay{--van-overlay-background-color: rgba(0, 0, 0, .5)}.confirm-button-group .van-dialog__message{font-size:.4rem;color:#666;padding:.53333rem .32rem .66667rem!important}.confirm-button-group .van-action-bar-button--last,.confirm-button-group .van-action-bar-button--first{border-radius:26.64rem;font-size:.42667rem;font-weight:400!important;line-height:1.06667rem}.confirm-button-group .van-action-bar-button--first{background:#FFFFFF;border:.02667rem solid #DBDBDB;color:#333}.confirm-button-group .van-action-bar-button--last{margin-left:.4rem;color:#fff!important;background-color:var(--van-primary)!important;color:#fff}\n",document.head.appendChild(t),System.register(["./index-legacy.b903c881.js","./auth-legacy.142e2d3d.js"],(function(t,n){"use strict";var e,o,r,i,a,c,u,m,p,l,f,s,d,h,g,v,b,y;return{setters:[function(t){e=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,f=t.n,s=t.q,d=t.p,h=t.g,g=t.t,v=t.u,b=t.v},function(t){y=t.A}],execute:function(){var t=e({name:"App"});var j=o(t,[["render",function(t,n,e,o,c,u){var m=r("router-view");return a(),i(m)}]]),x=[{path:"/",component:y,children:[{path:"/login",name:"login",component:function(){return c((function(){return n.import("./login-legacy.ca07af73.js")}),void 0)},meta:{isRegister:!1}},{path:"/music-album",component:function(){return c((function(){return n.import("./index-legacy.fc0c24d8.js")}),void 0)},meta:{title:"专辑"}},{path:"/music-album-detail/:id",name:"music-album-detail",component:function(){return c((function(){return n.import("./index-legacy.f012e04d.js")}),void 0)},meta:{title:"专辑详情"}},{path:"/music-list",component:function(){return c((function(){return n.import("./index-legacy.8af236a7.js")}),void 0)},meta:{title:"曲谱列表"}},{path:"/train-list",component:function(){return c((function(){return n.import("./index-legacy.ff0797c3.js")}),void 0)},meta:{title:"声部训练"}},{path:"/music-detail",component:function(){return c((function(){return n.import("./new-index-legacy.960fba4b.js")}),void 0)},meta:{title:"曲谱详情"}},{path:"/memberCenter",name:"memberCenter",component:function(){return c((function(){return n.import("./index-legacy.04ce4c7d.js")}),void 0)},meta:{title:"会员中心"}},{path:"/orderDetail",name:"orderDetail",component:function(){return c((function(){return n.import("./index-legacy.39df4f37.js")}),void 0)},meta:{title:"订单详情"}},{path:"/music-personal",component:function(){return c((function(){return n.import("./index-legacy.f3cf5fcd.js")}),void 0)},meta:{title:"我的曲库"}},{path:"/train-tool",component:function(){return c((function(){return n.import("./index-legacy.1b412f5d.js")}),void 0)},meta:{title:"训练工具"}},{path:"/look-album-list",component:function(){return c((function(){return n.import("./index-legacy.1cb08866.js")}),void 0)},meta:{title:"查看专辑"}},{path:"/exercise-record",name:"exercise-record",component:function(){return c((function(){return n.import("./exercis-detail-legacy.7b48627d.js")}),void 0)},meta:{title:"练习统计"}},{path:"/activation-code",name:"activation-code",component:function(){return c((function(){return n.import("./index-legacy.8fe42557.js")}),void 0)},meta:{title:"激活码"}},{path:"/ranking-list",name:"ranking-list",component:function(){return c((function(){return n.import("./index-legacy.af35e4ca.js")}),void 0)},meta:{title:"排行榜"}},{path:"/goodsOrder",name:"goodsOrder",component:function(){return c((function(){return n.import("./index-legacy.429456bf.js")}),void 0)},meta:{title:"订单信息"}},{path:"/goodsDetail",name:"goodsDetail",component:function(){return c((function(){return n.import("./detail-legacy.a2d3b9ae.js")}),void 0)},meta:{title:"订单详情"}},{path:"/music-songbook",component:function(){return c((function(){return n.import("./header-legacy.858f3a69.js").then((function(t){return t.h}))}),void 0)},meta:{title:"搜索顶部"},children:[{path:"/music-songbook/search",name:"musicSearch",component:function(){return c((function(){return n.import("./index-legacy.bf609231.js")}),void 0)},meta:{title:"搜索结果"}},{path:"/music-songbook/musicSongbook",name:"musicSongbook",component:function(){return c((function(){return n.import("./index-legacy.5a7806fc.js")}),void 0)},meta:{title:"乐谱库"}},{path:"/music-songbook/searchAlbum",name:"searchAlbum",component:function(){return c((function(){return n.import("./searchAlbum-legacy.4dd345a1.js")}),void 0)},meta:{title:"搜索结果"}},{path:"/music-songbook/result",name:"musicSongresult",component:function(){return c((function(){return n.import("./search-result-legacy.3990297c.js")}),void 0)},meta:{title:"搜索结果"}}]},{path:"/memberRecord",name:"memberRecord",component:function(){return c((function(){return n.import("./exercis-detail-legacy.7b48627d.js")}),void 0)},meta:{title:"训练统计"}},{path:"/creation",component:function(){return c((function(){return n.import("./index-legacy.8fdfa3b6.js")}),void 0)},meta:{title:"作品详情"}},{path:"/creation-edit",component:function(){return c((function(){return n.import("./index-legacy.73226124.js")}),void 0)},meta:{title:"作品详情"}}]}].concat([{path:"/share-music-sheet",name:"share-music-sheet",component:function(){return c((function(){return n.import("./index-legacy.d18ce982.js")}),void 0)},meta:{title:"分享乐曲"}},{path:"/leaderboard",component:function(){return c((function(){return n.import("./index-legacy.d91cef2a.js")}),void 0)},meta:{title:"曲目挑战排行榜"}},{path:"/payCenter",name:"payCenter",component:function(){return c((function(){return n.import("./index-legacy.797e4c00.js")}),void 0)},meta:{title:"支付"}},{path:"/payDefine",name:"payDefine",component:function(){return c((function(){return n.import("./index-legacy.b6e42cbc.js")}),void 0)},meta:{title:"支付"}},{path:"/payResult",name:"payResult",component:function(){return c((function(){return n.import("./index-legacy.ca960aa4.js")}),void 0)},meta:{title:"支付"}},{path:"/tradeDetail",name:"tradeDetail",component:function(){return c((function(){return n.import("./trade-detail-legacy.ac4d0a17.js")}),void 0)},meta:{title:"交易详情"}},{path:"/helpCenter",name:"helpCenter",component:function(){return c((function(){return n.import("./help-center-legacy.84d4ff07.js")}),void 0)}},{path:"/helpCenterDetail",name:"helpCenterDetail",component:function(){return c((function(){return n.import("./help-center-detail-legacy.eb1ed551.js")}),void 0)}},{path:"/shareCreation",component:function(){return c((function(){return n.import("./index-share-legacy.e8c73f0a.js")}),void 0)},meta:{title:"作品详情"}}],[{path:"/:pathMatch(.*)*",component:function(){return c((function(){return n.import("./index-legacy.4bf841d6.js")}),void 0)},meta:{title:"404 Not Fund",platform:"STUDENT"}}]),k=u({history:m(),routes:x});k.beforeEach((function(t,n,e){var o=t.meta.title;document.title=o||"酷乐秀",e()}));var D=!1;k.onError((function(t){if(t instanceof Error){var n=t.name.indexOf("chunk"),e=k.currentRoute.value.fullPath;n&&!D&&(D=!0,p.alert({title:"更新提示",message:"APP有更新请点击确定刷新页面?",confirmButtonColor:"var(--van-primary)"}).then((function(){l().isApp?f({api:"back"}):(location.hash=e,window.location.reload())})))}}));var C=s(j);f({api:"setBarStatus",content:{status:0}}),f({api:"backIconChange",content:{backIconHide:!0}}),f({api:"getVersion"},(function(t){h.version=t.content.version})),l().isOrchestraStudent&&(d({api:"getUserAccount"}).then((function(t){var n=t.content;h.orchestraInfo.token=n.token.split(" ")[1],h.orchestraInfo.phone=n.phone,h.orchestraInfo.nickname=n.nickname,h.orchestraInfo.avatar=n.avatar,h.orchestraInfo.unionId=n.unionId||0})),d({api:"getCache",content:{key:"h5-colexiu-token"}}).then((function(t){var n=t.content;n.value&&g(n.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=b,C.use(k),C.mount("#app")}}}))}();