From 41e668a94730fd965ec54ac9c323a41d8802ebd5 Mon Sep 17 00:00:00 2001 From: nuyue Date: Thu, 16 Jul 2026 12:44:42 +0800 Subject: [PATCH] fix: update register and forgot-password page logos to use project logo.png --- frontend/src/views/auth/ForgotPassword.vue | 13 +++---------- frontend/src/views/auth/Register.vue | 13 +++---------- 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/frontend/src/views/auth/ForgotPassword.vue b/frontend/src/views/auth/ForgotPassword.vue index 42e6cb5..4ebcd72 100644 --- a/frontend/src/views/auth/ForgotPassword.vue +++ b/frontend/src/views/auth/ForgotPassword.vue @@ -2,11 +2,7 @@
@@ -51,6 +47,7 @@ import { ref, reactive } from 'vue' import { useRouter } from 'vue-router' import { ElMessage } from 'element-plus' import { authApi } from '../../api' +import logoImg from '../../assets/logo.png' const router = useRouter() const emailFormRef = ref() @@ -133,12 +130,8 @@ async function handleResetPassword() { width: 48px; height: 48px; border-radius: 12px; - background: linear-gradient(135deg, #4e6ef2, #7c5cfc); - display: flex; - align-items: center; - justify-content: center; - color: #fff; margin-bottom: 16px; + object-fit: contain; } .auth-logo h2 { diff --git a/frontend/src/views/auth/Register.vue b/frontend/src/views/auth/Register.vue index 5a085f1..c319531 100644 --- a/frontend/src/views/auth/Register.vue +++ b/frontend/src/views/auth/Register.vue @@ -2,11 +2,7 @@
@@ -41,6 +37,7 @@ import { useRouter } from 'vue-router' import { ElMessage } from 'element-plus' import { useI18n } from 'vue-i18n' import { useUserStore } from '../../store/user' +import logoImg from '../../assets/logo.png' const router = useRouter() const { t } = useI18n() @@ -98,12 +95,8 @@ async function handleRegister() { width: 48px; height: 48px; border-radius: 12px; - background: linear-gradient(135deg, #4e6ef2, #7c5cfc); - display: flex; - align-items: center; - justify-content: center; - color: #fff; margin-bottom: 16px; + object-fit: contain; } .auth-logo h2 {