pages-login-index.BJzKlK2l.js 990 Bytes
import{c as e,w as o,i as t,o as a,b as s,d as n,e as d,f as i}from"./index-DbYjx_1d.js";import{_ as r}from"./_plugin-vue_export-helper.BCo6x5W8.js";const c=r({data:()=>({usercode:"",password:"",passwordHidden:!0}),onLoad:function(){localStorage.removeItem("hasLogin")},methods:{doLogin(){localStorage.setItem("hasLogin",!0);let e="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx7219d601c7041b7a&redirect_uri="+encodeURI("https://dj.ccnu.edu.cn/app")+"&response_type=code&scope=snsapi_base&state=STATE&agentid=1000396#wechat_redirect";console.log(e,898),window.location.href=e}}},[["render",function(r,c,l,p,u,m){const _=d,f=i,g=t;return a(),e(g,{style:{width:"96%",margin:"0 auto"}},{default:o((()=>[s(g,null,{default:o((()=>[s(f,{onSubmit:m.doLogin},{default:o((()=>[s(_,{plain:"true",class:"loginBtn",lang:"zh_CN","form-type":"submit"},{default:o((()=>[n("登录")])),_:1})])),_:1},8,["onSubmit"])])),_:1})])),_:1})}],["__scopeId","data-v-96fc22c0"]]);export{c as default};