Browse Source

视频缩放适配更改

ff_new
w-R 3 years ago
parent
commit
3fdf560a42
  1. 5
      lib/community/community_view/class_details.dart

5
lib/community/community_view/class_details.dart

@ -440,7 +440,7 @@ class _ClassDetails extends State<ClassDetails> with WidgetsBindingObserver {
) )
: Container( : Container(
width: width, width: width,
height: height, height:width / 7 * 5,
)), )),
if (isShowImg) if (isShowImg)
GestureDetector( GestureDetector(
@ -482,6 +482,7 @@ class _ClassDetails extends State<ClassDetails> with WidgetsBindingObserver {
Widget anthology() { Widget anthology() {
return Container( return Container(
color: Colors.white, color: Colors.white,
height: 148.h,
margin: EdgeInsets.only(bottom: 16), margin: EdgeInsets.only(bottom: 16),
padding: EdgeInsets.all(16), padding: EdgeInsets.all(16),
child: Column( child: Column(
@ -551,6 +552,8 @@ class _ClassDetails extends State<ClassDetails> with WidgetsBindingObserver {
), ),
child: Text( child: Text(
chapterList?.name ?? chapterList.name ?? "", chapterList?.name ?? chapterList.name ?? "",
overflow: TextOverflow.ellipsis,
maxLines: 2,
style: TextStyle( style: TextStyle(
fontSize: 12.sp, fontSize: 12.sp,
fontWeight: MyFontWeight.regular, fontWeight: MyFontWeight.regular,

Loading…
Cancel
Save