Browse Source

safety

master
fmk 3 years ago
parent
commit
433e9e255c
  1. 2
      lib/home/founder_story_page.dart
  2. 2
      lib/home/home_page.dart
  3. 4
      lib/home/points_mall_page.dart

2
lib/home/founder_story_page.dart

@ -42,7 +42,7 @@ class _FounderStoryPage extends State<FounderStoryPage> {
color: Colors.black.withAlpha(12), color: Colors.black.withAlpha(12),
offset: Offset(0, 2), offset: Offset(0, 2),
blurRadius: 14, blurRadius: 14,
spreadRadius: 0) spreadRadius: 0,)
], ],
), ),
child: Column( child: Column(

2
lib/home/home_page.dart

@ -109,7 +109,7 @@ class _HomePage extends State<HomePage> with AutomaticKeepAliveClientMixin {
BaseData<PageInfo<Article>> article = await apiService.queryArticle({ BaseData<PageInfo<Article>> article = await apiService.queryArticle({
"pageNum": 1, "pageNum": 1,
"pageSize": 10, "pageSize": 2,
"searchKey": "", "searchKey": "",
"state": 1, "state": 1,
"type": 2 "type": 2

4
lib/home/points_mall_page.dart

@ -590,7 +590,7 @@ class _PointsMallPage extends State<PointsMallPage>
), ),
viewportFraction: 0.7, viewportFraction: 0.7,
scale: 0.7, scale: 0.7,
loop: false, physics: BouncingScrollPhysics(),
itemBuilder: (context, position) { itemBuilder: (context, position) {
return InkWell( return InkWell(
onTap: () { onTap: () {
@ -613,7 +613,7 @@ class _PointsMallPage extends State<PointsMallPage>
), ),
); );
}, },
itemCount: bannerData != null ? bannerData.length : 1, itemCount: (bannerData != null && bannerData.length > 0) ? bannerData.length : 1,
), ),
), ),
); );

Loading…
Cancel
Save