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

Loading…
Cancel
Save