From 10f33e9566c7cacd931e371c1bb6cff6d64e6bbe Mon Sep 17 00:00:00 2001 From: wuqifeng <540416539@qq.com> Date: Mon, 5 Aug 2024 15:04:06 +0800 Subject: [PATCH] feat:阶段选择图片比例优化 --- lib/pages/module/course_module_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pages/module/course_module_page.dart b/lib/pages/module/course_module_page.dart index 530950a..8181a8a 100644 --- a/lib/pages/module/course_module_page.dart +++ b/lib/pages/module/course_module_page.dart @@ -89,7 +89,7 @@ class _LessonPageView extends StatelessWidget { curve: Curves.ease); }, child: Container( - height: bloc.currentPageIndex == index ? 32 : 20, + height: bloc.currentPageIndex == index ? 32.h : 20.h, decoration: BoxDecoration( // color: bloc.currentPageIndex == index // ? Colors.red -- libgit2 0.22.2