From 0336f21f839d166523ae0663f1f75ea528488062 Mon Sep 17 00:00:00 2001 From: ranranran12123 Date: Fri, 16 May 2025 14:40:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=94=A8=E6=88=B7=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=92=8C=E7=99=BB=E5=BD=95=E7=9A=84=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- greenOrange/src/view/Login.vue | 30 +- greenOrange/src/view/userList/userList.vue | 378 +++++++++++++++++++-- 2 files changed, 363 insertions(+), 45 deletions(-) diff --git a/greenOrange/src/view/Login.vue b/greenOrange/src/view/Login.vue index 6d0250d..57671d9 100644 --- a/greenOrange/src/view/Login.vue +++ b/greenOrange/src/view/Login.vue @@ -10,15 +10,13 @@
-
- - - - -
+ + + +
- +
{{ error }}
@@ -45,7 +43,7 @@ const store = userStore() const router = useRouter() //默认闭眼图标 -let showPassword = ref(false) +// let showPassword = ref(false) //登录密码隐藏 let type = ref('password') const userAccount = ref(''); @@ -137,14 +135,14 @@ const onLogin = async () => { /** * 显示密码 */ -const showPwd = () => { - showPassword.value = !showPassword.value - if (showPassword.value == false) { - type.value = 'password' - } else { - type.value = 'text' - } -} +// const showPwd = () => { +// showPassword.value = !showPassword.value +// if (showPassword.value == false) { +// type.value = 'password' +// } else { +// type.value = 'text' +// } +// } \ No newline at end of file