From 7d26f4adbc75c5a8c50a7b4fc35c69f46d28b6cd Mon Sep 17 00:00:00 2001 From: haoxr <1490493387@qq.com> Date: Mon, 6 Feb 2023 01:07:35 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=99=BB=E5=BD=95=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: f26577eff9ac0021bb5fd28d5ba243242a33cb67 --- src/views/login/index.vue | 352 ++++++++------------------------------ 1 file changed, 75 insertions(+), 277 deletions(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index cc849bde..5c022f95 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -4,55 +4,50 @@ ref="loginFormRef" :model="loginData" :rules="loginRules" - class="login-form" - auto-complete="on" - label-position="left" + class="w-[520px] mx-auto mt-[150px]" > -
-

{{ $t('login.title') }}

- +
+ {{ $t('login.title') }} +
- - + + - - + + - + @@ -62,32 +57,21 @@ size="default" :loading="loading" type="primary" - style="width: 100%; margin-bottom: 30px" + class="w-full" @click.prevent="handleLogin" >{{ $t('login.login') }} -
-
- {{ $t('login.username') }}: admin - {{ $t('login.password') }}: 123456 -
+
+ {{ $t('login.username') }}: admin + {{ $t('login.password') }}: 123456
- -
- -