index-legacy.203ba5bb.js 2.2 KB

1
  1. System.register(["./index-legacy.eb062188.js","./manage-center-legacy.e314e1e5.js","./index-legacy.fecc738b.js"],(function(t){"use strict";var e,n,s,a,o,p,c,i,r,u,l,y,d,g;return{setters:[function(t){e=t.d,n=t.ah,s=t.r,a=t.$,o=t.c,p=t.B,c=t.f,i=t.o},function(t){r=t.s,u=t.t,l=t.m,y=t.a,d=t.w},function(t){g=t.I}],execute:function(){t("default",e({name:"download",setup(){const t=n(),e=s({wxStatus:!1,type:"student",buttonText:"下载管乐团学员端"}),w=()=>{if(c().weixin)return void(e.wxStatus=!0);let t="",n="";location.origin.indexOf("online.lexiaoya.cn")>-1?"student"===e.type?(t="https://apps.apple.com/cn/app/%E7%AE%A1%E4%B9%90%E5%9B%A2/id1671474346?uo=4 ",n="https://appstore.ks3-cn-beijing.ksyuncs.com/gyt-student.apk"):"teacher"===e.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",n="https://appstore.ks3-cn-beijing.ksyuncs.com/gyt-teacher.apk"):"manage"===e.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",n="https://appstore.ks3-cn-beijing.ksyuncs.com/gyt-manager.apk"):"student"===e.type?(t="https://www.pgyer.com/2Wg2",n="https://www.pgyer.com/9NBz"):"teacher"===e.type?(t="https://www.pgyer.com/v5yB",n="https://www.pgyer.com/BQeE"):"manage"===e.type&&(t="https://www.pgyer.com/DGrR",n="https://www.pgyer.com/TEWv"),c().ios||/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?t&&(window.location.href=t):/(Android)/i.test(navigator.userAgent)?window.location.href=n:i("请用手机或移动设备打开")};return a((()=>{const n=t.query.type;e.type=n||"student","student"===n?e.buttonText="下载管乐团学员端":"teacher"===n?e.buttonText="下载管乐团伴学端":"manage"===n&&(e.buttonText="下载管乐团管理端"),document.title=e.buttonText})),()=>o("div",{class:[y.downloadContainer]},["teacher"!==e.type&&"manage"!==e.type&&o(g,{src:r},null),"teacher"===e.type&&o(g,{src:u},null),"manage"===e.type&&o(g,{src:l},null),o("div",{class:y.buttonGroup},[o(p,{round:!0,size:"large",color:"#FF8057",class:y.btn,onClick:w},{default:()=>[e.buttonText]})]),e.wxStatus&&o("div",{class:y.wxpopup,onClick:()=>{e.wxStatus=!1}},[o("img",{src:d,alt:""},null)])])}}))}}}));