diff --git a/frontend/mining-app/lib/core/router/app_router.dart b/frontend/mining-app/lib/core/router/app_router.dart index 2333579c..1301e783 100644 --- a/frontend/mining-app/lib/core/router/app_router.dart +++ b/frontend/mining-app/lib/core/router/app_router.dart @@ -122,7 +122,7 @@ final appRouterProvider = Provider((ref) { ), GoRoute( path: Routes.batchMiningRecords, - builder: (context, state) => const BatchMiningRecordsPage(), + builder: (context, state) => const BatchMiningRecordsListPage(), ), GoRoute( path: Routes.plantingRecords, diff --git a/frontend/mining-app/lib/presentation/pages/profile/batch_mining_records_page.dart b/frontend/mining-app/lib/presentation/pages/profile/batch_mining_records_page.dart index 822c0b47..d7cd9556 100644 --- a/frontend/mining-app/lib/presentation/pages/profile/batch_mining_records_page.dart +++ b/frontend/mining-app/lib/presentation/pages/profile/batch_mining_records_page.dart @@ -8,14 +8,14 @@ import '../../providers/user_providers.dart'; import '../../providers/mining_providers.dart'; /// 补发记录页面 -class BatchMiningRecordsPage extends ConsumerStatefulWidget { - const BatchMiningRecordsPage({super.key}); +class BatchMiningRecordsListPage extends ConsumerStatefulWidget { + const BatchMiningRecordsListPage({super.key}); @override - ConsumerState createState() => _BatchMiningRecordsPageState(); + ConsumerState createState() => _BatchMiningRecordsListPageState(); } -class _BatchMiningRecordsPageState extends ConsumerState { +class _BatchMiningRecordsListPageState extends ConsumerState { static const Color _orange = Color(0xFFFF6B00); static const Color _green = Color(0xFF22C55E); static const Color _grayText = Color(0xFF6B7280);