|
|
|
@ -1,6 +1,7 @@ |
|
|
|
// lib/modules/home/views/home_page.dart |
|
|
|
// lib/modules/home/views/home_page.dart |
|
|
|
|
|
|
|
|
|
|
|
import 'package:flutter/material.dart'; |
|
|
|
import 'package:flutter/material.dart'; |
|
|
|
|
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
|
import 'package:get/get.dart'; |
|
|
|
import 'package:get/get.dart'; |
|
|
|
import 'package:problem_check_system/app/core/pages/widgets/custom_app_bar.dart'; |
|
|
|
import 'package:problem_check_system/app/core/pages/widgets/custom_app_bar.dart'; |
|
|
|
import 'package:problem_check_system/app/features/home/controllers/home_controller.dart'; |
|
|
|
import 'package:problem_check_system/app/features/home/controllers/home_controller.dart'; |
|
|
|
@ -12,7 +13,19 @@ class HomePage extends GetView<HomeController> { |
|
|
|
Widget build(BuildContext context) { |
|
|
|
Widget build(BuildContext context) { |
|
|
|
return Scaffold( |
|
|
|
return Scaffold( |
|
|
|
appBar: CustomAppBar(titleName: "首页"), |
|
|
|
appBar: CustomAppBar(titleName: "首页"), |
|
|
|
body: Center(child: Text("首页")), |
|
|
|
body: Center( |
|
|
|
|
|
|
|
child: Column( |
|
|
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
|
|
|
|
children: [ |
|
|
|
|
|
|
|
Icon(Icons.home, size: 60.sp, color: Colors.grey[400]), |
|
|
|
|
|
|
|
SizedBox(height: 16.h), |
|
|
|
|
|
|
|
Text( |
|
|
|
|
|
|
|
'暂无内容', |
|
|
|
|
|
|
|
style: TextStyle(fontSize: 16.sp, color: Colors.grey[600]), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |