<<<<<<<< HEAD:dist/assets/transfer-6437ee19.js
import{d as y,D as x,Y as S,U as n,N as A,a as o,C as P}from"./index-4228b913.js";import{a as B,s as e,w as U}from"./student-center-df3e5ab3.js";import{I as v}from"./index-39fe3500.js";const C=y({name:"download-transfer",data(){return{wxStatus:!1,androidUrl:""}},async mounted(){try{const{data:s}=await x.get("/edu-app/open/appVersionInfo/queryLatestByPlatform",{params:{platform:"android-kt",status:"history"}});this.androidUrl=s.downloadUrl}catch(s){console.log(s)}const{pn:a,url:t,action:r,pageTag:c,...p}=this.$route.query,{origin:f,pathname:w}=location,m=w,h="BandInstrumentTeam://linkUrl=",g="colexiukt://html:8888/SplashActivity?url=";let i=f+m+"#/";if(!t&&!r)return;const l=S.stringify({...p});i+=t+(l?"?"+l:"");const d={url:i,action:r||"h5",pageTag:c||1},u=encodeURIComponent(JSON.stringify(d));console.log(d,"iosStr"),/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href=h+u:n().huawei||/(Android)/i.test(navigator.userAgent)?window.location.href=g+u:A("请用手机或移动设备打开")},methods:{onDownload(){if(n().weixin){this.wxStatus=!0;return}let a="",t="";location.origin.indexOf("kt.colexiu.com")>-1?(a="https://apps.apple.com/us/app/%E9%9F%B3%E4%B9%90%E6%95%B0%E5%AD%97%E8%AF%BE%E5%A0%82/id6452725878",t=this.androidUrl):(a="https://www.pgyer.com/dzRRNN",t=this.androidUrl),n().ios||/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?a&&(window.location.href=a):window.location.href=t}},render(){return o("div",{class:[e.downloadContainer]},[o(v,{src:B},null),o("div",{class:e.buttonGroup},[o(P,{round:!0,size:"large",class:e.btn,onClick:this.onDownload},null)]),this.wxStatus&&o("div",{class:e.wxpopup,onClick:()=>{this.wxStatus=!1}},[o("img",{src:U,alt:""},null)])])}});export{C as default};
========
import{d as y,D as x,Y as S,U as n,N as A,a as o,C as P}from"./index-c4313132.js";import{a as B,s as e,w as U}from"./student-center-df3e5ab3.js";import{I as v}from"./index-3774457e.js";const C=y({name:"download-transfer",data(){return{wxStatus:!1,androidUrl:""}},async mounted(){try{const{data:s}=await x.get("/edu-app/open/appVersionInfo/queryLatestByPlatform",{params:{platform:"android-kt",status:"history"}});this.androidUrl=s.downloadUrl}catch(s){console.log(s)}const{pn:a,url:t,action:r,pageTag:c,...p}=this.$route.query,{origin:f,pathname:w}=location,m=w,h="BandInstrumentTeam://linkUrl=",g="colexiukt://html:8888/SplashActivity?url=";let i=f+m+"#/";if(!t&&!r)return;const l=S.stringify({...p});i+=t+(l?"?"+l:"");const d={url:i,action:r||"h5",pageTag:c||1},u=encodeURIComponent(JSON.stringify(d));console.log(d,"iosStr"),/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href=h+u:n().huawei||/(Android)/i.test(navigator.userAgent)?window.location.href=g+u:A("请用手机或移动设备打开")},methods:{onDownload(){if(n().weixin){this.wxStatus=!0;return}let a="",t="";location.origin.indexOf("kt.colexiu.com")>-1?(a="https://apps.apple.com/us/app/%E9%9F%B3%E4%B9%90%E6%95%B0%E5%AD%97%E8%AF%BE%E5%A0%82/id6452725878",t=this.androidUrl):(a="https://www.pgyer.com/dzRRNN",t=this.androidUrl),n().ios||/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?a&&(window.location.href=a):window.location.href=t}},render(){return o("div",{class:[e.downloadContainer]},[o(v,{src:B},null),o("div",{class:e.buttonGroup},[o(P,{round:!0,size:"large",class:e.btn,onClick:this.onDownload},null)]),this.wxStatus&&o("div",{class:e.wxpopup,onClick:()=>{this.wxStatus=!1}},[o("img",{src:U,alt:""},null)])])}});export{C as default};
>>>>>>>> 0f2588f61580675e1c866dc0769d4ceb917efcec:dist/assets/transfer-54dc17c8.js
