fix(mining-app): 修复 BatchMiningRecordsPage 类名冲突

将页面类重命名为 BatchMiningRecordsListPage 以避免与实体类冲突

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-22 01:42:46 -08:00
parent d5dc248a16
commit b6d723333c
2 changed files with 5 additions and 5 deletions

View File

@ -122,7 +122,7 @@ final appRouterProvider = Provider<GoRouter>((ref) {
),
GoRoute(
path: Routes.batchMiningRecords,
builder: (context, state) => const BatchMiningRecordsPage(),
builder: (context, state) => const BatchMiningRecordsListPage(),
),
GoRoute(
path: Routes.plantingRecords,

View File

@ -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<BatchMiningRecordsPage> createState() => _BatchMiningRecordsPageState();
ConsumerState<BatchMiningRecordsListPage> createState() => _BatchMiningRecordsListPageState();
}
class _BatchMiningRecordsPageState extends ConsumerState<BatchMiningRecordsPage> {
class _BatchMiningRecordsListPageState extends ConsumerState<BatchMiningRecordsListPage> {
static const Color _orange = Color(0xFFFF6B00);
static const Color _green = Color(0xFF22C55E);
static const Color _grayText = Color(0xFF6B7280);