|
|
|
@ -70,9 +70,9 @@ class _PointMallBanner extends State<PointMallBanner> {
|
|
|
|
|
/// contentType 跳转类型(0:不跳转,1:积分商品,2:活动,3:文章) |
|
|
|
|
bannerClick(BannerData bannerData) async { |
|
|
|
|
switch (bannerData.contentType) { |
|
|
|
|
case 0: |
|
|
|
|
Navigator.of(context).pushNamed('/router/qr_share'); |
|
|
|
|
break; |
|
|
|
|
// case 0: |
|
|
|
|
// Navigator.of(context).pushNamed('/router/qr_share'); |
|
|
|
|
// break; |
|
|
|
|
case 1: |
|
|
|
|
Navigator.of(context).pushNamed('/router/integral_store_page', |
|
|
|
|
arguments: {"goodsId": bannerData.content}); |
|
|
|
|