import{c as e,w as o,i as t,o as a,b as s,d as n,g as d,h as i}from"./index-BdZf2PuA.js";import{_ as r}from"./_plugin-vue_export-helper.BCo6x5W8.js";const c=r({data:()=>({usercode:"",password:"",passwordHidden:!0}),onLoad:function(){},methods:{doLogin(){localStorage.setItem("hasLogins",!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,p,u,l,_){const f=d,h=i,m=t;return a(),e(m,{style:{width:"96%",margin:"0 auto"}},{default:o((()=>[s(m,null,{default:o((()=>[s(h,{onSubmit:_.doLogin},{default:o((()=>[s(f,{plain:"true",class:"loginBtn",lang:"zh_CN","form-type":"submit"},{default:o((()=>[n("登录")])),_:1})])),_:1},8,["onSubmit"])])),_:1})])),_:1})}],["__scopeId","data-v-79abc2df"]]);export{c as default};