|
@@ -2,9 +2,11 @@ import 'package:carousel_slider/carousel_slider.dart';
|
2
|
2
|
import 'package:farmer_client/pages/TabBar/widgets/home/widgets/headers.dart';
|
3
|
3
|
import 'package:flutter/material.dart';
|
4
|
4
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
5
|
|
-
|
|
5
|
+import 'package:get/get.dart';
|
|
6
|
+import 'package:get/get_core/src/get_main.dart';
|
6
|
7
|
import '../../../../widgets/CarsCard.dart';
|
7
|
8
|
import '../../../../widgets/Search.dart';
|
|
9
|
+import '../../../MoreCars/index.dart';
|
8
|
10
|
|
9
|
11
|
|
10
|
12
|
class HomePage extends StatefulWidget {
|
|
@@ -84,6 +86,7 @@ class _HomePageState extends State<HomePage> {
|
84
|
86
|
child: Text('更多 >>'),
|
85
|
87
|
onTap: (){
|
86
|
88
|
print('点我进入农机搜索/更多页');
|
|
89
|
+ Get.to(MoreCars());
|
87
|
90
|
},
|
88
|
91
|
),
|
89
|
92
|
)
|