1 |
- System.register(["./index.module-legacy.612268b7.js","./wx_bg-legacy.5fd03721.js","./index-legacy.f8641610.js"],(function(t){"use strict";var n,i,e,o,a,s,r,c,g,u,l,d,p;return{setters:[function(t){n=t._,i=t.a,e=t.b,o=t.c,a=t.d,s=t.s},function(t){r=t._},function(t){c=t.d,g=t.T,u=t.b,l=t.i,d=t.B,p=t.A}],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":o,"./images/teacher_logo.png":a,"./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 o=encodeURIComponent(JSON.stringify(e));/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href="ColexiuStudent://linkUrl=".concat(o):/(Android)/i.test(navigator.userAgent)?window.location.href="colexiustudent://html:8888/SplashActivity?url=".concat(o):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 l("div",{class:s.downContainer},[l("div",{class:s.logo},[l("img",{src:m("logo.png"),alt:""},null)]),l("div",{class:s.down},[l(d,{type:"primary",round:!0,plain:!0,onClick:this.downLoadApp},{default:function(){return[p("点击下载App")]}})]),l("div",{class:s.mainImg},[l("img",{src:m("student_bg.png"),alt:""},null)]),this.wxStatus&&l("div",{class:s.wxpopup,onClick:function(){t.wxStatus=!1}},[l("img",{src:m("wx_bg.png"),alt:""},null)])])}}))}}}));
|