From a17871f39f3ade361c5f14672b990a57ea31177e Mon Sep 17 00:00:00 2001 From: j10c Date: Tue, 12 Nov 2024 20:45:53 +0800 Subject: [PATCH 1/3] refactor(change-pwd): rewrite in hooks And merge bugfix PR from #148 --- src/pages/setting/changePassword/index.scss | 5 + src/pages/setting/changePassword/index.vue | 112 +++++++++----------- 2 files changed, 58 insertions(+), 59 deletions(-) diff --git a/src/pages/setting/changePassword/index.scss b/src/pages/setting/changePassword/index.scss index ccf364f4..1f6ab8d7 100644 --- a/src/pages/setting/changePassword/index.scss +++ b/src/pages/setting/changePassword/index.scss @@ -14,3 +14,8 @@ border-radius: 0.2rem; } } + +.warning-text { + color: var(--wjh-color-red-600); + font-size: 0.875rem; +} \ No newline at end of file diff --git a/src/pages/setting/changePassword/index.vue b/src/pages/setting/changePassword/index.vue index a477c800..dd44e624 100644 --- a/src/pages/setting/changePassword/index.vue +++ b/src/pages/setting/changePassword/index.vue @@ -6,20 +6,33 @@ 身份证号码 - + 学号 - + 新密码 - + 确认新密码 - + + + {{ warningText }} +