From 53e9b23a40186efd149fd5c5350b5eced1f69920 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 25 八月 2026 17:54:26 +0800
Subject: [PATCH] feat(auth): 更新认证页面为农业数字化平台主题
---
src/packages/effects/common-ui/src/ui/authentication/login.vue | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/packages/effects/common-ui/src/ui/authentication/login.vue b/src/packages/effects/common-ui/src/ui/authentication/login.vue
index 7aec52a..0f414df 100644
--- a/src/packages/effects/common-ui/src/ui/authentication/login.vue
+++ b/src/packages/effects/common-ui/src/ui/authentication/login.vue
@@ -104,7 +104,7 @@
</script>
<template>
- <div @keydown.enter.prevent="handleSubmit">
+ <div class="authentication-login" @keydown.enter.prevent="handleSubmit">
<slot name="title">
<Title>
<slot name="title">
@@ -124,7 +124,7 @@
<div
v-if="showRememberMe || showForgetPassword"
- class="mb-7 flex items-center justify-between"
+ class="mb-6 flex items-center justify-between"
>
<div class="flex-center">
<VbenCheckbox
@@ -138,8 +138,11 @@
<span
v-if="showForgetPassword"
- class="vben-link text-sm font-normal"
+ class="vben-link cursor-pointer rounded-sm text-sm font-normal outline-none focus-visible:ring-2 focus-visible:ring-emerald-500/50"
+ role="link"
+ tabindex="0"
@click="handleGo(forgetPasswordPath)"
+ @keydown.enter.prevent="handleGo(forgetPasswordPath)"
>
{{ $t('authentication.forgetPassword') }}
</span>
@@ -150,7 +153,7 @@
}"
:loading="loading"
aria-label="login"
- class="h-11 w-full rounded-xl text-base font-semibold shadow-sm transition-shadow duration-200 hover:shadow-md focus-visible:ring-2 focus-visible:ring-primary/40"
+ class="h-12 w-full rounded-xl bg-emerald-600 text-base font-semibold tracking-[0.18em] text-white shadow-[0_10px_24px_rgba(5,150,105,0.22)] transition-[background-color,box-shadow] duration-200 hover:bg-emerald-700 hover:shadow-[0_12px_28px_rgba(5,150,105,0.3)] focus-visible:ring-2 focus-visible:ring-emerald-500/50 disabled:cursor-not-allowed disabled:opacity-70"
@click="handleSubmit"
>
{{ submitButtonText || $t('common.login') }}
--
Gitblit v1.9.3