From 6150798a2125e392ea05d8f23e4bcae14c3b8572 Mon Sep 17 00:00:00 2001 From: wurong <953969641@qq.com> Date: Thu, 28 Sep 2023 15:19:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=97=E9=93=BA=E5=88=97=E8=A1=A8=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=AF=B7=E6=B1=82=E5=A4=B1=E8=B4=A5=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=EF=BC=9B=20=E7=A6=8F=E5=88=A9=E4=B8=AD=E5=BF=83=E9=A2=86?= =?UTF-8?q?=E5=88=B8=E6=9D=BF=E5=9D=97=EF=BC=8C=E9=AB=98=E5=BA=A6=E6=A0=B9?= =?UTF-8?q?=E6=8D=AE=E6=95=B0=E6=8D=AE=E6=9B=B4=E6=94=B9=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/home/welfare_page.dart | 4 ++-- lib/union/union_list.dart | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/home/welfare_page.dart b/lib/home/welfare_page.dart index a6cb8fdf..ed9e2525 100644 --- a/lib/home/welfare_page.dart +++ b/lib/home/welfare_page.dart @@ -278,8 +278,8 @@ class _WelfarePage extends State { text: S.of(context).haimeiyouyouhuiquankeyilingqu, fontSize: 16.sp, ) - : AspectRatio( - aspectRatio: 1.10, + : Container( + height:coupon[0].length >= 3 ? 350.h:250.h, child: Swiper( onIndexChanged: (it) { swiperIndex = it; diff --git a/lib/union/union_list.dart b/lib/union/union_list.dart index 173bc4ef..140d3439 100644 --- a/lib/union/union_list.dart +++ b/lib/union/union_list.dart @@ -82,6 +82,7 @@ class _UnionList extends State with AutomaticKeepAliveClientMixin { _refreshController.refreshCompleted(); } else { _refreshController.refreshFailed(); + SmartDialog.showToast(baseData.msg, alignment: Alignment.center); } EasyLoading.dismiss(); setState(() {});