<<<<<<<< HEAD:dist/assets/index-d286b0c4.js
import{d as i,x as l,y as d,D as u,a as o,C as p,U as n}from"./index-4228b913.js";import{s,a as c,w}from"./student-center-df3e5ab3.js";import{I as m}from"./index-39fe3500.js";const y=i({name:"download",setup(){const t=l({wxStatus:!1,androidUrl:""}),r=()=>{if(n().weixin){t.wxStatus=!0;return}let a="",e="";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",e=t.androidUrl):(a="https://www.pgyer.com/dzRRNN",e=t.androidUrl),n().ios||/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?a&&(window.location.href=a):window.location.href=e};return d(async()=>{try{const{data:a}=await u.get("/edu-app/open/appVersionInfo/queryLatestByPlatform",{params:{platform:"android-kt",status:"history"}});t.androidUrl=a.downloadUrl}catch(a){}}),()=>o("div",{class:[s.downloadContainer]},[o(m,{class:s.downImg,src:c},null),o("div",{class:s.buttonGroup},[o(p,{round:!0,size:"large",class:s.btn,onClick:r},null)]),t.wxStatus&&o("div",{class:s.wxpopup,onClick:()=>{t.wxStatus=!1}},[o("img",{src:w,alt:""},null)])])}});export{y as default};
========
import{d as i,x as l,y as d,D as u,a as o,C as p,U as n}from"./index-c4313132.js";import{s,a as c,w}from"./student-center-df3e5ab3.js";import{I as m}from"./index-3774457e.js";const y=i({name:"download",setup(){const t=l({wxStatus:!1,androidUrl:""}),r=()=>{if(n().weixin){t.wxStatus=!0;return}let a="",e="";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",e=t.androidUrl):(a="https://www.pgyer.com/dzRRNN",e=t.androidUrl),n().ios||/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?a&&(window.location.href=a):window.location.href=e};return d(async()=>{try{const{data:a}=await u.get("/edu-app/open/appVersionInfo/queryLatestByPlatform",{params:{platform:"android-kt",status:"history"}});t.androidUrl=a.downloadUrl}catch(a){}}),()=>o("div",{class:[s.downloadContainer]},[o(m,{class:s.downImg,src:c},null),o("div",{class:s.buttonGroup},[o(p,{round:!0,size:"large",class:s.btn,onClick:r},null)]),t.wxStatus&&o("div",{class:s.wxpopup,onClick:()=>{t.wxStatus=!1}},[o("img",{src:w,alt:""},null)])])}});export{y as default};
>>>>>>>> 0f2588f61580675e1c866dc0769d4ceb917efcec:dist/assets/index-fac656b0.js
