import{P as d,D as p}from"./index.64ba8ec5.js";import{d as r,r as w,c as t,V as l}from"./index.c0642b2f.js";const m="_downPoup_xc0jj_1",_="_theDown_xc0jj_6",h="_title_xc0jj_6",g="_btns_xc0jj_14",j="_btn_xc0jj_14",x="_down_xc0jj_1",f="_text_xc0jj_29",v="_icon_xc0jj_33",D="_top_xc0jj_38",o={downPoup:m,theDown:_,title:h,btns:g,btn:j,down:x,text:f,icon:v,top:D},P=""+new URL("icon-down.eb4a3151.png",import.meta.url).href,C=r({name:"TheDown",setup(b,{emit:y,expose:u}){const a=(c="student")=>{let e="",s="",i=c;location.origin.indexOf("online.colexiu.com")>-1?i==="student"?(e="https://itunes.apple.com/cn/app/id1626971695?mt=8",s="https://appstore.ks3-cn-beijing.ksyuncs.com/clx-student-domain.apk"):i==="teacher"&&(e="https://itunes.apple.com/cn/app/id1626971149?mt=8",s="https://appstore.ks3-cn-beijing.ksyuncs.com/clx-teacher-domain.apk"):i==="student"?(e="https://www.pgyer.com/powy",s="https://www.pgyer.com/70e7"):(e="https://www.pgyer.com/iO0m",s="https://www.pgyer.com/N2U3"),/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href=e:/(Android)/i.test(navigator.userAgent)&&(window.location.href=s)},n=w(!1);return u({downLoadApp:a,toggle:()=>{n.value=!n.value}}),()=>t("div",null,[t(d,{class:o.downPoup,show:n.value,"onUpdate:show":c=>n.value=c},{default:()=>[t("div",{class:o.theDown},[t("div",{class:o.top},[t("img",{src:p,alt:""},null),t("span",{class:o.title},[l("\u4E0B\u8F7D\u9177\u4E50\u79C0APP \u53D1\u73B0\u66F4\u5927\u7684\u4E16\u754C")]),t("img",{style:{transform:"rotateY(180deg)"},src:p,alt:""},null)]),t("img",{class:o.icon,src:P},null),t("div",{class:o.btns},[t("div",{class:[o.btn,o.down],onClick:()=>a()},[l("\u4E0B\u8F7DAPP")]),t("div",{class:[o.btn,o.text],onClick:()=>n.value=!1},[l("\u7EE7\u7EED\u6D4F\u89C8")])])])]})])}});export{C as T};
