|
|
@ -48,8 +48,6 @@ class _HomeClass extends State<HomeClass> { |
|
|
|
|
|
|
|
|
|
|
|
Widget collectItem(CollectClassList collectList) { |
|
|
|
Widget collectItem(CollectClassList collectList) { |
|
|
|
return Container( |
|
|
|
return Container( |
|
|
|
width: 168.w, |
|
|
|
|
|
|
|
// height: 250, |
|
|
|
|
|
|
|
margin: EdgeInsets.symmetric( |
|
|
|
margin: EdgeInsets.symmetric( |
|
|
|
horizontal: 6.w, |
|
|
|
horizontal: 6.w, |
|
|
|
vertical: 10.h, |
|
|
|
vertical: 10.h, |
|
|
@ -106,7 +104,6 @@ class _HomeClass extends State<HomeClass> { |
|
|
|
Widget classItem(CourseList collect) { |
|
|
|
Widget classItem(CourseList collect) { |
|
|
|
return Container( |
|
|
|
return Container( |
|
|
|
width: 168.w, |
|
|
|
width: 168.w, |
|
|
|
height: 195.h, |
|
|
|
|
|
|
|
decoration: BoxDecoration( |
|
|
|
decoration: BoxDecoration( |
|
|
|
borderRadius: BorderRadius.vertical( |
|
|
|
borderRadius: BorderRadius.vertical( |
|
|
|
bottom: Radius.circular(4), |
|
|
|
bottom: Radius.circular(4), |
|
|
@ -258,7 +255,7 @@ class _HomeClass extends State<HomeClass> { |
|
|
|
child: Text( |
|
|
|
child: Text( |
|
|
|
collect.subject, |
|
|
|
collect.subject, |
|
|
|
overflow: TextOverflow.ellipsis, |
|
|
|
overflow: TextOverflow.ellipsis, |
|
|
|
maxLines: 2, |
|
|
|
maxLines: 1, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 14.sp, |
|
|
|
fontSize: 14.sp, |
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|