1 |
- System.register(["./index.module-legacy.612268b7.js","./wx_bg-legacy.5fd03721.js","./index-legacy.f8641610.js"],(function(t){"use strict";var e,n,i,s,o,a,c,p,u,g,r,d;return{setters:[function(t){e=t._,n=t.a,i=t.b,s=t.c,o=t.d,a=t.s},function(t){c=t._},function(t){p=t.d,u=t.b,g=t.i,r=t.B,d=t.A}],execute:function(){var l=t("getAssetsHomeFile",(function(t){var a="./images/".concat(t);return{"./images/bg.png":e,"./images/logo.png":n,"./images/student_bg.png":i,"./images/teacher_bg.png":s,"./images/teacher_logo.png":o,"./images/wx_bg.png":c}[a].default}));t("default",p({name:"download",data:function(){return{type:this.$route.query.type||"student",wxStatus:!1}},mounted:function(){"student"===this.type?document.title="酷乐秀下载":"teacher"===this.type&&(document.title="酷乐秀学院下载")},methods:{downLoadApp:function(){if(u().weixin)this.wxStatus=!0;else{var t="",e="";location.origin.indexOf("online.colexiu.com")>-1?"student"===this.type?(t="https://itunes.apple.com/cn/app/id1626971695?mt=8",e="https://appstore.ks3-cn-beijing.ksyuncs.com/clx-student-domain.apk"):"teacher"===this.type&&(t="https://itunes.apple.com/cn/app/id1626971149?mt=8",e="https://appstore.ks3-cn-beijing.ksyuncs.com/clx-teacher-domain.apk"):"student"===this.type?(t="https://www.pgyer.com/powy",e="https://www.pgyer.com/70e7"):(t="https://www.pgyer.com/iO0m",e="https://www.pgyer.com/N2U3"),u().ios||/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href=t:/(Android)/i.test(navigator.userAgent)?window.location.href=e:this.$toast("请用手机或移动设备打开")}}},render:function(){var t=this;return g("div",{class:a.downContainer},[g("div",{class:a.logo},["student"===this.type?g("img",{src:l("logo.png"),alt:""},null):g("img",{src:l("teacher_logo.png"),alt:""},null)]),g("div",{class:a.down},[g(r,{type:"primary",round:!0,plain:!0,onClick:this.downLoadApp},{default:function(){return[d("点击下载App")]}})]),g("div",{class:a.mainImg},["student"===this.type?g("img",{src:l("student_bg.png"),alt:""},null):g("img",{src:l("teacher_bg.png"),alt:""},null)]),this.wxStatus&&g("div",{class:a.wxpopup,onClick:function(){t.wxStatus=!1}},[g("img",{src:l("wx_bg.png"),alt:""},null)])])}}))}}}));
|