import{I as l}from"./logo-1.1c5bc018.js";import{d as p,X as d,c as t,O as i,W as g}from"./index.fdb8061e.js";import{I as m}from"./index.555136dd.js";import{B as _}from"./index.d6266256.js";import{P as h}from"./index.59f99230.js";const f="_theFooterApp_1ttee_1",v="_appContent_1ttee_41",C="_top_1ttee_44",F="_des_1ttee_55",A="_content_1ttee_61",w="_item_1ttee_64",y="_tag_1ttee_78",P="_description_1ttee_86",x="_title_1ttee_89",S="_itemLogo_1ttee_96",e={theFooterApp:f,appContent:v,top:C,des:F,content:A,item:w,tag:y,description:P,title:x,itemLogo:S},B=p({name:"TheFooterApp",setup(){const[n,a]=d(!1),u=[{title:"\u9177\u4E50\u79C0",des:"\u5B66\u4E60\u6D77\u91CF\u4F18\u8D28\u4E50\u8C31",tag:"\u63A8\u8350",type:"ColexiuStudent"},{title:"\u9177\u4E50\u79C0\u5B66\u9662",des:"\u6211\u8981\u63D0\u4F9B\u4F18\u8D28\u5185\u5BB9",tag:"",type:"ColexiuTeacher"}],r=o=>{const c={url:"",action:"h5",pageTag:1},s=encodeURIComponent(JSON.stringify(c));o=="ColexiuStudent"?/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href=`ColexiuStudent://linkUrl=${s}`:/(Android)/i.test(navigator.userAgent)&&(window.location.href=`colexiustudent://html:8888/SplashActivity?url=${s}`):/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href=`ColexiuTeacher://linkUrl=${s}`:/(Android)/i.test(navigator.userAgent)&&(window.location.href=`colexiuteacher://html:8888/SplashActivity?url=${s}`)};return()=>t(g,null,[t("div",{class:e.theFooterApp,onClick:()=>a(!0)},[t("img",{class:e.img,src:l},null),t("span",null,[i("\u6253\u5F00APP\u770B\u6D77\u91CF\u70ED\u95E8\u4E50\u8C31")])]),t(h,{position:"bottom",round:!0,show:n.value,"onUpdate:show":o=>n.value=o},{default:()=>[t("div",{class:e.appContent},[t("div",{class:e.top},[t("span",null,[i("\u6253\u5F00\u65B9\u5F0F")]),t("div",{class:e.des,onClick:()=>a(!1)},[t("span",null,[i("\u7EE7\u7EED\u4F7F\u7528\u6D4F\u89C8\u5668")]),t(m,{name:"play",size:10},null)])]),t("div",{class:e.content},[u.map(o=>t("div",{class:e.item},[t("img",{class:e.itemLogo,src:l,alt:""},null),t("div",{class:e.description},[t("div",{class:e.title},[o.title,o.tag&&t("span",{class:e.tag},[o.tag])]),t("div",{class:e.des},[o.des])]),t(_,{round:!0,type:"primary",onClick:()=>r(o.type)},{default:()=>[i("\u6253\u5F00")]})]))])])]})])}});export{B as T};
