feat(ui): 更新品牌启动页与选集交互

This commit is contained in:
Zhou Weidong committed 2026-10-19 09:28:16 +08:00
1 parent 4778ce2c75
commit c1cb7d1c11
87 files changed
+919 -552

No files matched your search

@@ -35,9 +35,9 @@ class WatchRecordsPage extends StatelessWidget {
data: AppTheme.dark(),
child: Scaffold(
key: const Key('watch-records-page'),
backgroundColor: const Color(0xFF0B0C10),
backgroundColor: AppColors.ink,
appBar: AppBar(
backgroundColor: const Color(0xFF0B0C10),
backgroundColor: AppColors.ink,
foregroundColor: Colors.white,
title: Text(l10n.watchHistory),
),
@@ -359,26 +359,12 @@ class _FailureState extends StatelessWidget {
@override
Widget build(BuildContext context) {
final l10n = AppLocalizations.of(context)!;
return Center(
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 32),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
Text(
message,
textAlign: TextAlign.center,
style: const TextStyle(color: Colors.white70),
),
const SizedBox(height: 14),
FilledButton(
key: const Key('watch-records-retry'),
onPressed: () => unawaited(onRetry()),
child: Text(l10n.retry),
),
],
),
),
return EmptyState(
icon: Icons.cloud_off_rounded,
title: message,
actionLabel: l10n.retry,
actionKey: const Key('watch-records-retry'),
onAction: () => unawaited(onRetry()),
);
}
}