From 4e03d3577c01cfca5c38197b575655edaed2b7d2 Mon Sep 17 00:00:00 2001 From: xingyu4j Date: Thu, 16 Oct 2025 11:22:43 +0800 Subject: [PATCH] feat: init naive base --- apps/web-naive/src/layouts/basic.vue | 210 +++++++++++++---- apps/web-naive/src/router/access.ts | 15 +- apps/web-naive/src/router/guard.ts | 29 ++- apps/web-naive/src/router/index.ts | 3 + apps/web-naive/src/router/routes/core.ts | 17 ++ apps/web-naive/src/router/routes/index.ts | 12 +- apps/web-naive/src/router/tongji.ts | 30 +++ apps/web-naive/src/store/auth.ts | 78 +++++-- .../views/_core/authentication/code-login.vue | 113 ++++++++- .../_core/authentication/forget-password.vue | 190 ++++++++++++++- .../src/views/_core/authentication/login.vue | 208 ++++++++++++----- .../views/_core/authentication/register.vue | 153 ++++++++++-- .../_core/authentication/social-login.vue | 210 +++++++++++++++++ .../views/_core/authentication/sso-login.vue | 221 ++++++++++++++++++ 14 files changed, 1321 insertions(+), 168 deletions(-) create mode 100644 apps/web-naive/src/router/tongji.ts create mode 100644 apps/web-naive/src/views/_core/authentication/social-login.vue create mode 100644 apps/web-naive/src/views/_core/authentication/sso-login.vue diff --git a/apps/web-naive/src/layouts/basic.vue b/apps/web-naive/src/layouts/basic.vue index 0e9747bef..256868f4a 100644 --- a/apps/web-naive/src/layouts/basic.vue +++ b/apps/web-naive/src/layouts/basic.vue @@ -1,66 +1,68 @@