import{d as l,r as u,h as d,o as p,i as t,j as o,w as e,T as s,x as f,y as g,v}from"./index-9PRMimni.js";import{_ as b}from"./account-logo-BpiiJsxI.js";import{_ as B}from"./LoginForm.vue_vue_type_script_setup_true_lang-CRk5iUfs.js";import{_ as x}from"./RegisterForm.vue_vue_type_script_setup_true_lang-DfM3LBUE.js";import R from"./TogglePage-BjOMGgVd.js";const h="/assets/login-bg-BTLOwUOi.svg",k={class:"account-root"},L={class:"account-root-item"},T={class:"account-root-item root-right-item"},w={class:"account-form"},y=l({__name:"login",setup(N){const n=u("login");function c(){n.value="login"}function r(){n.value="register"}return(U,a)=>{const i=g,m=f;return p(),d("div",k,[t("div",L,[o(s,{name:"fade-bottom",appear:"",mode:"out-in"},{default:e(()=>a[1]||(a[1]=[t("div",{class:"account-root-item-img"},[t("img",{src:h,alt:""})],-1)])),_:1})]),t("div",T,[o(s,{name:"fade-bottom",appear:"",mode:"out-in"},{default:e(()=>[t("div",w,[a[2]||(a[2]=t("div",{class:"account-top"},[t("div",{class:"account-top-logo"},[t("img",{src:b,alt:""})]),t("div",{class:"account-top-desc"},"Naive Ui Admin中台前端/设计解决方案")],-1)),o(m,{value:n.value,"onUpdate:value":a[0]||(a[0]=_=>n.value=_),size:"large","justify-content":"space-evenly"},{default:e(()=>[o(i,{name:"login",tab:"登录"},{default:e(()=>[o(s,{name:"fade-bottom",appear:"",mode:"out-in"},{default:e(()=>[o(B,{ref:"LoginFormRef",onGoRegister:r},null,512)]),_:1})]),_:1}),o(i,{name:"register",tab:"注册"},{default:e(()=>[o(s,{name:"fade-bottom",appear:"",mode:"out-in"},{default:e(()=>[o(x,{ref:"RegisterFormRef",onBackLogin:c},null,512)]),_:1})]),_:1})]),_:1},8,["value"])])]),_:1})]),o(R)])}}}),V=v(y,[["__scopeId","data-v-8d56aaf6"]]);export{V as default};
