1 |
- import{I as l,i as g,a as _}from"./utils.c9979885.js";import{d as m,G as f,r as h,c as t,V as n,J as v,X as C,u as k}from"./index.a5927668.js";import{P as A,I as F,C as x}from"./index.ee082142.js";const y="_wx_bg_53wkw_1",S="_theFooterApp_53wkw_12",T="_appContent_53wkw_52",P="_top_53wkw_55",b="_des_53wkw_66",E="_content_53wkw_72",L="_item_53wkw_75",D="_tag_53wkw_89",I="_description_53wkw_97",U="_title_53wkw_100",$="_itemLogo_53wkw_107",e={wx_bg:y,theFooterApp:S,appContent:T,top:P,des:b,content:E,item:L,tag:D,description:I,title:U,itemLogo:$},B=""+new URL("wx_bg.7fc6518a.png",import.meta.url).href,[r,a]=C(!1),V=m({name:"TheFooterApp",setup(){const u=k(),c=()=>{u.name=="index"&&a(!0)};f(()=>{c()});const p=[{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"}],i=h(!1),d=o=>{if(g()||_()){i.value=!0;return}const w={url:"",action:"h5",pageTag:1};try{const s=encodeURIComponent(JSON.stringify(w));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}`)}catch{}};return()=>t(v,null,[i.value&&t("div",{class:e.wx_bg},[t("img",{src:B},null)]),t("div",{class:e.theFooterApp,onClick:()=>a(!0)},[t("img",{class:e.img,src:l},null),t("span",null,[n("\u6253\u5F00APP\u770B\u6D77\u91CF\u70ED\u95E8\u4E50\u8C31")])]),t(A,{position:"bottom",round:!0,show:r.value,"onUpdate:show":o=>r.value=o,onClose:()=>i.value=!1},{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:()=>a(!1)},[t("span",null,[n("\u7EE7\u7EED\u4F7F\u7528\u6D4F\u89C8\u5668")]),t(F,{name:"play",size:10},null)])]),t("div",{class:e.content},[p.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(x,{round:!0,type:"primary",onClick:()=>d(o.type)},{default:()=>[n("\u6253\u5F00")]})]))])])]})])}});export{V as T};
|