|
|
|
@ -590,7 +590,7 @@ class _PointsMallPage extends State<PointsMallPage>
|
|
|
|
|
), |
|
|
|
|
viewportFraction: 0.7, |
|
|
|
|
scale: 0.7, |
|
|
|
|
loop: false, |
|
|
|
|
physics: BouncingScrollPhysics(), |
|
|
|
|
itemBuilder: (context, position) { |
|
|
|
|
return InkWell( |
|
|
|
|
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, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
|