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

Loading…
Cancel
Save