You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import 'package:get/get.dart';
|
|
|
|
import 'package:problem_check_system/modules/home/bindings/home_binding.dart';
|
|
|
|
import 'package:problem_check_system/modules/home/views/home_page.dart';
|
|
|
|
import 'package:problem_check_system/modules/auth/bindings/login_binding.dart';
|
|
|
|
import 'package:problem_check_system/modules/auth/views/login_page.dart';
|
|
|
|
import 'package:problem_check_system/modules/my/bingdings/change_password_binding.dart';
|
|
|
|
import 'package:problem_check_system/modules/my/views/change_password.dart';
|
|
|
|
import 'package:problem_check_system/modules/problem/views/problem_upload_page.dart';
|
|
|
|
|
|
|
|
import 'app_routes.dart';
|
|
|
|
|
|
|
|
abstract class AppPages {
|
|
|
|
// 所有路由的 GetPage 列表
|
|
|
|
static final routes = <GetPage>[
|
|
|
|
GetPage(
|
|
|
|
name: AppRoutes.home,
|
|
|
|
page: () => const HomePage(),
|
|
|
|
binding: HomeBinding(),
|
|
|
|
),
|
|
|
|
// 登录页
|
|
|
|
GetPage(
|
|
|
|
name: AppRoutes.login,
|
|
|
|
page: () => const LoginPage(),
|
|
|
|
binding: LoginBinding(),
|
|
|
|
),
|
|
|
|
GetPage(
|
|
|
|
name: AppRoutes.changePassword,
|
|
|
|
page: () => const ChangePasswordPage(),
|
|
|
|
binding: ChangePasswordBinding(),
|
|
|
|
),
|
|
|
|
GetPage(
|
|
|
|
name: AppRoutes.problemUpload,
|
|
|
|
page: () => const ProblemUploadPage(),
|
|
|
|
),
|
|
|
|
];
|
|
|
|
}
|