This commit is contained in:
2026-02-12 21:53:26 +08:00
parent 77db20dc38
commit b96d895809
339 changed files with 46655 additions and 46657 deletions
@@ -1,5 +1,5 @@
import 'dart:ui';
class AppColors {
static const Color primaryColor = Color(0xFF4FDBFF); // 微信绿
import 'dart:ui';
class AppColors {
static const Color primaryColor = Color(0xFF4FDBFF); // 微信绿
}
+25 -25
View File
@@ -1,26 +1,26 @@
import 'package:app/features/auth/pages/login_page.dart';
import 'package:app/features/home/pages/index_page.dart';
import 'package:go_router/go_router.dart';
import '../../features/home/pages/main_page.dart';
final appRouter = GoRouter(
initialLocation: '/auth/login',
routes: [
GoRoute(path: '/auth/login', builder: (context, state) => const LoginPage()),
ShellRoute(
builder: (context, state, child) {
return MainPage(child: child);
},
routes: [
GoRoute(
path: '/',
builder: (context, state) => const IndexPage()
)
]
)
],
import 'package:app/features/auth/pages/login_page.dart';
import 'package:app/features/home/pages/index_page.dart';
import 'package:go_router/go_router.dart';
import '../../features/home/pages/main_page.dart';
final appRouter = GoRouter(
initialLocation: '/auth/login',
routes: [
GoRoute(path: '/auth/login', builder: (context, state) => const LoginPage()),
ShellRoute(
builder: (context, state, child) {
return MainPage(child: child);
},
routes: [
GoRoute(
path: '/',
builder: (context, state) => const IndexPage()
)
]
)
],
);