| 1 |
- System.register(["./index-legacy-f44ab23b.js","./index-legacy-db54d967.js","./CusNavigation.vue_vue_type_style_index_0_scoped_5e63f475_lang-legacy-aeac0d75.js"],(function(e,n){"use strict";var t,a,o,l,i,r,u,c,s,d,p,f,g,v,b,m,y,h,x;return{setters:[function(e){t=e.d,a=e.i,o=e.a,l=e.u,i=e.y,r=e.l,u=e.r,c=e.o,s=e.s,d=e.e,p=e.c,f=e.w,g=e.f,v=e.x,b=e.p,m=e.j,y=e._},function(e){h=e.p},function(e){x=e.I}],execute:function(){var n=document.createElement("style");n.textContent="[data-v-3ed49d7b] .ant-input-group-addon .ant-btn-primary{background:none;border:none;padding:0}[data-v-3ed49d7b] .ant-tabs>.ant-tabs-nav .ant-tabs-nav-list{flex-grow:1}[data-v-3ed49d7b] .ant-tabs-tab{flex-grow:1;justify-content:center;color:#666a78;font-size:18px}[data-v-3ed49d7b] .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#0058ff}[data-v-3ed49d7b] .ant-tabs-ink-bar{background-color:#0058ff}\n",document.head.appendChild(n);var _=function(e){return b("data-v-3ed49d7b"),e=e(),m(),e},w={style:{background:"#E9EDF3",height:"100vh",display:"flex","flex-direction":"column","align-items":"center","justify-content":"center"}},k=_((function(){return d("span",null,"已有账号,",-1)})),F={style:{width:"1200px",height:"740px",display:"flex","background-color":"#fff"}},C={style:{width:"0px","flex-grow":"2",padding:"20px 0px 0px 20px"}},z={style:{height:"35px"}},j={style:{width:"0px","flex-grow":"3",padding:"100px 70px 20px 70px"}},I={style:{display:"flex","align-items":"center"}},K=_((function(){return d("span",null,"验证身份",-1)})),S=_((function(){return d("div",{style:{height:"45px"}},null,-1)})),U={key:1,style:{background:"#0058FF",height:"100%",width:"120px",padding:"0px 10px","font-size":"14px","margin-top":"-1px","margin-bottom":"-1px","line-height":"38px"}},q=[_((function(){return d("div",null,"获取验证码",-1)}))],E={style:{display:"flex","align-items":"center"}},P=_((function(){return d("span",null,"设置新密码",-1)})),R=_((function(){return d("div",{style:{height:"45px"}},null,-1)})),A=_((function(){return d("div",{style:{width:"0px","flex-grow":"2"}},null,-1)}));e("default",y(t({__name:"Index",setup:function(e){var n=a("1"),t=o(),b=l(),m=a(""),y=i({username:"",password:"",captchaCode:"",captchaKey:"",isRememberMe:!1}),_=function(e){console.log(e),console.log(y),h({url:"/user/login",data:y},(function(e){console.log(e);var n=e.data,a=n.username,o=n.token,l=n.roleIds;b.$patch((function(e){e.username=a,e.token=o,e.roles=l,e.isLogin=!0})),console.log(b),t.replace("/")}))},B=function(e){console.log(e)},D=function(){h({url:"/open/getCaptcha"},(function(e){console.log(e.data.captchaImg),m.value=e.data.captchaImg,y.captchaKey=e.data.captchaKey}))},L=function(e){console.log(e),D()},M=function(){t.push("/login")},N=function(){console.log("ii")},T=a(null),$=function(){var e;null===(e=T.value)||void 0===e||e.validate().then((function(){console.log("11"),n.value="2"}),(function(){console.log("22")}))};return r((function(){D()})),function(e,t){var a=u("a-image"),o=u("a-input"),l=u("a-form-item"),i=u("a-input-search"),r=u("a-button"),b=u("a-form"),m=u("a-tab-pane"),h=u("a-input-password"),D=u("a-tabs");return c(),s("div",w,[d("div",{style:{height:"0px",width:"1200px",position:"relative"}},[d("div",{style:{position:"absolute",right:"0",bottom:"20px","font-family":"PingFangSC, PingFang SC","font-weight":"400","font-size":"14px",color:"#666A78"}},[k,d("a",{onClick:M},"立即登录")])]),d("div",F,[d("div",C,[d("div",z,[p(a,{preview:!1,height:"100%",src:"/images/logo3.png"})])]),d("div",j,[d("div",null,[p(D,{activeKey:n.value,"onUpdate:activeKey":t[3]||(t[3]=function(e){return n.value=e}),centered:!0,onTabClick:N},{default:f((function(){return[p(m,{key:"1",disabled:""},{tab:f((function(){return[d("div",I,[p(g(x),{type:"icon-1",style:{"margin-right":"7px","font-size":"20px"}}),K])]})),default:f((function(){return[d("div",null,[S,p(b,{ref_key:"formRef",ref:T,model:y,name:"basic","label-align":"left","label-col":{span:4},"wrapper-col":{span:20},autocomplete:"off",onFinish:_,onFinishFailed:B,layout:"vertical"},{default:f((function(){return[p(l,{"wrapper-col":{offset:0,span:24},label:"手机号",name:"username",rules:[{required:!0,message:"请输入账号!"}]},{default:f((function(){return[p(o,{size:"large",value:y.username,"onUpdate:value":t[0]||(t[0]=function(e){return y.username=e})},null,8,["value"])]})),_:1}),p(l,{"wrapper-col":{offset:0,span:24},label:"验证码",name:"captchaCode",rules:[{required:!0,message:"请输入验证码"}]},{default:f((function(){return[p(i,{value:y.captchaCode,"onUpdate:value":t[1]||(t[1]=function(e){return y.captchaCode=e}),placeholder:"请输入验证码",size:"large",onSearch:L},{enterButton:f((function(){return[(c(),s("div",U,q))]})),_:1},8,["value"])]})),_:1}),p(l,{"wrapper-col":{offset:0,span:24}},{default:f((function(){return[p(r,{style:{background:"#0058FF","margin-top":"30px"},size:"large",block:"",type:"primary",onClick:$},{default:f((function(){return[v("下一步")]})),_:1})]})),_:1})]})),_:1},8,["model"])])]})),_:1}),p(m,{key:"2",disabled:""},{tab:f((function(){return[d("div",E,[p(g(x),{type:"icon-2",style:{"margin-right":"7px","font-size":"20px"}}),P])]})),default:f((function(){return[d("div",null,[R,p(b,{model:y,name:"basic","label-align":"left","label-col":{span:4},"wrapper-col":{span:20},autocomplete:"off",onFinish:_,onFinishFailed:B,layout:"vertical"},{default:f((function(){return[p(l,{style:{"margin-bottom":"12px"},"wrapper-col":{offset:0,span:24},label:"设置密码",name:"password",rules:[{required:!0,message:"请输入密码!"}]},{default:f((function(){return[p(h,{size:"large",value:y.password,"onUpdate:value":t[2]||(t[2]=function(e){return y.password=e})},null,8,["value"])]})),_:1}),p(l,{"wrapper-col":{offset:0,span:24}},{default:f((function(){return[p(r,{style:{background:"#0058FF","margin-top":"30px"},size:"large",block:"",type:"primary","html-type":"submit"},{default:f((function(){return[v("完成")]})),_:1})]})),_:1})]})),_:1},8,["model"])])]})),_:1})]})),_:1},8,["activeKey"])])]),A])])}}}),[["__scopeId","data-v-3ed49d7b"]]))}}}));
|