|
@@ -293,7 +293,10 @@ class _MyCustomerPageState extends State<MyCustomerPage> { |
|
@@ -293,7 +293,10 @@ class _MyCustomerPageState extends State<MyCustomerPage> { |
|
293
|
shrinkWrap: true,
|
293
|
shrinkWrap: true,
|
|
294
|
cacheExtent: ScreenUtil().setWidth(0),
|
294
|
cacheExtent: ScreenUtil().setWidth(0),
|
|
295
|
itemCount: customerProvider.guestSunmodel.tips.task ==
|
295
|
itemCount: customerProvider.guestSunmodel.tips.task ==
|
|
296
|
- null
|
296
|
+ null ||
|
|
|
|
297
|
+ customerProvider
|
|
|
|
298
|
+ .guestSunmodel.tips.task.length ==
|
|
|
|
299
|
+ 0
|
|
297
|
? 0
|
300
|
? 0
|
|
298
|
: customerProvider.guestSunmodel.tips.task.length,
|
301
|
: customerProvider.guestSunmodel.tips.task.length,
|
|
299
|
itemBuilder: (BuildContext context, int index) {
|
302
|
itemBuilder: (BuildContext context, int index) {
|
|
@@ -410,7 +413,11 @@ class _MyCustomerPageState extends State<MyCustomerPage> { |
|
@@ -410,7 +413,11 @@ class _MyCustomerPageState extends State<MyCustomerPage> { |
|
410
|
shrinkWrap: true,
|
413
|
shrinkWrap: true,
|
|
411
|
cacheExtent: ScreenUtil().setWidth(0),
|
414
|
cacheExtent: ScreenUtil().setWidth(0),
|
|
412
|
itemCount:
|
415
|
itemCount:
|
|
413
|
- customerProvider.guestSunmodel.tips.recover == null
|
416
|
+ customerProvider.guestSunmodel.tips.recover ==
|
|
|
|
417
|
+ null ||
|
|
|
|
418
|
+ customerProvider.guestSunmodel.tips.recover
|
|
|
|
419
|
+ .length ==
|
|
|
|
420
|
+ 0
|
|
414
|
? 0
|
421
|
? 0
|
|
415
|
: 1,
|
422
|
: 1,
|
|
416
|
itemBuilder: (BuildContext context, int index) {
|
423
|
itemBuilder: (BuildContext context, int index) {
|
|
@@ -474,10 +481,13 @@ class _MyCustomerPageState extends State<MyCustomerPage> { |
|
@@ -474,10 +481,13 @@ class _MyCustomerPageState extends State<MyCustomerPage> { |
|
474
|
controller: _controller,
|
481
|
controller: _controller,
|
|
475
|
shrinkWrap: true,
|
482
|
shrinkWrap: true,
|
|
476
|
cacheExtent: ScreenUtil().setWidth(0),
|
483
|
cacheExtent: ScreenUtil().setWidth(0),
|
|
477
|
- itemCount:
|
|
|
|
478
|
- customerProvider.guestSunmodel.tips.awaken == null
|
|
|
|
479
|
- ? 0
|
|
|
|
480
|
- : 1,
|
484
|
+ itemCount: customerProvider.guestSunmodel.tips.awaken ==
|
|
|
|
485
|
+ null ||
|
|
|
|
486
|
+ customerProvider
|
|
|
|
487
|
+ .guestSunmodel.tips.awaken.length ==
|
|
|
|
488
|
+ 0
|
|
|
|
489
|
+ ? 0
|
|
|
|
490
|
+ : 1,
|
|
481
|
itemBuilder: (BuildContext context, int index) {
|
491
|
itemBuilder: (BuildContext context, int index) {
|
|
482
|
// locationState = state;
|
492
|
// locationState = state;
|
|
483
|
|
493
|
|