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 3b0c5bf1..85b1c410 100644 --- a/lib/union/union_list.dart +++ b/lib/union/union_list.dart @@ -79,6 +79,7 @@ class _UnionList extends State with AutomaticKeepAliveClientMixin { _refreshController.refreshCompleted(); } else { _refreshController.refreshFailed(); + SmartDialog.showToast(baseData.msg, alignment: Alignment.center); } EasyLoading.dismiss(); setState(() {});