1 |
- !function(){function e(e,n,t,i,r,c,o){try{var a=e[c](o),s=a.value}catch(u){return void t(u)}a.done?n(s):Promise.resolve(s).then(i,r)}function n(n){return function(){var t=this,i=arguments;return new Promise((function(r,c){var o=n.apply(t,i);function a(n){e(o,r,c,a,s,"next",n)}function s(n){e(o,r,c,a,s,"throw",n)}a(void 0)}))}}var t=document.createElement("style");t.innerHTML="._scanLogin_13pd5_1{position:relative;text-align:center;min-height:100vh}._scanLogin_13pd5_1 ._iconPc_13pd5_6{padding-top:2.66667rem;width:3.04rem}._scanLogin_13pd5_1 ._sure_13pd5_10{padding-top:.8rem;font-size:.42667rem;color:#333;line-height:.58667rem}._scanLogin_13pd5_1 ._tips_13pd5_16{padding-top:.16rem;font-size:.37333rem;color:#999;line-height:.53333rem}._scanLogin_13pd5_1 ._btnSection_13pd5_22{position:absolute;bottom:.26667rem;left:0;right:0}._scanLogin_13pd5_1 ._cancelLogin_13pd5_28{margin-top:.26667rem;line-height:var(--van-button-default-height);height:var(--van-button-default-height);padding:var(--van-button-normal-padding);font-size:.37333rem;color:#333}\n",document.head.appendChild(t),System.register(["./index-legacy.f8641610.js"],(function(e){"use strict";var t,i,r,c,o,a;return{setters:[function(e){t=e.d,i=e.e,r=e.p,c=e.i,o=e.A,a=e.B}],execute:function(){var s="_scanLogin_13pd5_1",u="_iconPc_13pd5_6",g="_sure_13pd5_10",d="_btnSection_13pd5_22",L="_cancelLogin_13pd5_28";e("default",t({name:"ScanLogin",data:function(){return{code:this.$route.query.code}},mounted:function(){var e=this;return n(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,i.get("/api-auth/qrLogin",{params:{code:e.code}});case 3:n.next=7;break;case 5:n.prev=5,n.t0=n.catch(0);case 7:case"end":return n.stop()}}),n,null,[[0,5]])})))()},methods:{onSubmit:function(){var e=this;return n(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,i.get("/api-auth/doQrLogin",{params:{code:e.code}});case 3:r({api:"back",content:{}}),n.next=8;break;case 6:n.prev=6,n.t0=n.catch(0);case 8:case"end":return n.stop()}}),n,null,[[0,6]])})))()},onCancel:function(){r({api:"back",content:{}})}},render:function(){return c("div",{class:s},[c("img",{src:"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",class:u},null),c("div",{class:g},[o("酷乐秀登录确认")]),c("div",{class:["btnGroup",d]},[c(a,{type:"primary",round:!0,block:!0,onClick:this.onSubmit},{default:function(){return[o("确认登录")]}}),c("div",{class:L,onClick:this.onCancel},[o("取消登录")])])])}}))}}}))}();
|