优化使用说明和产品介绍样式

This commit is contained in:
mmc
2026-03-16 12:59:29 +08:00
parent 56cc73a295
commit 4d2afbd856
4 changed files with 1261 additions and 1321 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -2,8 +2,8 @@ import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:go_router/go_router.dart';
import 'package:maibu_satabot_v2/features/home/presentation/pages/dj_page.dart';
import 'package:maibu_satabot_v2/features/home/presentation/pages/home_page.dart';
import 'package:maibu_satabot_v2/features/home/presentation/pages/productDesc.dart';
import 'package:maibu_satabot_v2/features/home/presentation/pages/usage.dart';
import 'package:maibu_satabot_v2/features/home/presentation/pages/productDesc.dart';
import '../../../../core/di/injection.dart';
import '../../../../core/router/route_paths.dart';
@@ -27,8 +27,8 @@ class HomeRoutes {
),
GoRoute(path: RoutePaths.routePlan, builder: (context, state) => const RoutePlanPage()),
GoRoute(path: RoutePaths.djMap, builder: (context, state) => const DjPage()),
GoRoute(path: RoutePaths.productDesc, builder: (context, state) => const ManualPage()),
GoRoute(path: RoutePaths.usage, builder: (context, state) => const ProductPage()),
GoRoute(path: RoutePaths.productDesc, builder: (context, state) => const ProductPage()),
GoRoute(path: RoutePaths.usage, builder: (context, state) => const ManualPage()),
GoRoute(
path: RoutePaths.runningStatus,
// builder: (context, state) => const RunningStatusPage(),

View File

@@ -346,9 +346,10 @@ class _MachineDetailsPageState extends State<MachineDetailsPage> {
return InkWell(
onTap: () {
if (title == "使用说明") {
context.go(RoutePaths.productDesc);
} else {
context.go(RoutePaths.usage);
} else {
context.go(RoutePaths.productDesc);
//ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text('暂未开放$title功能')));
}
},