fix(mining-app): 修复 BatchMiningRecordsPage 类名冲突
将页面类重命名为 BatchMiningRecordsListPage 以避免与实体类冲突 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
d5dc248a16
commit
b6d723333c
|
|
@ -122,7 +122,7 @@ final appRouterProvider = Provider<GoRouter>((ref) {
|
||||||
),
|
),
|
||||||
GoRoute(
|
GoRoute(
|
||||||
path: Routes.batchMiningRecords,
|
path: Routes.batchMiningRecords,
|
||||||
builder: (context, state) => const BatchMiningRecordsPage(),
|
builder: (context, state) => const BatchMiningRecordsListPage(),
|
||||||
),
|
),
|
||||||
GoRoute(
|
GoRoute(
|
||||||
path: Routes.plantingRecords,
|
path: Routes.plantingRecords,
|
||||||
|
|
|
||||||
|
|
@ -8,14 +8,14 @@ import '../../providers/user_providers.dart';
|
||||||
import '../../providers/mining_providers.dart';
|
import '../../providers/mining_providers.dart';
|
||||||
|
|
||||||
/// 补发记录页面
|
/// 补发记录页面
|
||||||
class BatchMiningRecordsPage extends ConsumerStatefulWidget {
|
class BatchMiningRecordsListPage extends ConsumerStatefulWidget {
|
||||||
const BatchMiningRecordsPage({super.key});
|
const BatchMiningRecordsListPage({super.key});
|
||||||
|
|
||||||
@override
|
@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 _orange = Color(0xFFFF6B00);
|
||||||
static const Color _green = Color(0xFF22C55E);
|
static const Color _green = Color(0xFF22C55E);
|
||||||
static const Color _grayText = Color(0xFF6B7280);
|
static const Color _grayText = Color(0xFF6B7280);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue