;(function(){System.register(['./index.module-legacy.7b7b06f4.js','./wx_bg-legacy.105835c9.js','./index-legacy.1cd7b6bb.js','./vendor-legacy.031e1374.js'],function(exports){'use strict';var styles,__glob_6_0,__glob_6_1,__glob_6_2,__glob_6_3,__glob_6_4,__glob_6_5,browser,defineComponent,createVNode,Button,createTextVNode;return{setters:[function(module){styles=module.s;__glob_6_0=module._;__glob_6_1=module.a;__glob_6_2=module.b;__glob_6_3=module.c;__glob_6_4=module.d;},function(module){__glob_6_5=module._;},function(module){browser=module.e;},function(module){defineComponent=module.d;createVNode=module.a;Button=module.B;createTextVNode=module.j;}],execute:function execute(){var getAssetsHomeFile=exports('getAssetsHomeFile',function(fileName){var path="./images/".concat(fileName);var modules={"./images/bg.png":__glob_6_0,"./images/logo.png":__glob_6_1,"./images/student_bg.png":__glob_6_2,"./images/teacher_bg.png":__glob_6_3,"./images/teacher_logo.png":__glob_6_4,"./images/wx_bg.png":__glob_6_5};return modules[path].default;});var download=exports('default',defineComponent({name:'download',data:function data(){var query=this.$route.query;return{type:query.type||'student',wxStatus:false};},mounted:function mounted(){if(this.type==='student'){document.title='酷乐秀学院下载';}else if(this.type==='teacher'){document.title='酷乐秀下载';}},methods:{downLoadApp:function downLoadApp(){if(browser().weixin){this.wxStatus=true;return;}// https://itunes.apple.com/cn/app/id1626971149?mt=8   学院
// https://itunes.apple.com/cn/app/id1626971695?mt=8   酷乐秀
// clx-teacher-domain.apk
// clx-student-domain.apk
if(browser().ios||/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)){if(this.type=='student'){window.location.href='https://itunes.apple.com/cn/app/id1626971695?mt=8';}else if(this.type=='teacher'){window.location.href='https://itunes.apple.com/cn/app/id1626971149?mt=8';}}else if(/(Android)/i.test(navigator.userAgent)){if(this.type=='student'){window.location.href='https://appstore.ks3-cn-beijing.ksyuncs.com/clx-student-domain.apk';}else if(this.type=='teacher'){window.location.href='https://appstore.ks3-cn-beijing.ksyuncs.com/clx-teacher-domain.apk';}}else{this.$toast('请用手机或移动设备打开');}}},render:function render(){var _this=this;return createVNode("div",{"class":styles.downContainer},[createVNode("div",{"class":styles.logo},[this.type==='student'?createVNode("img",{"src":getAssetsHomeFile('logo.png'),"alt":""},null):createVNode("img",{"src":getAssetsHomeFile('teacher_logo.png'),"alt":""},null)]),createVNode("div",{"class":styles.down},[createVNode(Button,{"type":"primary","round":true,"plain":true,"onClick":this.downLoadApp},{default:function _default(){return[createTextVNode("\u70B9\u51FB\u4E0B\u8F7DApp")];}})]),createVNode("div",{"class":styles.mainImg},[this.type==='student'?createVNode("img",{"src":getAssetsHomeFile('student_bg.png'),"alt":""},null):createVNode("img",{"src":getAssetsHomeFile('teacher_bg.png'),"alt":""},null)]),this.wxStatus&&createVNode("div",{"class":styles.wxpopup,"onClick":function onClick(){_this.wxStatus=false;}},[createVNode("img",{"src":getAssetsHomeFile('wx_bg.png'),"alt":""},null)])]);}}));}};});})();
