hmxc
张萌 4 years ago
parent fe4f94e209
commit 4e5e6ed267

@ -7,7 +7,6 @@ import 'widget/goods_app_bar.dart';
import 'widget/product_swiper.dart'; import 'widget/product_swiper.dart';
import 'widget/product_content.dart'; import 'widget/product_content.dart';
import 'widget/product_service.dart'; import 'widget/product_service.dart';
import 'widget/product_specs.dart';
import 'widget/product_evaluate.dart'; import 'widget/product_evaluate.dart';
import 'widget/product_detail.dart'; import 'widget/product_detail.dart';
import 'widget/goods_details_bottom_bar.dart'; import 'widget/goods_details_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/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:provider/provider.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( return Row(
children: [ children: [
model.allPrice != 0 model.allPrice != 0
@ -94,7 +98,7 @@ class MarketCartBottomBar extends StatelessWidget {
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ children: [
_selectAll(model), _selectAll(model),
_settlement(model), _settlement(model,context,)
], ],
), ),
); );

@ -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_page.dart';
import 'package:akuCommunity/pages/address_page/address_edit_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'; import 'package:akuCommunity/pages/fitup_manage/fitup_manage_page.dart';
@ -348,8 +347,6 @@ final Map<PageName, PageBuilder> pageRoutes = {
PageBuilder(builder: (bundle) => AddressPage()), PageBuilder(builder: (bundle) => AddressPage()),
PageName.address_edit_page: PageName.address_edit_page:
PageBuilder(builder: (bundle) => AddressEditPage(bundle: bundle)), PageBuilder(builder: (bundle) => AddressEditPage(bundle: bundle)),
PageName.one_alarm_page:
PageBuilder(builder: (bundle) => OneAlarmPage()),
PageName.fitup_manage_page: PageName.fitup_manage_page:
PageBuilder(builder: (bundle) => FitupManagePage()), PageBuilder(builder: (bundle) => FitupManagePage()),
PageName.setting_page: PageName.setting_page:

Loading…
Cancel
Save