index.be780b69.js 19 KB

1
  1. var v=Object.defineProperty;var n=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var _=(o,a,t)=>a in o?v(o,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[a]=t,m=(o,a)=>{for(var t in a||(a={}))f.call(a,t)&&_(o,t,a[t]);if(n)for(var t of n(a))D.call(a,t)&&_(o,t,a[t]);return o};import{_ as A,s as u,a as C,r as g,b as R,c as T,d as j,e as F,p as V,f as I,g as e,h as b,v as L}from"./index.84d59606.js";import{d as c,r as P,c as B,o as O,a as r,F as x,I as y,b as l,B as $,R as w,e as q,f as N,g as k,h as p}from"./vendor.372dc65e.js";function X(){import("data:text/javascript,")}const H=c({name:"App"});function U(o,a,t,i,J,K){const h=P("router-view");return O(),B(h)}var z=A(H,[["render",U]]);const M="_error_u56io_1",S="_info_u56io_10";var d={error:M,info:S},W=c({name:"Auth",data(){return{loading:!1}},computed:{isNeedView(){return u.user.status==="login"||this.$route.path==="/login"}},mounted(){this.setAuth()},methods:{async setAuth(){const{query:o}=this.$route,a=o.userInfo||o.Authorization;if(a&&C(a),!this.loading){if(u.user.status==="init"||u.user.status==="error"){this.loading=!0;try{let t=await g.get("/api-student/student/queryUserInfo",{initRequest:!0});R(t.data)}catch(t){const i=t.message;i.indexOf("403")===-1&&i.indexOf("authentication")===-1?T():j()}this.loading=!1}if(u.user.status==="logout")if(F().isApp)V({api:"login"});else try{let t=this.$route,i=m({returnUrl:this.$route.path},this.$route.query);t.meta.isRegister&&(i.isRegister=t.meta.isRegister),this.$router.replace({path:"/login",query:i})}catch{}}}},render(){return r(x,null,[u.user.status==="error"?r("div",{class:d.error},[r("div",{class:d.info},[r(y,{name:"clear",size:"36",color:"#ee0a24"},null),r("span",null,[l("\u52A0\u8F7D\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5")])]),r($,{type:"primary",round:!0,onClick:this.setAuth},{default:()=>[l("\u91CD\u65B0\u52A0\u8F7D")]})]):this.isNeedView?r(w,null,null):null])}}),G=[{path:"/",component:W,children:[...I,{path:"/login",name:"login",component:()=>e(()=>import("./login.ada8f265.js"),["assets/login.ada8f265.js","assets/login.45bf09f9.css","assets/index.935001ee.css","assets/index.09cb4b8c.css","assets/index.c3ad47f3.css","assets/index.ed0ac76f.css","assets/index.e07367fb.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/index.9ca7fe47.js","assets/index.0fd2891c.css","assets/index.84d59606.js","assets/index.1c74bac7.css","assets/validate.ba62cd4c.js"]),meta:{isRegister:!1}},{path:"/home",name:"home",component:()=>e(()=>import("./index.3be8a267.js"),["assets/index.3be8a267.js","assets/index.66617849.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css"])},{path:"/practiceClass",name:"practiceClass",component:()=>e(()=>import("./index.d6868ee1.js"),["assets/index.d6868ee1.js","assets/index.21f3b182.css","assets/index.725eb6f5.css","assets/index.85a0c0a7.css","assets/index.9bdb045e.css","assets/index.09cb4b8c.css","assets/index.e07367fb.css","assets/index.4da210b7.css","assets/index.c3ad47f3.css","assets/index.c1ee5538.css","assets/index.33c26d32.js","assets/index.1b729ab7.css","assets/index.84d59606.js","assets/index.1c74bac7.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/index.da09e935.js","assets/index.1c2130c9.css","assets/icon_teacher.2c3a434a.js","assets/index.75b00e65.js","assets/index.9b8bd839.css","assets/organ-search.19c863d9.js","assets/organ-search.133b8c72.css"]),meta:{title:"\u966A\u7EC3\u8BFE"}},{path:"/videoClass",name:"videoClass",component:()=>e(()=>import("./index.eceaa933.js"),["assets/index.eceaa933.js","assets/index.ec9fb5a0.css","assets/index.725eb6f5.css","assets/index.e07367fb.css","assets/index.85a0c0a7.css","assets/index.09cb4b8c.css","assets/index.c3ad47f3.css","assets/index.33c26d32.js","assets/index.1b729ab7.css","assets/index.84d59606.js","assets/index.1c74bac7.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/index.da09e935.js","assets/index.1c2130c9.css","assets/video-item.f9c0d7ae.js","assets/video-item.1c2fc742.css","assets/icon_teacher.2c3a434a.js","assets/banner.db59be99.js","assets/index.75b00e65.js","assets/index.9b8bd839.css"]),meta:{title:"\u89C6\u9891\u8BFE"}},{path:"/videoDetail",name:"videoDetail",component:()=>e(()=>import("./video-detail.6b208271.js"),["assets/video-detail.6b208271.js","assets/video-detail.b0fd7f36.css","assets/index.725eb6f5.css","assets/index.360fb78d.css","assets/index.09cb4b8c.css","assets/index.e07367fb.css","assets/index.935001ee.css","assets/index.c1ee5538.css","assets/index.cdd81f5d.js","assets/index.9705398c.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/icon_video_stop.7b2f3665.js","assets/bars.4f1962a6.js","assets/index.154d3cfd.js","assets/index.3f72abd0.css","assets/index.3d738477.js","assets/index.17c17024.css","assets/icon_teacher.2c3a434a.js","assets/icon_timer2.563d016a.js","assets/index.84d59606.js","assets/index.1c74bac7.css","assets/index.33c26d32.js","assets/index.1b729ab7.css","assets/orderStatus.3c16fe86.js"]),meta:{title:"\u89C6\u9891\u8BFE"}},{path:"/videoClassDetail",name:"videoClassDetail",component:()=>e(()=>import("./video-class-detail.676c6a34.js"),["assets/video-class-detail.676c6a34.js","assets/video-class-detail.8ca48fe5.css","assets/index.09cb4b8c.css","assets/index.725eb6f5.css","assets/index.6073691f.css","assets/index.3c6f8825.css","assets/index.e07367fb.css","assets/index.c3ad47f3.css","assets/index.85a0c0a7.css","assets/index.935001ee.css","assets/index.cdd81f5d.js","assets/index.9705398c.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/icon_video_stop.7b2f3665.js","assets/bars.4f1962a6.js","assets/index.154d3cfd.js","assets/index.3f72abd0.css","assets/index.33c26d32.js","assets/index.1b729ab7.css","assets/index.84d59606.js","assets/index.1c74bac7.css","assets/index.1c550cd4.js","assets/index.cc555f8a.css","assets/icon_teacher.2c3a434a.js","assets/index.75b00e65.js","assets/index.9b8bd839.css"]),meta:{title:"\u89C6\u9891\u8BFE\u8BE6\u60C5"}},{path:"/liveClass",name:"liveClass",component:()=>e(()=>import("./index.3f4c90cc.js"),["assets/index.3f4c90cc.js","assets/index.e92ecfb4.css","assets/index.725eb6f5.css","assets/index.e07367fb.css","assets/index.85a0c0a7.css","assets/index.09cb4b8c.css","assets/index.c3ad47f3.css","assets/index.33c26d32.js","assets/index.1b729ab7.css","assets/index.84d59606.js","assets/index.1c74bac7.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/index.da09e935.js","assets/index.1c2130c9.css","assets/index.75b00e65.js","assets/index.9b8bd839.css","assets/icon_success.e258b59c.js","assets/banner.db59be99.js"]),meta:{title:"\u76F4\u64AD\u8BFE"}},{path:"/liveDetail",name:"liveDetail",component:()=>e(()=>import("./live-detail.434cec6d.js"),["assets/live-detail.434cec6d.js","assets/live-detail.0c9561d5.css","assets/index.725eb6f5.css","assets/index.360fb78d.css","assets/index.e07367fb.css","assets/index.09cb4b8c.css","assets/index.935001ee.css","assets/index.c1ee5538.css","assets/index.06cb9692.js","assets/index.8b796b91.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/icon_video_stop.7b2f3665.js","assets/index.154d3cfd.js","assets/index.3f72abd0.css","assets/index.3d738477.js","assets/index.17c17024.css","assets/icon_teacher.2c3a434a.js","assets/icon_timer2.563d016a.js","assets/index.84d59606.js","assets/index.1c74bac7.css","assets/icon_tips.1f103236.js","assets/orderStatus.3c16fe86.js","assets/index.33c26d32.js","assets/index.1b729ab7.css"]),meta:{title:"\u76F4\u64AD\u8BFE\u8BE6\u60C5"}},{path:"/memberCenter",name:"memberCenter",component:()=>e(()=>import("./index.03dcbba4.js"),["assets/index.03dcbba4.js","assets/index.7aba4b1d.css","assets/index.09cb4b8c.css","assets/index.e07367fb.css","assets/tip_bg.2ce18b6d.js","assets/index.33c26d32.js","assets/index.1b729ab7.css","assets/index.84d59606.js","assets/index.1c74bac7.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/icon_student.bbb32387.js","assets/orderStatus.3c16fe86.js"]),meta:{title:"\u4F1A\u5458\u4E2D\u5FC3"}},{path:"/memberRecord",name:"memberRecord",component:()=>e(()=>import("./member-record.d73ac964.js"),["assets/member-record.d73ac964.js","assets/member-record.a6d7fd79.css","assets/index.09cb4b8c.css","assets/index.935001ee.css","assets/index.ac4f6b9f.css","assets/index.4f250b7f.css","assets/index.e07367fb.css","assets/index.85a0c0a7.css","assets/tip_bg.2ce18b6d.js","assets/index.33c26d32.js","assets/index.1b729ab7.css","assets/index.84d59606.js","assets/index.1c74bac7.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/index.a4625394.js","assets/index.75b00e65.js","assets/index.9b8bd839.css"]),meta:{title:"\u8BC4\u6D4B\u8BB0\u5F55"}},{path:"/tradeRecord",name:"tradeRecord",component:()=>e(()=>import("./index.8ce9fd7c.js"),["assets/index.8ce9fd7c.js","assets/index.199ce3f4.css","assets/index.725eb6f5.css","assets/index.6073691f.css","assets/index.3c6f8825.css","assets/index.9bdb045e.css","assets/index.09cb4b8c.css","assets/index.935001ee.css","assets/index.ac4f6b9f.css","assets/index.85a0c0a7.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/index.84d59606.js","assets/index.1c74bac7.css","assets/index.a4625394.js","assets/index.75b00e65.js","assets/index.9b8bd839.css","assets/index.406b9d83.js"]),meta:{title:"\u4EA4\u6613\u8BB0\u5F55"}},{path:"/teacherHome",name:"teacherHome",component:()=>e(()=>import("./teacher-home.45b483d8.js"),["assets/teacher-home.45b483d8.js","assets/teacher-home.5ae77faf.css","assets/index.725eb6f5.css","assets/index.6073691f.css","assets/index.3c6f8825.css","assets/index.09cb4b8c.css","assets/index.e07367fb.css","assets/index.c3ad47f3.css","assets/index.9bdb045e.css","assets/index.935001ee.css","assets/index.360fb78d.css","assets/index.441f1bac.css","assets/index.c1ee5538.css","assets/index.85a0c0a7.css","assets/index.4da210b7.css","assets/index.ac4f6b9f.css","assets/index.2fc2f59a.css","assets/index.7a7f33be.css","assets/teacher-home.module.f0831b2b.js","assets/teacher-home.module.58f2318a.css","assets/index.33c26d32.js","assets/index.1b729ab7.css","assets/index.84d59606.js","assets/index.1c74bac7.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/index.154d3cfd.js","assets/index.3f72abd0.css","assets/index.1c550cd4.js","assets/index.cc555f8a.css","assets/index.5ed809fd.js","assets/index.79ee7e1d.css","assets/orderStatus.3c16fe86.js","assets/index.75b00e65.js","assets/index.9b8bd839.css","assets/icon_timer2.563d016a.js","assets/icon_teacher.2c3a434a.js","assets/icon_success.e258b59c.js","assets/video-item.f9c0d7ae.js","assets/video-item.1c2fc742.css","assets/index.5766f57d.js","assets/index.81ee1335.css","assets/index.da09e935.js","assets/index.1c2130c9.css","assets/item.8cb8443f.js","assets/item.9db893f7.css","assets/index.926ca9c5.js","assets/init-user-icon.d5c3c464.js","assets/favorite.9bdf4305.js","assets/select-tag.dc3f52d8.js","assets/select-tag.386a378b.css","assets/index.406b9d83.js","assets/teacher_cert.5c45c8b4.js"]),meta:{title:"\u8001\u5E08\u4E3B\u9875"}},{path:"/teacherElegant",name:"teacherElegant",component:()=>e(()=>import("./teacher-elegant.d9dbf466.js"),["assets/teacher-elegant.d9dbf466.js","assets/teacher-elegant.41e1017c.css","assets/index.85a0c0a7.css","assets/index.725eb6f5.css","assets/index.e07367fb.css","assets/index.09cb4b8c.css","assets/index.c3ad47f3.css","assets/index.c1ee5538.css","assets/index.33c26d32.js","assets/index.1b729ab7.css","assets/index.84d59606.js","assets/index.1c74bac7.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/index.75b00e65.js","assets/index.9b8bd839.css","assets/index.da09e935.js","assets/index.1c2130c9.css","assets/organ-search.19c863d9.js","assets/organ-search.133b8c72.css","assets/icon_teacher.2c3a434a.js","assets/bars.4f1962a6.js"]),meta:{title:"\u8001\u5E08\u98CE\u91C7"}},{path:"/music-songbook",component:()=>e(()=>import("./index.cdc4804f.js"),["assets/index.cdc4804f.js","assets/index.6f0f12dd.css","assets/index.09cb4b8c.css","assets/index.725eb6f5.css","assets/index.e07367fb.css","assets/index.c3ad47f3.css","assets/index.c1ee5538.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/index.da09e935.js","assets/index.1c2130c9.css","assets/index.84d59606.js","assets/index.1c74bac7.css","assets/index.406b9d83.js","assets/index.926ca9c5.js","assets/item.8cb8443f.js","assets/item.9db893f7.css","assets/init-user-icon.d5c3c464.js","assets/favorite.9bdf4305.js"]),meta:{title:"\u4E50\u8C31\u5E93"}},{path:"/music-album",component:()=>e(()=>import("./index.29ec408e.js"),["assets/index.29ec408e.js","assets/index.81ee1335.css","assets/index.725eb6f5.css","assets/index.85a0c0a7.css","assets/index.09cb4b8c.css","assets/index.c3ad47f3.css","assets/index.e07367fb.css","assets/index.c1ee5538.css","assets/index.2fc2f59a.css","assets/index.7a7f33be.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/index.da09e935.js","assets/index.1c2130c9.css","assets/index.84d59606.js","assets/index.1c74bac7.css","assets/item.b8ded331.js","assets/footer.5093eb25.js","assets/footer.b5cd57b9.css","assets/favorite.9bdf4305.js","assets/select-tag.dc3f52d8.js","assets/select-tag.386a378b.css","assets/index.406b9d83.js","assets/index.926ca9c5.js","assets/index.75b00e65.js","assets/index.9b8bd839.css"]),meta:{title:"\u4E13\u8F91"}},{path:"/music-album-detail/:id",component:()=>e(()=>import("./index.de8a2c80.js"),["assets/index.de8a2c80.js","assets/index.052eeef4.css","assets/index.e07367fb.css","assets/index.85a0c0a7.css","assets/index.725eb6f5.css","assets/index.c1ee5538.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/index.84d59606.js","assets/index.1c74bac7.css","assets/index.33c26d32.js","assets/index.1b729ab7.css","assets/index.926ca9c5.js","assets/footer.5093eb25.js","assets/footer.b5cd57b9.css","assets/favorite.9bdf4305.js","assets/item.8cb8443f.js","assets/item.9db893f7.css","assets/init-user-icon.d5c3c464.js"]),meta:{title:"\u4E13\u8F91\u8BE6\u60C5"}},{path:"/music-list",component:()=>e(()=>import("./index.5766f57d.js"),["assets/index.5766f57d.js","assets/index.81ee1335.css","assets/index.725eb6f5.css","assets/index.85a0c0a7.css","assets/index.09cb4b8c.css","assets/index.c3ad47f3.css","assets/index.e07367fb.css","assets/index.c1ee5538.css","assets/index.2fc2f59a.css","assets/index.7a7f33be.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/index.da09e935.js","assets/index.1c2130c9.css","assets/index.84d59606.js","assets/index.1c74bac7.css","assets/item.8cb8443f.js","assets/item.9db893f7.css","assets/index.926ca9c5.js","assets/init-user-icon.d5c3c464.js","assets/favorite.9bdf4305.js","assets/select-tag.dc3f52d8.js","assets/select-tag.386a378b.css","assets/index.406b9d83.js","assets/index.75b00e65.js","assets/index.9b8bd839.css"]),meta:{title:"\u66F2\u8C31\u5217\u8868"}},{path:"/music-search",component:()=>e(()=>import("./index.fd849634.js"),["assets/index.fd849634.js","assets/index.6671bfa0.css","assets/index.725eb6f5.css","assets/index.c1ee5538.css","assets/index.6073691f.css","assets/index.3c6f8825.css","assets/index.09cb4b8c.css","assets/index.c3ad47f3.css","assets/index.85a0c0a7.css","assets/index.e07367fb.css","assets/index.2fc2f59a.css","assets/index.7a7f33be.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/index.da09e935.js","assets/index.1c2130c9.css","assets/index.406b9d83.js","assets/index.29ec408e.js","assets/index.81ee1335.css","assets/index.84d59606.js","assets/index.1c74bac7.css","assets/item.b8ded331.js","assets/footer.5093eb25.js","assets/footer.b5cd57b9.css","assets/favorite.9bdf4305.js","assets/select-tag.dc3f52d8.js","assets/select-tag.386a378b.css","assets/index.926ca9c5.js","assets/index.75b00e65.js","assets/index.9b8bd839.css","assets/index.5766f57d.js","assets/item.8cb8443f.js","assets/item.9db893f7.css","assets/init-user-icon.d5c3c464.js"]),meta:{title:"\u641C\u7D22\u7ED3\u679C"}},{path:"/music-personal",component:()=>e(()=>import("./index.671b4525.js"),["assets/index.671b4525.js","assets/index.198d55de.css","assets/index.725eb6f5.css","assets/index.6073691f.css","assets/index.3c6f8825.css","assets/index.09cb4b8c.css","assets/index.85a0c0a7.css","assets/index.e07367fb.css","assets/index.c1ee5538.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/index.84d59606.js","assets/index.1c74bac7.css","assets/index.406b9d83.js","assets/item.8cb8443f.js","assets/item.9db893f7.css","assets/index.926ca9c5.js","assets/init-user-icon.d5c3c464.js","assets/favorite.9bdf4305.js","assets/index.75b00e65.js","assets/index.9b8bd839.css","assets/item.b8ded331.js","assets/footer.5093eb25.js","assets/footer.b5cd57b9.css"]),meta:{title:"\u6211\u7684\u4E50\u8C31"}},{path:"/music-upload",component:()=>e(()=>import("./index.bb41b305.js"),["assets/index.bb41b305.js","assets/index.12d2a945.css","assets/index.09cb4b8c.css","assets/index.c3ad47f3.css","assets/index.725eb6f5.css","assets/index.c1ee5538.css","assets/index.abdc2a4c.css","assets/index.7a7f33be.css","assets/index.ac4f6b9f.css","assets/index.e07367fb.css","assets/index.6073691f.css","assets/index.9db88570.css","assets/index.863a716b.css","assets/index.ed0ac76f.css","assets/index.2fc2f59a.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/index.75b00e65.js","assets/index.9b8bd839.css","assets/index.84d59606.js","assets/index.1c74bac7.css","assets/index.42a60c15.js","assets/index.f5591219.css","assets/index.171c9df7.js","assets/index.81acfb05.css","assets/select-tag.dc3f52d8.js","assets/select-tag.386a378b.css","assets/index.406b9d83.js","assets/index.926ca9c5.js","assets/teacherState.f62f269c.js"]),meta:{title:"\u4E0A\u4F20\u66F2\u8C31"}},{path:"/teacherFollow",component:()=>e(()=>import("./teacher-follow.33b90455.js"),["assets/teacher-follow.33b90455.js","assets/index.09cb4b8c.css","assets/index.360fb78d.css","assets/index.e07367fb.css","assets/index.85a0c0a7.css","assets/index.4da210b7.css","assets/teacher-home.module.f0831b2b.js","assets/teacher-home.module.58f2318a.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/icon_teacher.2c3a434a.js","assets/teacher_cert.5c45c8b4.js","assets/index.84d59606.js","assets/index.1c74bac7.css","assets/index.75b00e65.js","assets/index.9b8bd839.css"]),meta:{title:"\u6211\u7684\u5173\u6CE8"}}]},...b,{path:"/:pathMatch(.*)*",component:()=>e(()=>import("./index.f33c69fd.js"),["assets/index.f33c69fd.js","assets/index.5361fbba.css","assets/index.e07367fb.css","assets/vendor.372dc65e.js","assets/vendor.177057eb.css","assets/index.84d59606.js","assets/index.1c74bac7.css"]),meta:{title:"404 Not Fund",platform:"STUDENT"}}];const E=q({history:N(),routes:G});E.afterEach((o,a,t)=>{let i=o.meta.title;o.name==="helpCenter"&&o.query.catalogType==="2"&&(i="\u516C\u544A\u5217\u8868"),document.title=i||"\u9177\u4E50\u79C0"});const s=k(z);u.platformType="STUDENT";p.locale("zh-ch");s.config.globalProperties.$dayjs=p;s.config.globalProperties.$filters=L;s.use(E);s.mount("#app");export{X as __vite_legacy_guard};