From 4e5e6ed2672c957fdbd2e60d1aaa52be112ee35c Mon Sep 17 00:00:00 2001 From: zhang <494089941@qq.com> Date: Tue, 27 Oct 2020 09:27:28 +0800 Subject: [PATCH] no message --- lib/pages/goods_details/goods_details_page.dart | 1 - .../market_cart_page/widget/market_cart_bottom_bar.dart | 8 ++++++-- lib/routers/page_routers.dart | 3 --- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/pages/goods_details/goods_details_page.dart b/lib/pages/goods_details/goods_details_page.dart index 78cc9157..7989aa53 100644 --- a/lib/pages/goods_details/goods_details_page.dart +++ b/lib/pages/goods_details/goods_details_page.dart @@ -7,7 +7,6 @@ import 'widget/goods_app_bar.dart'; import 'widget/product_swiper.dart'; import 'widget/product_content.dart'; import 'widget/product_service.dart'; -import 'widget/product_specs.dart'; import 'widget/product_evaluate.dart'; import 'widget/product_detail.dart'; import 'widget/goods_details_bottom_bar.dart'; diff --git a/lib/pages/market/market_cart_page/widget/market_cart_bottom_bar.dart b/lib/pages/market/market_cart_page/widget/market_cart_bottom_bar.dart index 848353ad..ec530d4b 100644 --- a/lib/pages/market/market_cart_page/widget/market_cart_bottom_bar.dart +++ b/lib/pages/market/market_cart_page/widget/market_cart_bottom_bar.dart @@ -1,3 +1,7 @@ + +import 'package:akuCommunity/pages/confirm_order_page/confirm_order_page.dart'; +import 'package:akuCommunity/routers/page_routers.dart'; +import 'package:ani_route/ani_route.dart'; import 'package:flutter/material.dart'; import 'package:flutter/cupertino.dart'; import 'package:provider/provider.dart'; @@ -40,7 +44,7 @@ class MarketCartBottomBar extends StatelessWidget { ); } - Widget _settlement(CartProvidde model) { + Widget _settlement(CartProvidde model,BuildContext context) { return Row( children: [ model.allPrice != 0 @@ -94,7 +98,7 @@ class MarketCartBottomBar extends StatelessWidget { mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ _selectAll(model), - _settlement(model), + _settlement(model,context,) ], ), ); diff --git a/lib/routers/page_routers.dart b/lib/routers/page_routers.dart index b36df771..be814f60 100644 --- a/lib/routers/page_routers.dart +++ b/lib/routers/page_routers.dart @@ -80,7 +80,6 @@ import 'package:akuCommunity/pages/market_class/market_class_page.dart'; import 'package:akuCommunity/pages/address_page/address_page.dart'; import 'package:akuCommunity/pages/address_page/address_edit_page.dart'; -import 'package:akuCommunity/pages/one_alarm/one_alarm_page.dart'; import 'package:akuCommunity/pages/fitup_manage/fitup_manage_page.dart'; @@ -348,8 +347,6 @@ final Map pageRoutes = { PageBuilder(builder: (bundle) => AddressPage()), PageName.address_edit_page: PageBuilder(builder: (bundle) => AddressEditPage(bundle: bundle)), - PageName.one_alarm_page: - PageBuilder(builder: (bundle) => OneAlarmPage()), PageName.fitup_manage_page: PageBuilder(builder: (bundle) => FitupManagePage()), PageName.setting_page: