login-legacy-31b41c89.js 16 KB

1
  1. !function(){const e=["returnUrl","isRegister"];function t(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function o(e){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?t(Object(i),!0).forEach((function(t){n(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function n(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var o=e[Symbol.toPrimitive];if(o!==undefined){var n=o.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function i(e,t){if(null==e)return{};var o,n,i=function(e,t){if(null==e)return{};var o,n,i={},r=Object.keys(e);for(n=0;n<r.length;n++)o=r[n],t.indexOf(o)>=0||(i[o]=e[o]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)o=r[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}function r(e,t,o,n,i,r,s){try{var a=e[r](s),l=a.value}catch(c){return void o(c)}a.done?t(l):Promise.resolve(l).then(n,i)}function s(e){return function(){var t=this,o=arguments;return new Promise((function(n,i){var s=e.apply(t,o);function a(e){r(s,n,i,a,l,"next",e)}function l(e){r(s,n,i,a,l,"throw",e)}a(undefined)}))}}System.register(["./index-legacy-835c2a22.js","./index-legacy-78fb58a1.js","./index-legacy-218b3714.js","./index-legacy-f8853d9e.js","./index-legacy-552d02c1.js"],(function(t,n){"use strict";var r,a,l,c,u,d,p,m,g,f,h,y,v,_,k,S,w,b,C,E,R,x,O,Y,A,j,U,I,P,T;return{setters:[e=>{r=e.t,a=e.N,l=e.v,c=e.x,u=e.d,d=e.y,p=e.c,m=e.a,g=e.w,f=e.G,h=e.C,y=e.ba,v=e.bb,_=e.S,k=e.ag,S=e.s,w=e.e,b=e._,C=e.P,E=e.m,R=e.au,x=e.bc,O=e.aH,Y=e.bd,A=e.be,j=e.bf,U=e.B},e=>{I=e.F},e=>{P=e.I},e=>{T=e.C},null],execute:function(){var n=document.createElement("style");n.textContent="._imgCode_mywmt_1{padding:.42667rem}._imgCode_mywmt_1 ._codeTitle_mywmt_4{text-align:center;font-size:.42667rem;color:#4f4f4f;margin:0;padding-bottom:.42667rem}._imgCode_mywmt_1 ._img_mywmt_1{display:flex;align-items:center;justify-content:center}._imgCode_mywmt_1 ._imgChange_mywmt_16{display:block;color:#aaa;font-size:.32rem;text-align:center;padding-top:.13333rem}._imgCode_mywmt_1 ._field_mywmt_23{background:#F4F4F4;padding:.26667rem .32rem!important}._imgCodePopup_mywmt_27{width:90%;border-radius:.13333rem;overflow:inherit}._imgCodePopup_mywmt_27 .van-popup__close-icon{top:-.98667rem!important;right:0!important;font-size:.66667rem;color:#fff}._login_pvck2_1{min-height:100vh;padding:0 1.28rem;background:linear-gradient(to bottom,#01c1b5,#1bcbbf)}._login_pvck2_1 ._codeText_pvck2_6{color:#fff}._login_pvck2_1 ._logo_pvck2_9{display:table;padding-top:2.66667rem;padding-bottom:2.4rem;width:4.26667rem;height:1.2rem;margin:0 auto}._login_pvck2_1 ._logo_pvck2_9 img{width:inherit;height:inherit}._login_pvck2_1 ._container_pvck2_21{background-color:transparent}._login_pvck2_1 ._input-group_pvck2_24{position:relative;border-radius:1.33333rem;border:.05333rem solid #fff;margin-bottom:.53333rem;padding-left:.8rem;padding-right:.8rem;display:flex;align-items:center;background:transparent}._login_pvck2_1 ._input-group_pvck2_24 input{flex:1;font-size:.37333rem;color:#fff;background:transparent;border:none}._login_pvck2_1 ._input-group_pvck2_24 input::-moz-placeholder{color:#fff}._login_pvck2_1 ._input-group_pvck2_24 input::placeholder{color:#fff}._login_pvck2_1 ._input-group_pvck2_24 ._code-text_pvck2_45{position:absolute;right:0;flex:1;display:block;width:2.50667rem;text-align:center;font-size:.37333rem;color:#fff;line-height:.8rem;height:.8rem}._login_pvck2_1 ._input-group_pvck2_24 .van-field__button{border-left:.05333rem solid #fff;margin-left:.32rem;margin-right:-.48rem}._login_pvck2_1 ._login-change_pvck2_62{padding-top:.21333rem;font-size:.37333rem;color:#fff;float:right;cursor:pointer}._login_pvck2_1 .van-button--disabled{opacity:1;color:rgba(0,0,0,.25)}\n",document.head.appendChild(n);const[L,M]=r("row"),D=Symbol(L),V={tag:a("div"),wrap:l,align:String,gutter:c(0),justify:String};var H=u({name:L,props:V,setup(e,{slots:t}){const{children:o,linkChildren:n}=d(D),i=p((()=>{const e=[[]];let t=0;return o.forEach(((o,n)=>{t+=Number(o.span),t>24?(e.push([n]),t-=24):e[e.length-1].push(n)})),e}));return n({spaces:p((()=>{const t=Number(e.gutter),o=[];return t?(i.value.forEach((e=>{const n=t*(e.length-1)/e.length;e.forEach(((e,i)=>{if(0===i)o.push({right:n});else{const i=t-o[e-1].right,r=n-i;o.push({left:i,right:r})}}))})),o):o}))}),()=>{const{tag:o,wrap:n,align:i,justify:r}=e;return m(o,{"class":M({[`align-${i}`]:i,[`justify-${r}`]:r,nowrap:!n})},{"default":()=>{var e;return[null==(e=t["default"])?void 0:e.call(t)]}})}}});const[z,N]=r("col"),F={tag:a("div"),span:c(0),offset:g};var G=u({name:z,props:F,setup(e,{slots:t}){const{parent:o,index:n}=f(D),i=p((()=>{if(!o)return;const{spaces:e}=o;if(e&&e.value&&e.value[n.value]){const{left:t,right:o}=e.value[n.value];return{paddingLeft:t?`${t}px`:null,paddingRight:o?`${o}px`:null}}}));return()=>{const{tag:o,span:n,offset:r}=e;return m(o,{style:i.value,"class":N({[n]:n,[`offset-${r}`]:r})},{"default":()=>{var e;return[null==(e=t["default"])?void 0:e.call(t)]}})}}});const W=h(G),[q,Q]=r("count-down"),J={time:c(0),format:a("HH:mm:ss"),autoStart:l,millisecond:Boolean};var K=u({name:q,props:J,emits:["change","finish"],setup(e,{emit:t,slots:o}){const{start:n,pause:i,reset:r,current:s}=v({time:+e.time,millisecond:e.millisecond,onChange:e=>t("change",e),onFinish:()=>t("finish")}),a=p((()=>function(e,t){const{days:o}=t;let{hours:n,minutes:i,seconds:r,milliseconds:s}=t;if(e.includes("DD")?e=e.replace("DD",y(o)):n+=24*o,e.includes("HH")?e=e.replace("HH",y(n)):i+=60*n,e.includes("mm")?e=e.replace("mm",y(i)):r+=60*i,e.includes("ss")?e=e.replace("ss",y(r)):s+=1e3*r,e.includes("S")){const t=y(s,3);e=e.includes("SSS")?e.replace("SSS",t):e.includes("SS")?e.replace("SS",t.slice(0,2)):e.replace("S",t.charAt(0))}return e}(e.format,s.value))),l=()=>{r(+e.time),e.autoStart&&n()};return _((()=>e.time),l,{immediate:!0}),k({start:n,pause:i,reset:l}),()=>m("div",{role:"timer","class":Q()},[o["default"]?o["default"](s.value):a.value])}});const X=h(K),B=h(H),Z=u({name:"imgCode",props:{value:Boolean,phone:[String,Number],onClose:{type:Function,"default":()=>({})},onSendCode:{type:Function,"default":()=>({})}},data(){return{showStatus:!1,identifyingCode:window.location.origin+S.platformApi+"/code/getLoginImage?phone="+this.phone,code:null}},mounted(){this.showStatus=this.value},watch:{value(e){this.showStatus=e},code(e){e.length>=4&&this.checkVerifyLoginImage()}},methods:{updateIdentifyingCode(){var e=this;return s((function*(){const t=window.location.origin;e.identifyingCode=`${t}${S.platformApi}/code/getLoginImage?phone=${e.phone}&token=${Math.random()}`}))()},checkVerifyLoginImage(){var e=this;return s((function*(){try{if(e.code.length<4)return;yield w.post(`${S.platformApi}/code/sendSmsCode`,{requestType:"form",data:{mobile:e.phone,type:"LOGIN",code:e.code}}),b("验证码已发送"),e.onClose(),e.onSendCode()}catch(t){e.updateIdentifyingCode()}}))()}},render(){return m(C,{show:this.showStatus,"class":"_imgCodePopup_mywmt_27",closeOnClickOverlay:!1,onClose:()=>{this.onClose()},closeable:!0,closeIcon:"close"},{"default":()=>[m("div",{"class":"_imgCode_mywmt_1"},[m("p",{"class":"_codeTitle_mywmt_4"},[E("输入图形验证码")]),m(B,null,{"default":()=>[m(W,{span:"14"},{"default":()=>[m(I,{placeholder:"请输入验证码",modelValue:this.code,"onUpdate:modelValue":e=>this.code=e,"class":"_field_mywmt_23",maxlength:4},null)]}),m(W,{span:"10","class":"_img_mywmt_1"},{"default":()=>[R(m(P,{src:this.identifyingCode,onClick:()=>this.updateIdentifyingCode()},null),[[x("slot"),{loading:()=>m(O,{type:"spinner",size:"20"},null)}]])]})]}),m(B,{style:{display:"flex",justifyContent:"end"}},{"default":()=>[m(W,{span:"10"},{"default":()=>[m("span",{"class":"_imgChange_mywmt_16",onClick:()=>this.updateIdentifyingCode()},[E("看不清?换一换")])]})]})])]})}}),$={login:"_login_pvck2_1",codeText:"_codeText_pvck2_6",logo:"_logo_pvck2_9",container:"_container_pvck2_21","input-group":"_input-group_pvck2_24","code-text":"_code-text_pvck2_45","login-change":"_login-change_pvck2_62"};t("default",u({name:"layout-login",data:()=>({loginType:"SMS",username:"",password:"",smsCode:"",countDownStatus:!0,countDownTime:12e4,imgCodeStatus:!1}),computed:{codeDisable(){let e=!0;return"PWD"===this.loginType?this.username&&this.password&&(e=!1):this.username&&this.smsCode&&(e=!1),e}},mounted(){Y(),this.directNext()},methods:{directNext(){if("login"===S.user.status||"error"===S.user.status){const t=this.$route.query,{returnUrl:n,isRegister:r}=t,s=i(t,e);this.$router.replace({path:n,query:o({},s)})}},onLogin(){var e=this;return s((function*(){try{let t;t="PWD"===e.loginType?yield w.post("/api-auth/usernameLogin",{requestType:"form",data:{username:e.username,password:e.password,clientId:S.platformType,clientSecret:S.platformType}}):yield w.post("/api-auth/smsLogin",{requestType:"form",data:{clientId:S.platformType,clientSecret:S.platformType,phone:e.username,smsCode:e.smsCode}});const{authentication:o}=t.data;A(o.token_type+" "+o.access_token);const n=yield w.get("STUDENT"===S.platformType?S.platformApi+"/student/queryUserInfo":S.platformApi+"/teacher/queryUserInfo",{initRequest:!0});j(n.data),e.directNext()}catch(t){}}))()},onSendCode(){var e=this;return s((function*(){if(t=e.username,!/^((13[0-9])|(14(0|[5-7]|9))|(15([0-3]|[5-9]))|(16(2|[5-7]))|(17[0-8])|(18[0-9])|(19([0-3]|[5-9])))\d{8}$/.test(t))return b("请输入正确的手机号码");var t;e.imgCodeStatus=!0}))()},onCodeSend(){this.countDownStatus=!1,this.$nextTick((()=>{this.$refs.countDownRef.start()}))},onFinished(){this.countDownStatus=!0,this.$refs.countDownRef.reset()},onChange(){"PWD"===this.loginType?this.loginType="SMS":"SMS"===this.loginType&&(this.loginType="PWD")}},render(){return m("div",{"class":[$.login]},[m("div",{"class":$.logo},[m("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUQAAABaCAMAAAD3n9+rAAABNVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8BwbUUxrsNxbn4/v0eyb7v/Ptz3ddb2NCi6eRp29RB0snX9vQ4z8YlysC07uqX5uG/8O2r6+ff+PbN8/Hn+vnG8u/S9fKP5N+H4t1L1Mxg2dFW1s5R1c1H08oyzsR+4NopzMJi2dIuzGsgAAAARHRSTlMA5i4ftQTXEmFTg9odCBSWeDQOXKROt3X9RgyB7Uzx0wL79UI847oG+OrMKsWwrW/5yZMZJF5piIxkn1nA39yZp3x+gHwyDdUAAAy8SURBVHja7NppVxJRHMfxP8hqDSli4oTsMMgmW5KaWfbDrbJFS8v2zPf/EmKYueLAHWa4w7HOoc9DfTJ89c69/3ugAXKwUannUhhLKlevNIIy/dclbXgKEFbwbEg07ZKBHBzKBZI01TIJTEAiQ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GxVHYDGPsq+qDp0OrReymgkc/7p8r0pLO8RMYr/Mb6tIba3DtsSzZeW+PYkp1yjielmcEG+eBaJlC70dlrx6fpdghM4QA47M0kiUms/P99KDxWuuD86PSPdsbrYhcU3kys5UMYWs7DOHs4aFft7hncRCmIWLBAiGKSceJPpEV0yKoKWoERcV6Li0UQWF1QaFTl65oPqkRCQuCUY4O0jimvKv7BEtkRyEPViwImxBXU4BiLmJPp69owgxAEIto0MOP+kD0tmtktI+k/4+LlazdGkcxyACgLOIVmtuDvvOUUj2YV6ktGF0gKqIpYlltqghJx31gRup1e22JOjs5rVdtgQkxogoRTQkHeUo/YR+YO+uOnbERN6qiutk+QcWF5XGXfQSi6xTY1oVpX4LPtD0ozzqFMm6gMSwV/i/icd1fzqY1Xa5ggt6gtF3+4JpeMm/BdL5Peb4E4sa31NDYK+0MlAfrRtUYOfUiPci3fkLEWN1EUvEBJ9SznJQ8KIUwzVPCvDp6VkrHueoGQM+mdT44vmyxieZATVmTkRi+HmWCJDZpwISg4sU2CEiRMM8UopoquykEodHLzPuKb/XlKhAmatGmXPcrNdq9SZsuVQalstc4TjRNR0YRSghtttXopzcCys7WpDC3gMboiSCowuusZQ25vjSvOCa41umMZhhM0SMKC/Nwqy6qFVc2dGl//o3+g5v+pZK/+F4+J9vmfIGG8oTUTZlDzD25KepVdwiRSi7d1jhXddWEUq/i45BiZhSUGKrDLFAOrARKERVGd21MLXCslesVfRuKqoLVTc9aq8cKlkthalFUiE/MeeA0lwoSGzj3zsofUqJOtwRLswr9a6ancoff53mr55kvTAvJrrqtsSqwDz+LDNP/hUe/7Y7k05H3rw0JeK3WiL65GF9MikRPSlWrsekbP5jYfIAh8mjRB4Nk4faTB6v9FiYPOhr8si5R8Tk4Ydj8BtP5UjXgZbThAAAAABJRU5ErkJggg=="},null)]),m(T,{"class":$.container,border:!1},{"default":()=>[m(I,{modelValue:this.username,"onUpdate:modelValue":e=>this.username=e,name:"手机号",placeholder:"请输入您的手机号",type:"tel",autocomplete:"off","class":$["input-group"],maxlength:11},null),"PWD"===this.loginType?m(I,{modelValue:this.password,"onUpdate:modelValue":e=>this.password=e,type:"password",name:"密码",autocomplete:"off","class":$["input-group"],placeholder:"请输入密码"},null):m(I,{modelValue:this.smsCode,"onUpdate:modelValue":e=>this.smsCode=e,name:"验证码",placeholder:"请输入验证码",type:"tel","class":$["input-group"],autocomplete:"off",maxlength:6},{button:()=>this.countDownStatus?m("span",{"class":$.codeText,onClick:this.onSendCode},[E("获取验证码")]):m(X,{ref:"countDownRef","auto-start":!1,time:this.countDownTime,onFinish:this.onFinished,format:"ss秒"},null)})]}),m("div",{"class":$.margin34},[m(U,{round:!0,block:!0,disabled:this.codeDisable,onClick:this.onLogin},{"default":()=>[E("提交")]}),m("span",{"class":$["login-change"],onClick:this.onChange},["PWD"===this.loginType?"验证码登录":"密码登录"])]),this.imgCodeStatus?m(Z,{value:this.imgCodeStatus,"onUpdate:value":e=>this.imgCodeStatus=e,phone:this.username,onClose:()=>{this.imgCodeStatus=!1},onSendCode:this.onCodeSend},null):null])}}))}}}))}();