import{g as e,s as o,a as s,o as a,c as t,i as r}from"./index-4fa572a1.js";import{o as c}from"./uni-app.es.772a0883.js";import{g as n}from"./getParams.10f08682.js";const p={__name:"index",setup(p){const i="https://chtech.ncjti.edu.cn/carstop/carbook/appopenid.action";c((()=>{m()}));const m=()=>{if(e("bus_card_number"))s({url:"/pages/home/home"});else{const e=n("card_number");e?(o("bus_card_number",e),s({url:"/pages/home/home"})):u()}},u=()=>{window.location.href=`https://open.wecard.qq.com/connect/oauth/authorize?app_key=4AA7B3944BDF3739&response_type=code&scope=snsapi_base&ocode=1015730314&redirect_uri=${i}&state=${i}`};return(e,o)=>{const s=r;return a(),t(s)}}};export{p as default};
