Commit 1ee103c3e5edb42a0b864f2c603e7eb8c11446b0

Authored by wdn127929
1 parent 23ffcc2c

会员充值优惠活动ok

@@ -14,16 +14,16 @@ if (flutterRoot == null) { @@ -14,16 +14,16 @@ if (flutterRoot == null) {
14 14
15 15
16 16
17 -def flutterVersionCode = "471" 17 +def flutterVersionCode = "472"
18 if (flutterVersionCode == null) { 18 if (flutterVersionCode == null) {
19 - flutterVersionCode = '471' 19 + flutterVersionCode = '472'
20 } 20 }
21 21
22 22
23 23
24 -def flutterVersionName = "4.7.1" 24 +def flutterVersionName = "4.7.2"
25 if (flutterVersionName == null) { 25 if (flutterVersionName == null) {
26 - flutterVersionName = '4.7.1' 26 + flutterVersionName = '4.7.2'
27 } 27 }
28 28
29 29
@@ -3,6 +3,7 @@ import 'package:flutter/material.dart'; @@ -3,6 +3,7 @@ import 'package:flutter/material.dart';
3 import 'package:flutter_picker/flutter_picker.dart'; 3 import 'package:flutter_picker/flutter_picker.dart';
4 import 'package:flutter_screenutil/flutter_screenutil.dart'; 4 import 'package:flutter_screenutil/flutter_screenutil.dart';
5 import 'package:fluttertoast/fluttertoast.dart'; 5 import 'package:fluttertoast/fluttertoast.dart';
  6 +import 'package:one_key/constant/state.dart';
6 import 'package:one_key/models/coupon_model.dart'; 7 import 'package:one_key/models/coupon_model.dart';
7 import 'package:one_key/provider/coupon_provider.dart'; 8 import 'package:one_key/provider/coupon_provider.dart';
8 import 'package:one_key/provider/user_model.dart'; 9 import 'package:one_key/provider/user_model.dart';
@@ -17,13 +18,17 @@ import 'package:one_key/widgets/system_app_bar.dart'; @@ -17,13 +18,17 @@ import 'package:one_key/widgets/system_app_bar.dart';
17 import 'package:one_key/widgets/v_empty_view.dart'; 18 import 'package:one_key/widgets/v_empty_view.dart';
18 import 'package:provider/provider.dart'; 19 import 'package:provider/provider.dart';
19 20
  21 +import '../../widgets/page_exception.dart';
  22 +
20 /** 23 /**
21 * 新建券 24 * 新建券
22 */ 25 */
23 26
24 class CouponDetailPage extends StatefulWidget { 27 class CouponDetailPage extends StatefulWidget {
25 final CouponSunModel couponSunModel; 28 final CouponSunModel couponSunModel;
26 - CouponDetailPage({Key key, this.couponSunModel}) : super(key: key); 29 + final String idstr;
  30 + CouponDetailPage({Key key, this.couponSunModel, this.idstr})
  31 + : super(key: key);
27 32
28 @override 33 @override
29 _CouponDetailPageState createState() => _CouponDetailPageState(); 34 _CouponDetailPageState createState() => _CouponDetailPageState();
@@ -33,14 +38,33 @@ class _CouponDetailPageState extends State<CouponDetailPage> { @@ -33,14 +38,33 @@ class _CouponDetailPageState extends State<CouponDetailPage> {
33 ScrollController controller = ScrollController(); 38 ScrollController controller = ScrollController();
34 final heightCell = ScreenUtil().setWidth(80); 39 final heightCell = ScreenUtil().setWidth(80);
35 CouponProvider couponProvider; 40 CouponProvider couponProvider;
  41 + PageState pageState = PageState.Loading;
36 42
37 @override 43 @override
38 void initState() { 44 void initState() {
39 super.initState(); 45 super.initState();
40 46
41 - if(widget.couponSunModel == null){  
42 - 47 + WidgetsBinding.instance.addPostFrameCallback((_) {
  48 + if (widget.idstr != null && widget.idstr != 'null') {
  49 + _getActivityById();
  50 + } else {
  51 + couponProvider.couponSunModel = widget.couponSunModel;
  52 + pageState = PageState.Success;
  53 + setState(() {});
  54 + }
  55 + });
  56 + }
  57 +
  58 + _getActivityById() async {
  59 + pageState = PageState.Loading;
  60 + bool success =
  61 + await couponProvider.getActivityById(context, {'id': widget.idstr});
  62 + if (success) {
  63 + pageState = PageState.Success;
  64 + } else {
  65 + pageState = PageState.ConnectivityError;
43 } 66 }
  67 + setState(() {});
44 } 68 }
45 69
46 ///时间选择 70 ///时间选择
@@ -123,121 +147,145 @@ class _CouponDetailPageState extends State<CouponDetailPage> { @@ -123,121 +147,145 @@ class _CouponDetailPageState extends State<CouponDetailPage> {
123 Widget build(BuildContext context) { 147 Widget build(BuildContext context) {
124 couponProvider = Provider.of<CouponProvider>(context, listen: true); 148 couponProvider = Provider.of<CouponProvider>(context, listen: true);
125 return Scaffold( 149 return Scaffold(
126 - backgroundColor: MyColours.color_ffffff,  
127 - appBar: SystemAppBar(  
128 - '优惠券详情',  
129 - onTap: () {  
130 - Navigator.pop(context);  
131 - },  
132 - ),  
133 - body: Column(children: [  
134 - Expanded(  
135 - child: SingleChildScrollView(  
136 - controller: controller,  
137 - physics: BouncingScrollPhysics(),  
138 - child: Padding(  
139 - padding: EdgeInsets.symmetric(  
140 - horizontal: ScreenUtil().setWidth(32)),  
141 - child: Column(  
142 - children: [  
143 - VEmptyView(56),  
144 - _item(  
145 - '券类型',  
146 - widget.couponSunModel.isType == '1'  
147 - ? widget.couponSunModel.isExamine == '1'  
148 - ? '店铺优惠券(核销券)'  
149 - : '店铺优惠券'  
150 - : '我的优惠券'),  
151 - Container(  
152 - height: ScreenUtil().setWidth(2),  
153 - color: MyColours.color_E7E7E7,  
154 - ),  
155 - VEmptyView(24),  
156 - _item('券名称', widget.couponSunModel.aname),  
157 - Container(  
158 - height: ScreenUtil().setWidth(2),  
159 - color: MyColours.color_E7E7E7,  
160 - ),  
161 - VEmptyView(24),  
162 - _item('券要求', widget.couponSunModel.desc),  
163 - Container(  
164 - height: ScreenUtil().setWidth(2),  
165 - color: MyColours.color_E7E7E7,  
166 - ),  
167 - VEmptyView(24),  
168 - _item(  
169 - '有效期从',  
170 - Utils.getDateStrFromJiekou(  
171 - widget.couponSunModel.stime)),  
172 - Container(  
173 - height: ScreenUtil().setWidth(2),  
174 - color: MyColours.color_E7E7E7,  
175 - ),  
176 - VEmptyView(24),  
177 - _item(  
178 - '有效期至',  
179 - Utils.getDateStrFromJiekou(  
180 - widget.couponSunModel.etime)),  
181 - widget.couponSunModel.isType == '1'  
182 - ? Column(  
183 - crossAxisAlignment: CrossAxisAlignment.start,  
184 - children: [  
185 - Container(  
186 - height: ScreenUtil().setWidth(2),  
187 - color: MyColours.color_E7E7E7,  
188 - ),  
189 - VEmptyView(24),  
190 - _item('创建人', widget.couponSunModel.uid),  
191 - ],  
192 - )  
193 - : SizedBox(),  
194 - widget.couponSunModel.isType == '1'  
195 - ? Column(  
196 - crossAxisAlignment: CrossAxisAlignment.start,  
197 - children: [  
198 - Container(  
199 - height: ScreenUtil().setWidth(2),  
200 - color: MyColours.color_E7E7E7,  
201 - ),  
202 - VEmptyView(24),  
203 - _select(  
204 - '谁可以发放',  
205 - '查看',  
206 - () async {  
207 - await NavigatorUtil.goCouponToPersonnalPage(  
208 - context, widget.couponSunModel.uidList,  
209 - onlyShow: true);  
210 - },  
211 - )  
212 - ],  
213 - )  
214 - : SizedBox(),  
215 - widget.couponSunModel.explain != null &&  
216 - widget.couponSunModel.explain != ''  
217 - ? Container( 150 + backgroundColor: MyColours.color_ffffff,
  151 + appBar: SystemAppBar(
  152 + '优惠券详情',
  153 + onTap: () {
  154 + Navigator.pop(context);
  155 + },
  156 + ),
  157 + body: Consumer<CouponProvider>(builder: (context, model, _) {
  158 + if (pageState != PageState.Success) {
  159 + return ExceptionPage(
  160 + pageState: pageState,
  161 + callback: () {
  162 + _getActivityById();
  163 + },
  164 + emptyMsg: "暂时没有数据哦,",
  165 + emptyImg: "empty_search",
  166 + showMsg: "加载中,请稍后...",
  167 + );
  168 + } else {
  169 + return Column(children: [
  170 + Expanded(
  171 + child: SingleChildScrollView(
  172 + controller: controller,
  173 + physics: BouncingScrollPhysics(),
  174 + child: Padding(
  175 + padding: EdgeInsets.symmetric(
  176 + horizontal: ScreenUtil().setWidth(32)),
  177 + child: Column(
  178 + children: [
  179 + VEmptyView(56),
  180 + _item(
  181 + '券类型',
  182 + couponProvider.couponSunModel.isType == '1'
  183 + ? couponProvider.couponSunModel.isExamine ==
  184 + '1'
  185 + ? '店铺优惠券(核销券)'
  186 + : '店铺优惠券'
  187 + : '我的优惠券'),
  188 + Container(
218 height: ScreenUtil().setWidth(2), 189 height: ScreenUtil().setWidth(2),
219 color: MyColours.color_E7E7E7, 190 color: MyColours.color_E7E7E7,
220 - )  
221 - : SizedBox(),  
222 - widget.couponSunModel.explain != null &&  
223 - widget.couponSunModel.explain != ''  
224 - ? VEmptyView(24)  
225 - : SizedBox(),  
226 - widget.couponSunModel.explain != null &&  
227 - widget.couponSunModel.explain != ''  
228 - ? _item('券说明', widget.couponSunModel.explain)  
229 - : SizedBox(),  
230 - Container(  
231 - height: ScreenUtil().setWidth(2),  
232 - color: MyColours.color_E7E7E7,  
233 - ),  
234 - VEmptyView(24),  
235 - _item('券状态',  
236 - widget.couponSunModel.status == '1' ? '发放中' : '停用')  
237 - ],  
238 - ))),  
239 - )  
240 - ]),  
241 - ); 191 + ),
  192 + VEmptyView(24),
  193 + _item('券名称', couponProvider.couponSunModel.aname),
  194 + Container(
  195 + height: ScreenUtil().setWidth(2),
  196 + color: MyColours.color_E7E7E7,
  197 + ),
  198 + VEmptyView(24),
  199 + _item('券要求', couponProvider.couponSunModel.desc),
  200 + Container(
  201 + height: ScreenUtil().setWidth(2),
  202 + color: MyColours.color_E7E7E7,
  203 + ),
  204 + VEmptyView(24),
  205 + _item(
  206 + '有效期从',
  207 + Utils.getDateStrFromJiekou(
  208 + couponProvider.couponSunModel.stime)),
  209 + Container(
  210 + height: ScreenUtil().setWidth(2),
  211 + color: MyColours.color_E7E7E7,
  212 + ),
  213 + VEmptyView(24),
  214 + _item(
  215 + '有效期至',
  216 + Utils.getDateStrFromJiekou(
  217 + couponProvider.couponSunModel.etime)),
  218 + couponProvider.couponSunModel.isType == '1'
  219 + ? Column(
  220 + crossAxisAlignment:
  221 + CrossAxisAlignment.start,
  222 + children: [
  223 + Container(
  224 + height: ScreenUtil().setWidth(2),
  225 + color: MyColours.color_E7E7E7,
  226 + ),
  227 + VEmptyView(24),
  228 + _item('创建人',
  229 + couponProvider.couponSunModel.uid),
  230 + ],
  231 + )
  232 + : SizedBox(),
  233 + couponProvider.couponSunModel.isType == '1'
  234 + ? Column(
  235 + crossAxisAlignment:
  236 + CrossAxisAlignment.start,
  237 + children: [
  238 + Container(
  239 + height: ScreenUtil().setWidth(2),
  240 + color: MyColours.color_E7E7E7,
  241 + ),
  242 + VEmptyView(24),
  243 + _select(
  244 + '谁可以发放',
  245 + '查看',
  246 + () async {
  247 + await NavigatorUtil
  248 + .goCouponToPersonnalPage(
  249 + context,
  250 + couponProvider
  251 + .couponSunModel.uidList,
  252 + onlyShow: true);
  253 + },
  254 + )
  255 + ],
  256 + )
  257 + : SizedBox(),
  258 + couponProvider.couponSunModel.explain != null &&
  259 + couponProvider.couponSunModel.explain != ''
  260 + ? Container(
  261 + height: ScreenUtil().setWidth(2),
  262 + color: MyColours.color_E7E7E7,
  263 + )
  264 + : SizedBox(),
  265 + couponProvider.couponSunModel.explain != null &&
  266 + couponProvider.couponSunModel.explain != ''
  267 + ? VEmptyView(24)
  268 + : SizedBox(),
  269 + couponProvider.couponSunModel.explain != null &&
  270 + couponProvider.couponSunModel.explain != ''
  271 + ? _item('券说明',
  272 + couponProvider.couponSunModel.explain)
  273 + : SizedBox(),
  274 + Container(
  275 + height: ScreenUtil().setWidth(2),
  276 + color: MyColours.color_E7E7E7,
  277 + ),
  278 + VEmptyView(24),
  279 + _item(
  280 + '券状态',
  281 + couponProvider.couponSunModel.status == '1'
  282 + ? '发放中'
  283 + : '停用')
  284 + ],
  285 + ))),
  286 + )
  287 + ]);
  288 + }
  289 + }));
242 } 290 }
243 } 291 }
@@ -315,8 +315,9 @@ class _RechargeDetailPageState extends State<RechargeDetailPage> { @@ -315,8 +315,9 @@ class _RechargeDetailPageState extends State<RechargeDetailPage> {
315 .map((e) { 315 .map((e) {
316 return InkWell( 316 return InkWell(
317 onTap: () { 317 onTap: () {
318 - // NavigatorUtil.goCouponDetailPage(  
319 - // conetxt); 318 + NavigatorUtil.goCouponDetailPage(
  319 + context, null,
  320 + idStr: e.id);
320 }, 321 },
321 child: Text( 322 child: Text(
322 e.aname, 323 e.aname,
@@ -371,13 +372,16 @@ class _RechargeDetailPageState extends State<RechargeDetailPage> { @@ -371,13 +372,16 @@ class _RechargeDetailPageState extends State<RechargeDetailPage> {
371 '1') 372 '1')
372 Align( 373 Align(
373 alignment: Alignment.centerRight, 374 alignment: Alignment.centerRight,
374 - child: Text(  
375 - marketingCenterProvider  
376 - .rechargeDetail.expDate.weekDateShow,  
377 - style: TextStyle(  
378 - color: MyColours.color_999999,  
379 - fontSize: ScreenUtil().setSp(32)),  
380 - )), 375 + child: Padding(
  376 + padding: EdgeInsets.only(right: w(16)),
  377 + child: Text(
  378 + marketingCenterProvider
  379 + .rechargeDetail.expDate.weekDateShow,
  380 + maxLines: 10,
  381 + style: TextStyle(
  382 + color: MyColours.color_999999,
  383 + fontSize: ScreenUtil().setSp(32)),
  384 + ))),
381 VEmptyView(24), 385 VEmptyView(24),
382 MyDivider( 386 MyDivider(
383 double.infinity, 387 double.infinity,
@@ -2,6 +2,7 @@ import 'dart:convert'; @@ -2,6 +2,7 @@ import 'dart:convert';
2 2
3 import 'package:common_utils/common_utils.dart'; 3 import 'package:common_utils/common_utils.dart';
4 import 'package:flutter/material.dart'; 4 import 'package:flutter/material.dart';
  5 +import 'package:flutter_keyboard_visibility/flutter_keyboard_visibility.dart';
5 import 'package:flutter_picker/Picker.dart'; 6 import 'package:flutter_picker/Picker.dart';
6 import 'package:flutter_screenutil/flutter_screenutil.dart'; 7 import 'package:flutter_screenutil/flutter_screenutil.dart';
7 import 'package:one_key/models/coupon_model.dart'; 8 import 'package:one_key/models/coupon_model.dart';
@@ -59,7 +60,7 @@ class _RechargeEditPageState extends State<RechargeEditPage> { @@ -59,7 +60,7 @@ class _RechargeEditPageState extends State<RechargeEditPage> {
59 List<FilterBtnModel> weekData = []; 60 List<FilterBtnModel> weekData = [];
60 61
61 String weekShow = '点击设置可用日期'; 62 String weekShow = '点击设置可用日期';
62 - bool canUse = false; 63 + bool canUse = true;
63 List<dynamic> coupons = []; 64 List<dynamic> coupons = [];
64 65
65 List<dynamic> selectIDs = []; 66 List<dynamic> selectIDs = [];
@@ -463,7 +464,8 @@ class _RechargeEditPageState extends State<RechargeEditPage> { @@ -463,7 +464,8 @@ class _RechargeEditPageState extends State<RechargeEditPage> {
463 Widget build(BuildContext context) { 464 Widget build(BuildContext context) {
464 marketingCenterProvider = 465 marketingCenterProvider =
465 Provider.of<MarketingCenterProvider>(context, listen: true); 466 Provider.of<MarketingCenterProvider>(context, listen: true);
466 - return Scaffold( 467 + return KeyboardDismissOnTap(
  468 + child: Scaffold(
467 key: scaffoldKey, 469 key: scaffoldKey,
468 backgroundColor: MyColours.color_ffffff, 470 backgroundColor: MyColours.color_ffffff,
469 appBar: SystemAppBar('充值优惠详情'), 471 appBar: SystemAppBar('充值优惠详情'),
@@ -710,6 +712,8 @@ class _RechargeEditPageState extends State<RechargeEditPage> { @@ -710,6 +712,8 @@ class _RechargeEditPageState extends State<RechargeEditPage> {
710 if (giveCouponsSwich) 712 if (giveCouponsSwich)
711 InkWell( 713 InkWell(
712 onTap: () async { 714 onTap: () async {
  715 + FocusScope.of(context)
  716 + .requestFocus(FocusNode());
713 Map object = await NavigatorUtil 717 Map object = await NavigatorUtil
714 .goRechargeSelectStoreCouponPage( 718 .goRechargeSelectStoreCouponPage(
715 context, selectIDs.join(',')); 719 context, selectIDs.join(','));
@@ -1094,6 +1098,6 @@ class _RechargeEditPageState extends State<RechargeEditPage> { @@ -1094,6 +1098,6 @@ class _RechargeEditPageState extends State<RechargeEditPage> {
1094 ) 1098 )
1095 ], 1099 ],
1096 ), 1100 ),
1097 - ); 1101 + ));
1098 } 1102 }
1099 } 1103 }
@@ -144,6 +144,12 @@ class _RechargeHomePageState extends State<RechargeHomePage> { @@ -144,6 +144,12 @@ class _RechargeHomePageState extends State<RechargeHomePage> {
144 setState(() { 144 setState(() {
145 marketingCenterProvider.rechargeList 145 marketingCenterProvider.rechargeList
146 .removeAt(index); 146 .removeAt(index);
  147 + if (marketingCenterProvider
  148 + .rechargeList.length ==
  149 + 0) {
  150 + model.pageStateRechargeHome =
  151 + PageState.Empty;
  152 + }
147 }); 153 });
148 } 154 }
149 }); 155 });
@@ -31,6 +31,7 @@ class CouponProvider with ChangeNotifier { @@ -31,6 +31,7 @@ class CouponProvider with ChangeNotifier {
31 List<CouponSunModel> couponList = []; //优惠券列表 31 List<CouponSunModel> couponList = []; //优惠券列表
32 List<CouponSunModel> couponListSelect = []; //优惠券选择列表 32 List<CouponSunModel> couponListSelect = []; //优惠券选择列表
33 int index = 0; //选中的优惠券index 33 int index = 0; //选中的优惠券index
  34 + CouponSunModel couponSunModel; //优惠券详情
34 35
35 CouponProvider() { 36 CouponProvider() {
36 // for (int i = 0; i < 20; i++) { 37 // for (int i = 0; i < 20; i++) {
@@ -621,6 +622,40 @@ class CouponProvider with ChangeNotifier { @@ -621,6 +622,40 @@ class CouponProvider with ChangeNotifier {
621 } 622 }
622 } 623 }
623 624
  625 + ///客户经理优惠券信息
  626 + Future<bool> getActivityById(BuildContext context, Map<String, String> params,
  627 + {isShowLoading = true}) async {
  628 + BaseResp<dynamic> baseResp = await DioUtil()
  629 + .request<dynamic>(context, Method.get, HttpUrl.get_activity_by_id,
  630 + data: params, showLoading: isShowLoading)
  631 + .catchError((error) {
  632 + print(error.toString());
  633 + if (error is MyError) {}
  634 +
  635 + return false;
  636 + });
  637 + if (baseResp.code == Constant.status_success) {
  638 + if (baseResp.data == null) {
  639 + return false;
  640 + } else {
  641 + List<CouponSunModel> coupon =
  642 + CouponModel.fromJson(baseResp.responseData).data;
  643 + if (coupon.length > 0) {
  644 + couponSunModel = coupon[0];
  645 +
  646 + return true;
  647 + }
  648 +
  649 + return false;
  650 + }
  651 + } else {
  652 + if (baseResp != null) {
  653 + Utils.showToast(baseResp.msg ?? "");
  654 + }
  655 + return false;
  656 + }
  657 + }
  658 +
624 ///预定安排微信发短信 659 ///预定安排微信发短信
625 Future<bool> sendSMSWxSendSms( 660 Future<bool> sendSMSWxSendSms(
626 BuildContext context, Map<String, String> params, 661 BuildContext context, Map<String, String> params,
@@ -215,4 +215,7 @@ class MarketingCenterProvider extends ChangeNotifier { @@ -215,4 +215,7 @@ class MarketingCenterProvider extends ChangeNotifier {
215 notifyListeners(); 215 notifyListeners();
216 return false; 216 return false;
217 } 217 }
  218 +
  219 +
  220 +
218 } 221 }
@@ -277,9 +277,9 @@ class NavigatorUtil { @@ -277,9 +277,9 @@ class NavigatorUtil {
277 /// 优惠券详情页 277 /// 优惠券详情页
278 static Future<dynamic> goCouponDetailPage( 278 static Future<dynamic> goCouponDetailPage(
279 BuildContext context, CouponSunModel couponSunModel, 279 BuildContext context, CouponSunModel couponSunModel,
280 - {replace = false}) { 280 + {replace = false,String idStr}) {
281 return _navigateTo(context, 281 return _navigateTo(context,
282 - "${Routes.coupon_detail}?couponSunModel=${FluroConvertUtils.object2string(couponSunModel)}", 282 + "${Routes.coupon_detail}?couponSunModel=${FluroConvertUtils.object2string(couponSunModel)}&idStr=$idStr",
283 replace: replace); 283 replace: replace);
284 } 284 }
285 285
  1 +
1 import 'dart:convert'; 2 import 'dart:convert';
2 3
3 import 'package:fluro/fluro.dart'; 4 import 'package:fluro/fluro.dart';
@@ -574,10 +575,14 @@ var handleCouponSelectPageHandler = new Handler( @@ -574,10 +575,14 @@ var handleCouponSelectPageHandler = new Handler(
574 ///优惠券详情页 575 ///优惠券详情页
575 var handleCouponDetailPageHandler = new Handler( 576 var handleCouponDetailPageHandler = new Handler(
576 handlerFunc: (BuildContext context, Map<String, List<Object>> params) { 577 handlerFunc: (BuildContext context, Map<String, List<Object>> params) {
577 - CouponSunModel couponSunModel = CouponSunModel.fromJson(json.decode(  
578 - FluroConvertUtils.fluroCnParamsDecode(params["couponSunModel"].first))); 578 + String idStr = params["idStr"].first;
  579 + CouponSunModel couponSunModel;
  580 + if (idStr == null || idStr == 'null') {
  581 + couponSunModel = CouponSunModel.fromJson(json.decode(
  582 + FluroConvertUtils.fluroCnParamsDecode(params["couponSunModel"].first)));
  583 + }
579 584
580 - return CouponDetailPage(couponSunModel: couponSunModel); 585 + return CouponDetailPage(couponSunModel: couponSunModel, idstr: idStr);
581 }); 586 });
582 587
583 ///个人资料页面 588 ///个人资料页面
@@ -2398,7 +2403,7 @@ var markingCouponSelectPageHandle = new Handler( @@ -2398,7 +2403,7 @@ var markingCouponSelectPageHandle = new Handler(
2398 // .decode(FluroConvertUtils.fluroCnParamsDecode(params["detail"].first))); 2403 // .decode(FluroConvertUtils.fluroCnParamsDecode(params["detail"].first)));
2399 return ChangeNotifierProvider<MarketingCenterProvider>( 2404 return ChangeNotifierProvider<MarketingCenterProvider>(
2400 create: (_) => MarketingCenterProvider(), 2405 create: (_) => MarketingCenterProvider(),
2401 - child: MarkingCouponSelectPage(selectid:idstr)); 2406 + child: MarkingCouponSelectPage(selectid: idstr));
2402 }); 2407 });
2403 2408
2404 //我的----营销中心-预订安排预览页 2409 //我的----营销中心-预订安排预览页