From 33904345acc1e985fb432d40207a90642a7fa354 Mon Sep 17 00:00:00 2001 From: CTP <630182278@qq.com> Date: Wed, 19 Apr 2023 17:24:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=99=BB=E5=BD=95=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E6=A1=86=E6=A0=B7=E5=BC=8F=E8=A6=86=E7=9B=96=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/myLogin.vue | 162 +++++++++++++++++------------ src/views/register.vue | 1 - src/views/system/dept/authDept.vue | 7 +- 3 files changed, 99 insertions(+), 71 deletions(-) diff --git a/src/views/myLogin.vue b/src/views/myLogin.vue index 61a94b7..4496eea 100644 --- a/src/views/myLogin.vue +++ b/src/views/myLogin.vue @@ -17,31 +17,59 @@ label-position="left" > -
- element-logo +
+ element-logo

用户登录

- + - + - + - + - - + + - - + +
登录 + >登录
新用户注册新用户注册 忘记密码忘记密码
- -
- + - - - - -
@@ -249,16 +282,18 @@ $bg: #2d3a4b; $dark_gray: #889aa4; $light_gray: #eee; .login-container { - @include relative; background-color: white; background-image: url("../assets/login.jpg"); background-size: 100vw 100vh; height: 100%; - input:-webkit-autofill { - -webkit-box-shadow: 0 0 0 1000px #293444 inset !important; - -webkit-text-fill-color: #fff !important; + input:-webkit-autofill, + input:-webkit-autofill:hover, + input:-webkit-autofill:focus, + input:-webkit-autofill:active { + -webkit-transition-delay: 99999s; + -webkit-transition: color 99999s ease-out, background-color 99999s ease-out; } .item { @@ -311,11 +346,10 @@ $light_gray: #eee; margin-bottom: 50px; } - .toptitle { position: absolute; font-size: 45px; - color: #FFFFFF; + color: #ffffff; margin: 120px auto 0.5333rem 180px; text-align: center; font-weight: bold; diff --git a/src/views/register.vue b/src/views/register.vue index a34d3a8..6171533 100644 --- a/src/views/register.vue +++ b/src/views/register.vue @@ -632,7 +632,6 @@ export default { nickName: [ { required: true, message: "请输入用户名称", trigger: "blur" }, { min: 2, max: 8, message: "用户名称在2-8个字符", trigger: "blur" }, - { validator: validateName, trigger: "blur" }, ], password: [ { required: true, message: "请输入密码", trigger: "blur" }, diff --git a/src/views/system/dept/authDept.vue b/src/views/system/dept/authDept.vue index 6012907..02be875 100644 --- a/src/views/system/dept/authDept.vue +++ b/src/views/system/dept/authDept.vue @@ -40,12 +40,7 @@ 重置 - 重置 - - 查询 - + 查询