import{b as g,_ as m}from"./index-c2dd6a24.js";import u from"./Login-6568a0ee.js";import f from"./Register-0fada842.js";import{e as v,r as c,d as h,P as n,Q as y,a7 as t,ab as s,a3 as l}from"./vue-bf422dc1.js";import"./ui-ba7aaa7e.js";import"./icons-a8498fb6.js";import"./libs-51817cd7.js";import"./plugins-ca970193.js";import"./others-9f318174.js";import"./echarts-bf9d612c.js";import"./index-b02b5348.js";import"./Agreement-a5748530.js";const b={class:"login-wrapper"},k={class:"h-full"},x={class:"login-container"},S={class:"title-container"},B={class:"title margin-no"},C={class:"sub-title"},D={class:"tip"},L={class:"copyright"},w={name:"DefaultLogin"},I=v({...w,setup(R){const r=c("商户登录"),e=c("login"),a=i=>{e.value=i,r.value=i==="login"?"商户登录":"商户注册"},_=g(),p=h(()=>_.config.site_info_copyright);return(i,o)=>(n(),y("div",b,[t("div",k,[t("div",x,[t("div",S,[t("h1",B,s(r.value),1),t("div",C,[t("p",D,s(e.value=="register"?"已有账号?":"没有账号吗?"),1),t("p",{class:"tip",onClick:o[0]||(o[0]=d=>a(e.value=="register"?"login":"register"))},s(e.value=="register"?"商户登录":"注册新账号"),1)])]),e.value==="login"?(n(),l(u,{key:0})):(n(),l(f,{key:1,onRegisterSuccess:o[1]||(o[1]=d=>a("login"))}))])]),t("footer",L,s(p.value),1)]))}});const G=m(I,[["__scopeId","data-v-eb979acb"]]);export{G as default};
