From a7440a3c1eeb110e8bd95e38dffb89f18b561c3e Mon Sep 17 00:00:00 2001 From: w-R <953969641@qq.com> Date: Sat, 16 Oct 2021 11:55:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/home/home_view/featured_acticvity.dart | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/home/home_view/featured_acticvity.dart b/lib/home/home_view/featured_acticvity.dart index 057a0056..938bc807 100644 --- a/lib/home/home_view/featured_acticvity.dart +++ b/lib/home/home_view/featured_acticvity.dart @@ -32,7 +32,7 @@ class _FeaturedActivity extends State { Container( child: stackItem(18.sp), margin: EdgeInsets.symmetric(horizontal: 5.w), - width: (MediaQuery.of(context).size.width - 42) / 2, + width: (MediaQuery.of(context).size.width - 42) /2, height: 180.h, decoration: BoxDecoration( borderRadius: BorderRadius.circular(4), @@ -52,7 +52,7 @@ class _FeaturedActivity extends State { Container( child: stackItem(14.sp), margin: EdgeInsets.symmetric(horizontal: 5.w), - width: (MediaQuery.of(context).size.width - 42) / 2, + width: (MediaQuery.of(context).size.width - 42) /2, height: 170.h / 2, decoration: BoxDecoration( borderRadius: BorderRadius.circular(4), @@ -65,9 +65,7 @@ class _FeaturedActivity extends State { ), ), ), - SizedBox( - height: 10.h, - ), + Container( child: stackItem(14.sp), margin: EdgeInsets.symmetric(horizontal: 5.w),