|
|
|
@ -257,7 +257,7 @@ class _CommunityDynamic extends State<CommunityDynamic> {
|
|
|
|
|
subjectInfo.images[0], |
|
|
|
|
fit: BoxFit.cover, |
|
|
|
|
width: MediaQuery.of(context).size.width / 2, |
|
|
|
|
height: MediaQuery.of(context).size.width / 2, |
|
|
|
|
height: MediaQuery.of(context).size.width /1, |
|
|
|
|
errorSrc: "assets/image/default_2_1.png", |
|
|
|
|
fadeSrc: "assets/image/default_2_1.png", |
|
|
|
|
), |
|
|
|
@ -279,7 +279,7 @@ class _CommunityDynamic extends State<CommunityDynamic> {
|
|
|
|
|
itemBuilder: (context, position) { |
|
|
|
|
return Container( |
|
|
|
|
child: MImage( |
|
|
|
|
subjectInfo.images[0], |
|
|
|
|
subjectInfo.images[position], |
|
|
|
|
fit: BoxFit.cover, |
|
|
|
|
aspectRatio: 1, |
|
|
|
|
errorSrc: "assets/image/default_2_1.png", |
|
|
|
@ -295,7 +295,7 @@ class _CommunityDynamic extends State<CommunityDynamic> {
|
|
|
|
|
subjectInfo.video != "") { |
|
|
|
|
widget = Container( |
|
|
|
|
width: MediaQuery.of(context).size.width - 32, |
|
|
|
|
height: MediaQuery.of(context).size.width / 2, |
|
|
|
|
height: MediaQuery.of(context).size.width /2, |
|
|
|
|
color: Colors.blue.withAlpha(123), |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|