Browse Source

safety

master
fmk 3 years ago
parent
commit
d79373de04
  1. 6
      lib/home/home_view/home_banner.dart
  2. 6
      lib/home/huixiang_view/huixiang_banner.dart
  3. 6
      lib/home/points_mall_view/points_mall_banner.dart

6
lib/home/home_view/home_banner.dart

@ -72,9 +72,9 @@ class _HomeBanner extends State<HomeBanner> {
/// contentType 0123
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});

6
lib/home/huixiang_view/huixiang_banner.dart

@ -63,9 +63,9 @@ class _HuiXiangBanner extends State<HuiXiangBanner> {
/// contentType 0123
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});

6
lib/home/points_mall_view/points_mall_banner.dart

@ -70,9 +70,9 @@ class _PointMallBanner extends State<PointMallBanner> {
/// contentType 0123
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});

Loading…
Cancel
Save