Showing
1 changed file
with
347 additions
and
75 deletions
| @@ -148,7 +148,7 @@ class DialogUtil { | @@ -148,7 +148,7 @@ class DialogUtil { | ||
| 148 | fontSize: font(14)))), | 148 | fontSize: font(14)))), |
| 149 | VEmptyView(60), | 149 | VEmptyView(60), |
| 150 | Container( | 150 | Container( |
| 151 | - child: Text('点击“前往续费” ', | 151 | + child: Text('联系客服 400 000 9690', |
| 152 | style: TextStyle( | 152 | style: TextStyle( |
| 153 | color: | 153 | color: |
| 154 | MyColours.color_515151, | 154 | MyColours.color_515151, |
| @@ -163,7 +163,7 @@ class DialogUtil { | @@ -163,7 +163,7 @@ class DialogUtil { | ||
| 163 | VEmptyView(20), | 163 | VEmptyView(20), |
| 164 | Container( | 164 | Container( |
| 165 | child: Text( | 165 | child: Text( |
| 166 | - '联系您的服务商续费 ${names.toString()}功能;', | 166 | + '联系您的服务商续费 ${names.join('、')} 功能;', |
| 167 | style: TextStyle( | 167 | style: TextStyle( |
| 168 | color: | 168 | color: |
| 169 | MyColours.color_515151, | 169 | MyColours.color_515151, |
| @@ -185,7 +185,7 @@ class DialogUtil { | @@ -185,7 +185,7 @@ class DialogUtil { | ||
| 185 | Expanded( | 185 | Expanded( |
| 186 | flex: 1, | 186 | flex: 1, |
| 187 | child: RoundButton( | 187 | child: RoundButton( |
| 188 | - text: '取消', | 188 | + text: '确定', |
| 189 | // width: (ScreenUtil().screenWidth - | 189 | // width: (ScreenUtil().screenWidth - |
| 190 | // ScreenUtil().setWidth(62) * 2) / | 190 | // ScreenUtil().setWidth(62) * 2) / |
| 191 | // 2, | 191 | // 2, |
| @@ -199,47 +199,195 @@ class DialogUtil { | @@ -199,47 +199,195 @@ class DialogUtil { | ||
| 199 | onPressed: () { | 199 | onPressed: () { |
| 200 | Navigator.pop(context); | 200 | Navigator.pop(context); |
| 201 | })), | 201 | })), |
| 202 | - MyDivider(ScreenUtil().setWidth(2), | ||
| 203 | - ScreenUtil().setWidth(112), | ||
| 204 | - color: MyColours.color_DBDBDB), | ||
| 205 | - Expanded( | ||
| 206 | - flex: 1, | ||
| 207 | - child: RoundButton( | ||
| 208 | - text: '前往续费', | ||
| 209 | - // width: (ScreenUtil().screenWidth - | ||
| 210 | - // ScreenUtil().setWidth(62) * 2) / | ||
| 211 | - // 2, | ||
| 212 | - height: ScreenUtil().setWidth(112), | ||
| 213 | - // radius: ScreenUtil().setWidth(10), | ||
| 214 | - gradientStart: Colors.transparent, | ||
| 215 | - gradientEnd: Colors.transparent, | ||
| 216 | - textColor: MyColours.color_438E93, | ||
| 217 | - fontSize: 32, | ||
| 218 | - onPressed: () { | ||
| 219 | - // Navigator.pop(context, { | ||
| 220 | - // 'spec': menuSunModel.specCan != null && | ||
| 221 | - // menuSunModel.specCan.length > 0 | ||
| 222 | - // ? menuSunModel.specCan | ||
| 223 | - // .where((element) => | ||
| 224 | - // element.select == true) | ||
| 225 | - // .toList() | ||
| 226 | - // : [], | ||
| 227 | - // 'practice': menuSunModel.practice != | ||
| 228 | - // null && | ||
| 229 | - // menuSunModel.practice.length > 0 | ||
| 230 | - // ? menuSunModel.practice | ||
| 231 | - // .where((element) => | ||
| 232 | - // element.select == true) | ||
| 233 | - // .toList() | ||
| 234 | - // : [] | ||
| 235 | - // }); | ||
| 236 | - })), | ||
| 237 | ], | 202 | ], |
| 238 | ), | 203 | ), |
| 239 | ]))); | 204 | ]))); |
| 240 | })); | 205 | })); |
| 241 | }); | 206 | }); |
| 242 | } | 207 | } |
| 208 | + // static showSellerVersionEdateDialog(BuildContext context, | ||
| 209 | + // List<SellerVersionSunModel> showData, CustomCallBack callback, | ||
| 210 | + // {GestureTapCallback onTapLeft, GestureTapCallback onTapRight}) { | ||
| 211 | + // List<String> names = showData.map((e) => e.vname).toList(); | ||
| 212 | + // ScrollController controller = ScrollController(); | ||
| 213 | + // return showDialog( | ||
| 214 | + // context: context, | ||
| 215 | + // barrierDismissible: true, | ||
| 216 | + // builder: (BuildContext context) { | ||
| 217 | + // return Center(child: StatefulBuilder(builder: (context, state) { | ||
| 218 | + // // locationState = state; | ||
| 219 | + // return Material( | ||
| 220 | + // color: Colors.transparent, | ||
| 221 | + // child: Container( | ||
| 222 | + // // width: double.infinity, | ||
| 223 | + // margin: EdgeInsets.symmetric(horizontal: w(37)), | ||
| 224 | + // decoration: BoxDecoration( | ||
| 225 | + // color: MyColours.color_ffffff, | ||
| 226 | + // borderRadius: BorderRadius.circular( | ||
| 227 | + // r(8), | ||
| 228 | + // )), | ||
| 229 | + // child: Column( | ||
| 230 | + // mainAxisSize: MainAxisSize.min, | ||
| 231 | + // crossAxisAlignment: CrossAxisAlignment.start, | ||
| 232 | + // children: <Widget>[ | ||
| 233 | + // Padding( | ||
| 234 | + // padding: EdgeInsets.symmetric(horizontal: w(10)), | ||
| 235 | + // child: SingleChildScrollView( | ||
| 236 | + // controller: controller, | ||
| 237 | + // child: Column( | ||
| 238 | + // crossAxisAlignment: | ||
| 239 | + // CrossAxisAlignment.start, | ||
| 240 | + // children: [ | ||
| 241 | + // VEmptyView(50), | ||
| 242 | + // Container( | ||
| 243 | + // child: Text('您的:', | ||
| 244 | + // style: TextStyle( | ||
| 245 | + // color: | ||
| 246 | + // MyColours.color_515151, | ||
| 247 | + // fontSize: font(14)))), | ||
| 248 | + // VEmptyView(50), | ||
| 249 | + // ListView.builder( | ||
| 250 | + // itemCount: showData.length, | ||
| 251 | + // shrinkWrap: true, | ||
| 252 | + // controller: controller, | ||
| 253 | + // itemBuilder: (BuildContext context, | ||
| 254 | + // int index) { | ||
| 255 | + // SellerVersionSunModel | ||
| 256 | + // sellerVersionSunModel = | ||
| 257 | + // showData[index]; | ||
| 258 | + // return Column( | ||
| 259 | + // crossAxisAlignment: | ||
| 260 | + // CrossAxisAlignment.start, | ||
| 261 | + // children: [ | ||
| 262 | + // Container( | ||
| 263 | + // child: Text( | ||
| 264 | + // '${sellerVersionSunModel.vname}功能即将在:', | ||
| 265 | + // style: TextStyle( | ||
| 266 | + // color: MyColours | ||
| 267 | + // .color_515151, | ||
| 268 | + // fontSize: | ||
| 269 | + // font(14)))), | ||
| 270 | + // VEmptyView(5), | ||
| 271 | + // Container( | ||
| 272 | + // child: Text( | ||
| 273 | + // DateUtil.formatDate( | ||
| 274 | + // DateTime.fromMillisecondsSinceEpoch( | ||
| 275 | + // int.parse(sellerVersionSunModel | ||
| 276 | + // .edate) * | ||
| 277 | + // 1000), | ||
| 278 | + // format: | ||
| 279 | + // DateFormats | ||
| 280 | + // .full, | ||
| 281 | + // ), | ||
| 282 | + // style: TextStyle( | ||
| 283 | + // color: MyColours | ||
| 284 | + // .color_E34D59, | ||
| 285 | + // fontSize: | ||
| 286 | + // font(14)))), | ||
| 287 | + // VEmptyView(20), | ||
| 288 | + // ]); | ||
| 289 | + // }), | ||
| 290 | + // VEmptyView(20), | ||
| 291 | + // Container( | ||
| 292 | + // child: Text('您可以:', | ||
| 293 | + // style: TextStyle( | ||
| 294 | + // color: | ||
| 295 | + // MyColours.color_515151, | ||
| 296 | + // fontSize: font(14)))), | ||
| 297 | + // VEmptyView(60), | ||
| 298 | + // Container( | ||
| 299 | + // child: Text('点击“前往续费” ', | ||
| 300 | + // style: TextStyle( | ||
| 301 | + // color: | ||
| 302 | + // MyColours.color_515151, | ||
| 303 | + // fontSize: font(14)))), | ||
| 304 | + // VEmptyView(20), | ||
| 305 | + // Container( | ||
| 306 | + // child: Text('或者', | ||
| 307 | + // style: TextStyle( | ||
| 308 | + // color: | ||
| 309 | + // MyColours.color_515151, | ||
| 310 | + // fontSize: font(14)))), | ||
| 311 | + // VEmptyView(20), | ||
| 312 | + // Container( | ||
| 313 | + // child: Text( | ||
| 314 | + // '联系您的服务商续费 ${names.join('、')} 功能;', | ||
| 315 | + // style: TextStyle( | ||
| 316 | + // color: | ||
| 317 | + // MyColours.color_515151, | ||
| 318 | + // fontSize: font(14)))), | ||
| 319 | + // VEmptyView(60), | ||
| 320 | + // Container( | ||
| 321 | + // child: Text('*您可以通过开通超能版获得全部软件功能。', | ||
| 322 | + // style: TextStyle( | ||
| 323 | + // color: | ||
| 324 | + // MyColours.color_515151, | ||
| 325 | + // fontSize: font(14)))), | ||
| 326 | + // VEmptyView(50), | ||
| 327 | + // ]))), | ||
| 328 | + // MyDivider(double.infinity, w(1), | ||
| 329 | + // color: MyColours.color_DBDBDB), | ||
| 330 | + // Row( | ||
| 331 | + // // mainAxisAlignment: MainAxisAlignment.spaceBetween, | ||
| 332 | + // children: [ | ||
| 333 | + // Expanded( | ||
| 334 | + // flex: 1, | ||
| 335 | + // child: RoundButton( | ||
| 336 | + // text: '取消', | ||
| 337 | + // // width: (ScreenUtil().screenWidth - | ||
| 338 | + // // ScreenUtil().setWidth(62) * 2) / | ||
| 339 | + // // 2, | ||
| 340 | + // height: ScreenUtil().setWidth(112), | ||
| 341 | + // // radius: ScreenUtil().setWidth(10), | ||
| 342 | + // gradientStart: Colors.transparent, | ||
| 343 | + // gradientEnd: Colors.transparent, | ||
| 344 | + // textColor: MyColours.color_515151, | ||
| 345 | + // isBold: false, | ||
| 346 | + // fontSize: 32, | ||
| 347 | + // onPressed: () { | ||
| 348 | + // Navigator.pop(context); | ||
| 349 | + // })), | ||
| 350 | + // MyDivider(ScreenUtil().setWidth(2), | ||
| 351 | + // ScreenUtil().setWidth(112), | ||
| 352 | + // color: MyColours.color_DBDBDB), | ||
| 353 | + // Expanded( | ||
| 354 | + // flex: 1, | ||
| 355 | + // child: RoundButton( | ||
| 356 | + // text: '前往续费', | ||
| 357 | + // // width: (ScreenUtil().screenWidth - | ||
| 358 | + // // ScreenUtil().setWidth(62) * 2) / | ||
| 359 | + // // 2, | ||
| 360 | + // height: ScreenUtil().setWidth(112), | ||
| 361 | + // // radius: ScreenUtil().setWidth(10), | ||
| 362 | + // gradientStart: Colors.transparent, | ||
| 363 | + // gradientEnd: Colors.transparent, | ||
| 364 | + // textColor: MyColours.color_438E93, | ||
| 365 | + // fontSize: 32, | ||
| 366 | + // onPressed: () { | ||
| 367 | + // // Navigator.pop(context, { | ||
| 368 | + // // 'spec': menuSunModel.specCan != null && | ||
| 369 | + // // menuSunModel.specCan.length > 0 | ||
| 370 | + // // ? menuSunModel.specCan | ||
| 371 | + // // .where((element) => | ||
| 372 | + // // element.select == true) | ||
| 373 | + // // .toList() | ||
| 374 | + // // : [], | ||
| 375 | + // // 'practice': menuSunModel.practice != | ||
| 376 | + // // null && | ||
| 377 | + // // menuSunModel.practice.length > 0 | ||
| 378 | + // // ? menuSunModel.practice | ||
| 379 | + // // .where((element) => | ||
| 380 | + // // element.select == true) | ||
| 381 | + // // .toList() | ||
| 382 | + // // : [] | ||
| 383 | + // // }); | ||
| 384 | + // })), | ||
| 385 | + // ], | ||
| 386 | + // ), | ||
| 387 | + // ]))); | ||
| 388 | + // })); | ||
| 389 | + // }); | ||
| 390 | + // } | ||
| 243 | 391 | ||
| 244 | //功能购买提醒 | 392 | //功能购买提醒 |
| 245 | static showSellerVersionBuyDialog( | 393 | static showSellerVersionBuyDialog( |
| @@ -278,7 +426,8 @@ class DialogUtil { | @@ -278,7 +426,8 @@ class DialogUtil { | ||
| 278 | fontSize: font(14)))), | 426 | fontSize: font(14)))), |
| 279 | VEmptyView(60), | 427 | VEmptyView(60), |
| 280 | Container( | 428 | Container( |
| 281 | - child: Text('点击“前往开通”开通${title}功能;', | 429 | + child: Text( |
| 430 | + '联系客服 400 000 9690 开通${title}功能;', | ||
| 282 | style: TextStyle( | 431 | style: TextStyle( |
| 283 | color: MyColours.color_515151, | 432 | color: MyColours.color_515151, |
| 284 | fontSize: font(14)))), | 433 | fontSize: font(14)))), |
| @@ -310,7 +459,7 @@ class DialogUtil { | @@ -310,7 +459,7 @@ class DialogUtil { | ||
| 310 | Expanded( | 459 | Expanded( |
| 311 | flex: 1, | 460 | flex: 1, |
| 312 | child: RoundButton( | 461 | child: RoundButton( |
| 313 | - text: '取消', | 462 | + text: '确定', |
| 314 | // width: (ScreenUtil().screenWidth - | 463 | // width: (ScreenUtil().screenWidth - |
| 315 | // ScreenUtil().setWidth(62) * 2) / | 464 | // ScreenUtil().setWidth(62) * 2) / |
| 316 | // 2, | 465 | // 2, |
| @@ -324,47 +473,170 @@ class DialogUtil { | @@ -324,47 +473,170 @@ class DialogUtil { | ||
| 324 | onPressed: () { | 473 | onPressed: () { |
| 325 | Navigator.pop(context); | 474 | Navigator.pop(context); |
| 326 | })), | 475 | })), |
| 327 | - MyDivider(ScreenUtil().setWidth(2), | ||
| 328 | - ScreenUtil().setWidth(112), | ||
| 329 | - color: MyColours.color_DBDBDB), | ||
| 330 | - Expanded( | ||
| 331 | - flex: 1, | ||
| 332 | - child: RoundButton( | ||
| 333 | - text: '前往开通', | ||
| 334 | - // width: (ScreenUtil().screenWidth - | ||
| 335 | - // ScreenUtil().setWidth(62) * 2) / | ||
| 336 | - // 2, | ||
| 337 | - height: ScreenUtil().setWidth(112), | ||
| 338 | - // radius: ScreenUtil().setWidth(10), | ||
| 339 | - gradientStart: Colors.transparent, | ||
| 340 | - gradientEnd: Colors.transparent, | ||
| 341 | - textColor: MyColours.color_438E93, | ||
| 342 | - fontSize: 32, | ||
| 343 | - onPressed: () { | ||
| 344 | - // Navigator.pop(context, { | ||
| 345 | - // 'spec': menuSunModel.specCan != null && | ||
| 346 | - // menuSunModel.specCan.length > 0 | ||
| 347 | - // ? menuSunModel.specCan | ||
| 348 | - // .where((element) => | ||
| 349 | - // element.select == true) | ||
| 350 | - // .toList() | ||
| 351 | - // : [], | ||
| 352 | - // 'practice': menuSunModel.practice != | ||
| 353 | - // null && | ||
| 354 | - // menuSunModel.practice.length > 0 | ||
| 355 | - // ? menuSunModel.practice | ||
| 356 | - // .where((element) => | ||
| 357 | - // element.select == true) | ||
| 358 | - // .toList() | ||
| 359 | - // : [] | ||
| 360 | - // }); | ||
| 361 | - })), | 476 | + // MyDivider(ScreenUtil().setWidth(2), |
| 477 | + // ScreenUtil().setWidth(112), | ||
| 478 | + // color: MyColours.color_DBDBDB), | ||
| 479 | + // Expanded( | ||
| 480 | + // flex: 1, | ||
| 481 | + // child: RoundButton( | ||
| 482 | + // text: '前往开通', | ||
| 483 | + // // width: (ScreenUtil().screenWidth - | ||
| 484 | + // // ScreenUtil().setWidth(62) * 2) / | ||
| 485 | + // // 2, | ||
| 486 | + // height: ScreenUtil().setWidth(112), | ||
| 487 | + // // radius: ScreenUtil().setWidth(10), | ||
| 488 | + // gradientStart: Colors.transparent, | ||
| 489 | + // gradientEnd: Colors.transparent, | ||
| 490 | + // textColor: MyColours.color_438E93, | ||
| 491 | + // fontSize: 32, | ||
| 492 | + // onPressed: () { | ||
| 493 | + // // Navigator.pop(context, { | ||
| 494 | + // // 'spec': menuSunModel.specCan != null && | ||
| 495 | + // // menuSunModel.specCan.length > 0 | ||
| 496 | + // // ? menuSunModel.specCan | ||
| 497 | + // // .where((element) => | ||
| 498 | + // // element.select == true) | ||
| 499 | + // // .toList() | ||
| 500 | + // // : [], | ||
| 501 | + // // 'practice': menuSunModel.practice != | ||
| 502 | + // // null && | ||
| 503 | + // // menuSunModel.practice.length > 0 | ||
| 504 | + // // ? menuSunModel.practice | ||
| 505 | + // // .where((element) => | ||
| 506 | + // // element.select == true) | ||
| 507 | + // // .toList() | ||
| 508 | + // // : [] | ||
| 509 | + // // }); | ||
| 510 | + // })), | ||
| 362 | ], | 511 | ], |
| 363 | ), | 512 | ), |
| 364 | ]))); | 513 | ]))); |
| 365 | })); | 514 | })); |
| 366 | }); | 515 | }); |
| 367 | } | 516 | } |
| 517 | + // static showSellerVersionBuyDialog( | ||
| 518 | + // BuildContext context, String title, CustomCallBack callback, | ||
| 519 | + // {GestureTapCallback onTapLeft, GestureTapCallback onTapRight}) { | ||
| 520 | + // return showDialog( | ||
| 521 | + // context: context, | ||
| 522 | + // barrierDismissible: true, | ||
| 523 | + // builder: (BuildContext context) { | ||
| 524 | + // return Center(child: StatefulBuilder(builder: (context, state) { | ||
| 525 | + // // locationState = state; | ||
| 526 | + // return Material( | ||
| 527 | + // color: Colors.transparent, | ||
| 528 | + // child: Container( | ||
| 529 | + // width: double.infinity, | ||
| 530 | + // margin: EdgeInsets.symmetric(horizontal: w(37)), | ||
| 531 | + // decoration: BoxDecoration( | ||
| 532 | + // color: MyColours.color_ffffff, | ||
| 533 | + // borderRadius: BorderRadius.circular( | ||
| 534 | + // r(8), | ||
| 535 | + // )), | ||
| 536 | + // child: Column( | ||
| 537 | + // mainAxisSize: MainAxisSize.min, | ||
| 538 | + // crossAxisAlignment: CrossAxisAlignment.start, | ||
| 539 | + // children: <Widget>[ | ||
| 540 | + // Padding( | ||
| 541 | + // padding: EdgeInsets.symmetric(horizontal: w(10)), | ||
| 542 | + // child: Column( | ||
| 543 | + // crossAxisAlignment: CrossAxisAlignment.start, | ||
| 544 | + // children: [ | ||
| 545 | + // VEmptyView(50), | ||
| 546 | + // Container( | ||
| 547 | + // child: Text('您的店铺尚未开通${title}功能,您可以:', | ||
| 548 | + // style: TextStyle( | ||
| 549 | + // color: MyColours.color_515151, | ||
| 550 | + // fontSize: font(14)))), | ||
| 551 | + // VEmptyView(60), | ||
| 552 | + // Container( | ||
| 553 | + // child: Text('点击“前往开通”开通${title}功能;', | ||
| 554 | + // style: TextStyle( | ||
| 555 | + // color: MyColours.color_515151, | ||
| 556 | + // fontSize: font(14)))), | ||
| 557 | + // VEmptyView(20), | ||
| 558 | + // Container( | ||
| 559 | + // child: Text('或者', | ||
| 560 | + // style: TextStyle( | ||
| 561 | + // color: MyColours.color_515151, | ||
| 562 | + // fontSize: font(14)))), | ||
| 563 | + // VEmptyView(20), | ||
| 564 | + // Container( | ||
| 565 | + // child: Text('联系您的服务商开通${title}功能;', | ||
| 566 | + // style: TextStyle( | ||
| 567 | + // color: MyColours.color_515151, | ||
| 568 | + // fontSize: font(14)))), | ||
| 569 | + // VEmptyView(60), | ||
| 570 | + // Container( | ||
| 571 | + // child: Text('*您可以通过开通超能版获得全部软件功能。', | ||
| 572 | + // style: TextStyle( | ||
| 573 | + // color: MyColours.color_515151, | ||
| 574 | + // fontSize: font(14)))), | ||
| 575 | + // VEmptyView(50), | ||
| 576 | + // ])), | ||
| 577 | + // MyDivider(double.infinity, w(1), | ||
| 578 | + // color: MyColours.color_DBDBDB), | ||
| 579 | + // Row( | ||
| 580 | + // // mainAxisAlignment: MainAxisAlignment.spaceBetween, | ||
| 581 | + // children: [ | ||
| 582 | + // Expanded( | ||
| 583 | + // flex: 1, | ||
| 584 | + // child: RoundButton( | ||
| 585 | + // text: '取消', | ||
| 586 | + // // width: (ScreenUtil().screenWidth - | ||
| 587 | + // // ScreenUtil().setWidth(62) * 2) / | ||
| 588 | + // // 2, | ||
| 589 | + // height: ScreenUtil().setWidth(112), | ||
| 590 | + // // radius: ScreenUtil().setWidth(10), | ||
| 591 | + // gradientStart: Colors.transparent, | ||
| 592 | + // gradientEnd: Colors.transparent, | ||
| 593 | + // textColor: MyColours.color_515151, | ||
| 594 | + // isBold: false, | ||
| 595 | + // fontSize: 32, | ||
| 596 | + // onPressed: () { | ||
| 597 | + // Navigator.pop(context); | ||
| 598 | + // })), | ||
| 599 | + // MyDivider(ScreenUtil().setWidth(2), | ||
| 600 | + // ScreenUtil().setWidth(112), | ||
| 601 | + // color: MyColours.color_DBDBDB), | ||
| 602 | + // Expanded( | ||
| 603 | + // flex: 1, | ||
| 604 | + // child: RoundButton( | ||
| 605 | + // text: '前往开通', | ||
| 606 | + // // width: (ScreenUtil().screenWidth - | ||
| 607 | + // // ScreenUtil().setWidth(62) * 2) / | ||
| 608 | + // // 2, | ||
| 609 | + // height: ScreenUtil().setWidth(112), | ||
| 610 | + // // radius: ScreenUtil().setWidth(10), | ||
| 611 | + // gradientStart: Colors.transparent, | ||
| 612 | + // gradientEnd: Colors.transparent, | ||
| 613 | + // textColor: MyColours.color_438E93, | ||
| 614 | + // fontSize: 32, | ||
| 615 | + // onPressed: () { | ||
| 616 | + // // Navigator.pop(context, { | ||
| 617 | + // // 'spec': menuSunModel.specCan != null && | ||
| 618 | + // // menuSunModel.specCan.length > 0 | ||
| 619 | + // // ? menuSunModel.specCan | ||
| 620 | + // // .where((element) => | ||
| 621 | + // // element.select == true) | ||
| 622 | + // // .toList() | ||
| 623 | + // // : [], | ||
| 624 | + // // 'practice': menuSunModel.practice != | ||
| 625 | + // // null && | ||
| 626 | + // // menuSunModel.practice.length > 0 | ||
| 627 | + // // ? menuSunModel.practice | ||
| 628 | + // // .where((element) => | ||
| 629 | + // // element.select == true) | ||
| 630 | + // // .toList() | ||
| 631 | + // // : [] | ||
| 632 | + // // }); | ||
| 633 | + // })), | ||
| 634 | + // ], | ||
| 635 | + // ), | ||
| 636 | + // ]))); | ||
| 637 | + // })); | ||
| 638 | + // }); | ||
| 639 | + // } | ||
| 368 | 640 | ||
| 369 | //回复评论弹框 | 641 | //回复评论弹框 |
| 370 | static openCommentsModalBottomSheet(context, TextEditingController controller, | 642 | static openCommentsModalBottomSheet(context, TextEditingController controller, |
-
Please register or login to post a comment