Browse Source

课程更改

zyh
w-R 3 years ago
parent
commit
c1adf43e70
  1. 2
      lib/community/community_view/class_list_view.dart
  2. 5
      lib/community/community_view/home_class.dart

2
lib/community/community_view/class_list_view.dart

@ -168,7 +168,7 @@ class _ClassListView extends State<ClassListView> {
Text( Text(
classList.subject, classList.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,

5
lib/community/community_view/home_class.dart

@ -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,

Loading…
Cancel
Save