|
|
@ -397,11 +397,11 @@ class ContentCard extends StatelessWidget { |
|
|
return Padding( |
|
|
return Padding( |
|
|
padding: EdgeInsets.only(left: index > 0 ? 12 : 0), |
|
|
padding: EdgeInsets.only(left: index > 0 ? 12 : 0), |
|
|
child: SizedBox( |
|
|
child: SizedBox( |
|
|
width: imageWidth, |
|
|
|
|
|
height: imageHeight, |
|
|
|
|
|
|
|
|
width: 70, |
|
|
|
|
|
height: 70, |
|
|
child: _NetworkImageWidget( |
|
|
child: _NetworkImageWidget( |
|
|
imageUrl: imageUrl, |
|
|
imageUrl: imageUrl, |
|
|
aspectRatio: 1.05, |
|
|
|
|
|
|
|
|
aspectRatio: 1, |
|
|
), |
|
|
), |
|
|
), |
|
|
), |
|
|
); |
|
|
); |
|
|
@ -410,9 +410,12 @@ class ContentCard extends StatelessWidget { |
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return Column( |
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
|
|
children: contentWidgets, |
|
|
|
|
|
|
|
|
return Container( |
|
|
|
|
|
padding: EdgeInsets.only(left: 70), |
|
|
|
|
|
child: Column( |
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
|
|
children: contentWidgets, |
|
|
|
|
|
), |
|
|
); |
|
|
); |
|
|
}, |
|
|
}, |
|
|
); |
|
|
); |
|
|
@ -432,8 +435,8 @@ class _NetworkImageWidget extends StatelessWidget { |
|
|
Widget build(BuildContext context) { |
|
|
Widget build(BuildContext context) { |
|
|
return CachedNetworkImage( |
|
|
return CachedNetworkImage( |
|
|
imageUrl: '$imageUrl?x-oss-process=image/format,webp/resize,w_320', |
|
|
imageUrl: '$imageUrl?x-oss-process=image/format,webp/resize,w_320', |
|
|
width: double.infinity, |
|
|
|
|
|
height: double.infinity, |
|
|
|
|
|
|
|
|
width: 80, |
|
|
|
|
|
height: 80, |
|
|
imageBuilder: (context, imageProvider) => Container( |
|
|
imageBuilder: (context, imageProvider) => Container( |
|
|
decoration: BoxDecoration( |
|
|
decoration: BoxDecoration( |
|
|
borderRadius: BorderRadius.circular(8), |
|
|
borderRadius: BorderRadius.circular(8), |
|
|
|