From 98d21845cee45dedf958f414d8661285c7574267 Mon Sep 17 00:00:00 2001 From: Hooray Hu <304327508@qq.com> Date: Fri, 26 Apr 2024 11:27:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=99=BB=E5=BD=95=E9=A1=B5=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=89=AB=E7=A0=81=E7=99=BB=E5=BD=95=E5=8F=82=E8=80=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login.vue | 95 +++++++++++++++++++++++++++------------------ 1 file changed, 58 insertions(+), 37 deletions(-) diff --git a/src/views/login.vue b/src/views/login.vue index 3117167c..9bda06e4 100755 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -26,6 +26,9 @@ const banner = new URL('../assets/images/login-banner.png', import.meta.url).hre const logo = new URL('../assets/images/logo.png', import.meta.url).href const title = import.meta.env.VITE_APP_TITLE +// 登录方式,default 账号密码登录,qrcode 扫码登录 +const loginType = ref('default') + // 表单类型,login 登录,register 注册,reset 重置密码 const formType = ref('login') const loading = ref(false) @@ -159,44 +162,62 @@ function testAccount(account: string) { -
-

- 欢迎来到 {{ title }} ! 👋🏻 -

-
-
- - - - - - - - - - -
-
- - 记住我 - - - 忘记密码了? - -
- - 登录 - -