1 |
- System.register(["./index-legacy.eb062188.js","./manage-center-legacy.e314e1e5.js","./index-legacy.fecc738b.js"],(function(t){"use strict";var e,n,s,i,a,o,r,c,p,h,l,u;return{setters:[function(t){e=t.d,n=t.bi,s=t.o,i=t.f,a=t.c,o=t.B},function(t){r=t.s,c=t.t,p=t.m,h=t.a,l=t.w},function(t){u=t.I}],execute:function(){t("default",e({name:"download-transfer",data:()=>({wxStatus:!1,type:"student",buttonText:"下载管乐团学员端"}),mounted(){const{pn:t,url:e,action:i,pageTag:a,...o}=this.$route.query,{origin:r,pathname:c}=location;let p=c,h="BandMusicTeam://linkUrl=",l="orchestrastudent://html:8888/SplashActivity?url=";"s"===t?(this.type="student",this.buttonText="下载管乐团学员端",p="/orchestra-student/",h="BandMusicTeam://linkUrl=",l="orchestrastudent://html:8888/SplashActivity?url="):"t"===t?(this.type="teacher",this.buttonText="下载管乐团伴学端",p="/orchestra-teacher/",h="BandMusicTeamTeacher://linkUrl=",l="orchestrateacher://html:8888/SplashActivity?url="):"m"===t&&(this.type="manage",this.buttonText="下载管乐团管理端",p="/orchestra-school/",h="BandMusicTeamManager://linkUrl=",l="orchestramanager://html:8888/SplashActivity?url="),document.title=this.buttonText;let u=r+p+"#/";if(!e&&!i)return;const d=n.stringify({...o});u+=e+(d?"?"+d:"");const g={url:u,action:i||"h5",pageTag:a||1},y=encodeURIComponent(JSON.stringify(g));console.log(g,"iosStr"),/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href=h+y:/(Android)/i.test(navigator.userAgent)?window.location.href=l+y:s("请用手机或移动设备打开")},methods:{onDownload(){if(i().weixin)return void(this.wxStatus=!0);let t="",e="";location.origin.indexOf("online.lexiaoya.cn")>-1?"student"===this.type?(t="https://apps.apple.com/cn/app/%E7%AE%A1%E4%B9%90%E5%9B%A2/id1671474346?uo=4 ",e="https://appstore.ks3-cn-beijing.ksyuncs.com/gyt-student.apk"):"teacher"===this.type?(t="https://apps.apple.com/cn/app/%E7%AE%A1%E4%B9%90%E5%9B%A2%E4%BC%B4%E5%AD%A6%E7%AB%AF/id1670584741?uo=4",e="https://appstore.ks3-cn-beijing.ksyuncs.com/gyt-teacher.apk"):"manage"===this.type&&(t="https://apps.apple.com/cn/app/%E7%AE%A1%E4%B9%90%E5%9B%A2%E7%AE%A1%E7%90%86%E7%AB%AF/id1671473981?uo=4",e="https://appstore.ks3-cn-beijing.ksyuncs.com/gyt-manager.apk"):"student"===this.type?(t="https://www.pgyer.com/2Wg2",e="https://www.pgyer.com/9NBz"):"teacher"===this.type?(t="https://www.pgyer.com/v5yB",e="https://www.pgyer.com/BQeE"):"manage"===this.type&&(t="https://www.pgyer.com/DGrR",e="https://www.pgyer.com/TEWv"),i().ios||/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?t&&(window.location.href=t):/(Android)/i.test(navigator.userAgent)?window.location.href=e:s("请用手机或移动设备打开")}},render(){return a("div",{class:[h.downloadContainer]},["teacher"!==this.type&&"manage"!==this.type&&a(u,{src:r},null),"teacher"===this.type&&a(u,{src:c},null),"manage"===this.type&&a(u,{src:p},null),a("div",{class:h.buttonGroup},[a(o,{round:!0,size:"large",color:"#FF8057",class:h.btn,onClick:this.onDownload},{default:()=>[this.buttonText]})]),this.wxStatus&&a("div",{class:h.wxpopup,onClick:()=>{this.wxStatus=!1}},[a("img",{src:l,alt:""},null)])])}}))}}}));
|