Commit 10f33e9566c7cacd931e371c1bb6cff6d64e6bbe
1 parent
8fb5f860
feat:阶段选择图片比例优化
Showing
1 changed file
with
1 additions
and
1 deletions
lib/pages/module/course_module_page.dart
| @@ -89,7 +89,7 @@ class _LessonPageView extends StatelessWidget { | @@ -89,7 +89,7 @@ class _LessonPageView extends StatelessWidget { | ||
| 89 | curve: Curves.ease); | 89 | curve: Curves.ease); |
| 90 | }, | 90 | }, |
| 91 | child: Container( | 91 | child: Container( |
| 92 | - height: bloc.currentPageIndex == index ? 32 : 20, | 92 | + height: bloc.currentPageIndex == index ? 32.h : 20.h, |
| 93 | decoration: BoxDecoration( | 93 | decoration: BoxDecoration( |
| 94 | // color: bloc.currentPageIndex == index | 94 | // color: bloc.currentPageIndex == index |
| 95 | // ? Colors.red | 95 | // ? Colors.red |