System.register(["./index.module-legacy.612268b7.js","./wx_bg-legacy.5fd03721.js","./index-legacy.088d07fe.js"],(function(t){"use strict";var n,i,e,a,o,s,r,c,g,u,d,l,p;return{setters:[function(t){n=t._,i=t.a,e=t.b,a=t.c,o=t.d,s=t.s},function(t){r=t._},function(t){c=t.d,g=t.aE,u=t.b,d=t.i,l=t.B,p=t.w}],execute:function(){var m=t("getAssetsHomeFile",(function(t){var s="./images/".concat(t);return{"./images/bg.png":n,"./images/logo.png":i,"./images/student_bg.png":e,"./images/teacher_bg.png":a,"./images/teacher_logo.png":o,"./images/wx_bg.png":r}[s].default}));t("default",c({name:"transfer",data:function(){return{wxStatus:!1}},mounted:function(){var t=location,n=t.origin+t.pathname+"#/",i=this.$route.query;if(i.url||i.action){var e={url:n+=i.url,action:i.action||"h5",pageTag:i.pageTag||1};i.liveRoomId&&(e.params="",e.params=JSON.stringify({liveRoomId:i.liveRoomId}));var a=encodeURIComponent(JSON.stringify(e));/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href="ColexiuStudent://linkUrl=".concat(a):/(Android)/i.test(navigator.userAgent)?window.location.href="colexiustudent://html:8888/SplashActivity?url=".concat(a):g("请用手机或移动设备打开")}},methods:{downLoadApp:function(){u().weixin?this.wxStatus=!0:u().ios||/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href="https://itunes.apple.com/cn/app/id1626971695?mt=8":/(Android)/i.test(navigator.userAgent)?window.location.href="https://appstore.ks3-cn-beijing.ksyuncs.com/clx-student-domain.apk":this.$toast("请用手机或移动设备打开")}},render:function(){var t=this;return d("div",{class:s.downContainer},[d("div",{class:s.logo},[d("img",{src:m("logo.png"),alt:""},null)]),d("div",{class:s.down},[d(l,{type:"primary",round:!0,plain:!0,onClick:this.downLoadApp},{default:function(){return[p("点击下载App")]}})]),d("div",{class:s.mainImg},[d("img",{src:m("student_bg.png"),alt:""},null)]),this.wxStatus&&d("div",{class:s.wxpopup,onClick:function(){t.wxStatus=!1}},[d("img",{src:m("wx_bg.png"),alt:""},null)])])}}))}}}));
