feat(auth): 优化登录页布局与字段反馈

This commit is contained in:
Zhou Weidong committed 2026-10-19 10:33:33 +08:00
1 parent e44fbdf6f2
commit 8a96f341c8
12 files changed
+355 -119

No files matched your search

+3 -1
View File
@@ -19,12 +19,14 @@ class _AuthFormStatus {
required this.signUpMode,
required this.busy,
required this.errorMessage,
required this.fieldError,
required this.obscurePassword,
});
final bool signUpMode;
final bool busy;
final String? errorMessage;
final AuthFieldError? fieldError;
final bool obscurePassword;
}
@@ -100,7 +102,7 @@ class _AuthCard extends StatelessWidget {
),
const SizedBox(height: 6),
Text(
l10n.authSubtitle,
status.signUpMode ? l10n.authSignUpSubtitle : l10n.authSubtitle,
style: const TextStyle(
color: AppColors.muted,
fontSize: AppDimens.body,