index.6c18163b.js 2.2 KB

1
  1. import{I as a}from"./logo-1.1c5bc018.js";import{d as g,G as _,c as t,V as n,J as m,X as h,u as f}from"./index.0dfb9898.js";import{P as C,I as v,C as A}from"./index.d4115a5c.js";const F="_theFooterApp_1ttee_1",w="_appContent_1ttee_41",y="_top_1ttee_44",S="_des_1ttee_55",x="_content_1ttee_61",P="_item_1ttee_64",T="_tag_1ttee_78",E="_description_1ttee_86",k="_title_1ttee_89",I="_itemLogo_1ttee_96",e={theFooterApp:F,appContent:w,top:y,des:S,content:x,item:P,tag:T,description:E,title:k,itemLogo:I},[l,i]=h(!1),$=g({name:"TheFooterApp",setup(){const u=f(),c=()=>{u.name=="index"&&i(!0)};_(()=>{c()});const r=[{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"}],p=o=>{const d={url:"",action:"h5",pageTag:1},s=encodeURIComponent(JSON.stringify(d));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(m,null,[t("div",{class:e.theFooterApp,onClick:()=>i(!0)},[t("img",{class:e.img,src:a},null),t("span",null,[n("\u6253\u5F00APP\u770B\u6D77\u91CF\u70ED\u95E8\u4E50\u8C31")])]),t(C,{position:"bottom",round:!0,show:l.value,"onUpdate:show":o=>l.value=o},{default:()=>[t("div",{class:e.appContent},[t("div",{class:e.top},[t("span",null,[n("\u6253\u5F00\u65B9\u5F0F")]),t("div",{class:e.des,onClick:()=>i(!1)},[t("span",null,[n("\u7EE7\u7EED\u4F7F\u7528\u6D4F\u89C8\u5668")]),t(v,{name:"play",size:10},null)])]),t("div",{class:e.content},[r.map(o=>t("div",{class:e.item},[t("img",{class:e.itemLogo,src:a,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(A,{round:!0,type:"primary",onClick:()=>p(o.type)},{default:()=>[n("\u6253\u5F00")]})]))])])]})])}});export{$ as T};