1 |
- System.register(["./ResizeObserver.es-legacy.8d60aee1.js"],(function(e){"use strict";var i,t,n,o,a;return{setters:[function(e){i=e.T,t=e.f,n=e.g,o=e.n,a=e.D}],execute:function(){var r=e("s",(function(e,t){var n={url:e,action:(null==t?void 0:t.action)||"h5",pageTag:(null==t?void 0:t.pageTag)||1},o=encodeURIComponent(JSON.stringify(n));console.log(o,"query"),/(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):i("请用手机或移动设备打开")}));e("i",(function(e){if(t().isApp){if("STUDENT"===n.platformType)return void(t().ios?window.location.replace(e):(o({api:"openWebView",content:{url:e,orientation:1,isHideTitle:!1}}),o({api:"back"})));"TEACHER"===n.platformType&&a.alert({title:"提示",message:"请使用酷乐秀学生端扫码打开",confirmButtonColor:"#2dc7aa"}).then((function(){o({api:"back"})}))}else r(e)}))}}}));
|