import{d as s,w as n,n as t,j as i,z as c,B as r}from"./index.4f40e5e1.js";import{C as a}from"./index.41aa1fc7.js";const o="_scanLogin_13pd5_1",L="_iconPc_13pd5_6",g="_sure_13pd5_10",u="_tips_13pd5_16",A="_btnSection_13pd5_22",d="_cancelLogin_13pd5_28";var e={scanLogin:o,iconPc:L,sure:g,tips:u,btnSection:A,cancelLogin:d},B="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOQAAADICAMAAADP573yAAAAAXNSR0IArs4c6QAAAKtQTFRFAAAAM8yZKqqqKtWqJLaSIN+/M8yzLtGiLtG5Kr+qM8yzLMimLsmqMMisL8muMMqqL8asLseoLciqK8qtMMqrLsmrLcqtLsqrLMioLcurL8mrLsetLcirL8erLsWqLsirLcmqLcerLMipL8isLMiqLMipLcepLMirL8irLsirLciqLseqLcerLMeqLMepLMerLsirLcerLMirLsepLsirLceqLsirLcepLcequEIQPwAAADl0Uk5TAAUGBgcICgsLDBQXISUmMDEyMzU6PT5DRklMTk9SVFhaW1xcXWJxc3N0eHt8hIWFhoiLjIyNkZKTQ6mhIAAAAl1JREFUeNrt3dtO6lAURuFfkAKyPSAW8IBaRTnKSZD1/k+2L4zorGhM3Dva2THuaNKQLwQ6Z0KyJFstvulNluuQ0dbLSe8mrumTqu1xcNG4Xf2AGHVWwU2rTrTN2JgFV80a74jFbnBXt2iNlUFw2KDy1lgeBZeNyq/GQj84rV/YIJPgtuTFeBwcd/xsLE09I6clSdJFcN2FJEUL38hFJKkVnNeSNExfnCfN+lFGqzeTedozlPbSy8rZrjLd7ll6UdzTib3wdKjMd/hkTSe6thdO5aBTa7rWvXn9sOMBufNgUPeyry/lokv7yelx2xCU9eyg+ij7U3TgA3lgHxiy39F9H8h9qwIJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkCBBggQJEiRIkN9H+gwkSJAgQYIECRIkSJC/Fxn/cVHMPgkSJEiQIP8NMheHbObiuNRcHHybiyOMc3EYdS6OFc/FAfEaprevedKsH2W0ejOZpz1DSS3vK3NLUrTwbVxEknTuG3kuSSpNPRunpW1DkLM2g2ri15hsHi2Fvldjv/D6AC2PfBpH5bdjQmXg0Tio2GGo2PVn7BbfzXyNmS/irLFtso06Kz/EVSf6YICvtsc+iON29bNFpRbf9ibLdVZ16+WkdxvX/vM2d2fe8+rrN16ZG+9+9coKEiRIkCBBggQJEiTIn+kH/ggIEiRIkCBBggQJEiTI7CP/AluY4aXPmBXTAAAAAElFTkSuQmCC",I=s({name:"ScanLogin",data(){return{code:this.$route.query.code}},async mounted(){try{await n.get("/api-auth/qrLogin",{params:{code:this.code}})}catch{}},methods:{async onSubmit(){try{await n.get("/api-auth/doQrLogin",{params:{code:this.code}}),t({api:"back",content:{}})}catch{}},onCancel(){t({api:"back",content:{}})}},render(){return i("div",{class:e.scanLogin},[i(a,null,null),i("img",{src:B,class:e.iconPc},null),i("div",{class:e.sure},[c("\u9177\u4E50\u79C0\u767B\u5F55\u786E\u8BA4")]),i("div",{class:["btnGroup",e.btnSection]},[i(r,{type:"primary",round:!0,block:!0,onClick:this.onSubmit},{default:()=>[c("\u786E\u8BA4\u767B\u5F55")]}),i("div",{class:e.cancelLogin,onClick:this.onCancel},[c("\u53D6\u6D88\u767B\u5F55")])])])}});export{I as default};
