From fa4e00ce8c20b4d0279f90148e6efbbacd9344a8 Mon Sep 17 00:00:00 2001
From: Mplan
Date: Sat, 30 May 2026 00:09:12 +0800
Subject: [PATCH] feat: unify header and auth action buttons
---
src/components/layout/AppHeader.vue | 10 +++++-----
src/views/auth/AuthConfirmView.vue | 4 ++--
src/views/auth/LoginView.vue | 1 +
src/views/auth/RegisterView.vue | 3 ++-
src/views/auth/ResetPasswordView.vue | 3 ++-
5 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/src/components/layout/AppHeader.vue b/src/components/layout/AppHeader.vue
index 0cd7453..26069af 100644
--- a/src/components/layout/AppHeader.vue
+++ b/src/components/layout/AppHeader.vue
@@ -209,7 +209,7 @@ async function handleLogout() {
class="no-underline"
>
上传
@@ -226,8 +226,8 @@ async function handleLogout() {
>
- 去登录
+ 去登录
@@ -152,6 +152,7 @@ async function handleRegister() {
type="primary"
block
size="large"
+ class="oc-primary-button oc-primary-button--sky"
:loading="loading"
>
{{ loading ? '注册中...' : '注册' }}
diff --git a/src/views/auth/ResetPasswordView.vue b/src/views/auth/ResetPasswordView.vue
index 82aa2ea..5b47139 100644
--- a/src/views/auth/ResetPasswordView.vue
+++ b/src/views/auth/ResetPasswordView.vue
@@ -80,7 +80,7 @@ async function handleResetPassword() {
description="现在可以使用新密码登录。"
>
- 返回登录
+ 返回登录
@@ -123,6 +123,7 @@ async function handleResetPassword() {
type="primary"
block
size="large"
+ class="oc-primary-button oc-primary-button--teal"
:disabled="!canSubmit"
:loading="loading"
>