From 190c5b39d4dad15612dc168d2b5d6d82713ef19f Mon Sep 17 00:00:00 2001 From: DelLevin-Home Date: Mon, 6 Jul 2026 16:56:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BB=9F=E8=AE=A1=E7=95=8C?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/explore/encounter_page.dart | 30 --------------------------- 1 file changed, 30 deletions(-) diff --git a/lib/pages/explore/encounter_page.dart b/lib/pages/explore/encounter_page.dart index 5bd18dd..a2039cb 100644 --- a/lib/pages/explore/encounter_page.dart +++ b/lib/pages/explore/encounter_page.dart @@ -108,17 +108,6 @@ class EncounterPage extends StatelessWidget { child: Column( mainAxisAlignment: MainAxisAlignment.end, children: [ - Divider(color: colors.outlineVariant, thickness: 0.5), - const SizedBox(height: 24), - Row( - mainAxisAlignment: MainAxisAlignment.spaceEvenly, - children: [ - _statItem(context, '${movies.length}', '影视', Icons.movie_outlined), - _statItem(context, '${books.length}', '书籍', Icons.menu_book_outlined), - _statItem(context, '${notes.length}', '笔记', Icons.note_outlined), - ], - ), - const SizedBox(height: 24), Divider(color: colors.outlineVariant, thickness: 0.5), const SizedBox(height: 24), Text( @@ -161,25 +150,6 @@ class EncounterPage extends StatelessWidget { return '$count'; } - Widget _statItem(BuildContext context, String value, String label, IconData icon) { - final colors = Theme.of(context).colorScheme; - return Column( - children: [ - Icon(icon, size: 20, color: colors.onSurface.withValues(alpha: 0.3)), - const SizedBox(height: 8), - Text( - value, - style: TextStyle(fontSize: 22, fontWeight: FontWeight.w700, color: colors.onSurface), - ), - const SizedBox(height: 4), - Text( - label, - style: TextStyle(fontSize: 11, color: colors.onSurface.withValues(alpha: 0.4)), - ), - ], - ); - } - Widget _recordItem(BuildContext context, String value, String label) { final colors = Theme.of(context).colorScheme; return Column(