feat(client/notices): 通知页真实化+铃铛红点接 provider+进页清读+三类型标签六语

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P9G7E3wmAYL9KeYCVZVsqu
This commit is contained in:
wangjia
2026-07-13 14:05:47 +08:00
parent 84b162e834
commit 78fd600522
30 changed files with 358 additions and 105 deletions
+2 -1
View File
@@ -9,6 +9,7 @@ import '../state/account_providers.dart';
import '../state/app_providers.dart';
import '../state/auth_provider.dart';
import '../state/navigation_provider.dart';
import '../state/notices_provider.dart';
import '../widgets/account_screens.dart';
import '../widgets/app_top_bar.dart';
import '../widgets/notification_bell.dart';
@@ -136,7 +137,7 @@ class AccountPage extends ConsumerWidget {
AppTopBar(
brand: t.brand,
trailing: NotificationBell(
hasUnread: true,
hasUnread: (ref.watch(noticesProvider).valueOrNull?.unreadCount ?? 0) > 0,
onTap: () => open(NavView.notifications, NotificationsScreen(t: t)),
),
),