|
@@ -686,292 +686,292 @@ class _StoreCustomerHomeRightPageState |
|
@@ -686,292 +686,292 @@ class _StoreCustomerHomeRightPageState |
|
686
|
'${widget.customerProvider.guestSunmodel.drain.scale}'),
|
686
|
'${widget.customerProvider.guestSunmodel.drain.scale}'),
|
|
687
|
],
|
687
|
],
|
|
688
|
),
|
688
|
),
|
|
689
|
- ListView.builder(
|
|
|
|
690
|
- controller: _controller,
|
|
|
|
691
|
- shrinkWrap: true,
|
|
|
|
692
|
- cacheExtent: ScreenUtil().setWidth(0),
|
|
|
|
693
|
- itemCount: widget.customerProvider.guestSunmodel
|
|
|
|
694
|
- .tips.task ==
|
|
|
|
695
|
- null ||
|
|
|
|
696
|
- widget.customerProvider.guestSunmodel.tips
|
|
|
|
697
|
- .task.length ==
|
|
|
|
698
|
- 0
|
|
|
|
699
|
- ? 0
|
|
|
|
700
|
- : widget.customerProvider.guestSunmodel.tips
|
|
|
|
701
|
- .task.length,
|
|
|
|
702
|
- itemBuilder: (BuildContext context, int index) {
|
|
|
|
703
|
- // locationState = state;
|
|
|
|
704
|
- Task data = widget.customerProvider.guestSunmodel
|
|
|
|
705
|
- .tips.task[index];
|
|
|
|
706
|
- return Column(
|
|
|
|
707
|
- children: [
|
|
|
|
708
|
- VEmptyView(10),
|
|
|
|
709
|
- Container(
|
|
|
|
710
|
- color: MyColours.color_ffffff,
|
|
|
|
711
|
- padding: EdgeInsets.symmetric(
|
|
|
|
712
|
- horizontal: ScreenUtil().setWidth(20),
|
|
|
|
713
|
- vertical: ScreenUtil().setWidth(30)),
|
|
|
|
714
|
- child: Row(
|
|
|
|
715
|
- children: [
|
|
|
|
716
|
- Image.asset(
|
|
|
|
717
|
- Utils.getImgPath('warning'),
|
|
|
|
718
|
- width: ScreenUtil().setWidth(42),
|
|
|
|
719
|
- ),
|
|
|
|
720
|
- HEmptyView(15),
|
|
|
|
721
|
- Expanded(
|
|
|
|
722
|
- child: Column(
|
|
|
|
723
|
- crossAxisAlignment:
|
|
|
|
724
|
- CrossAxisAlignment.start,
|
|
|
|
725
|
- children: [
|
|
|
|
726
|
- Text(
|
|
|
|
727
|
- '店内任务:${data.content}',
|
|
|
|
728
|
- maxLines: 1,
|
|
|
|
729
|
- overflow: TextOverflow.ellipsis,
|
|
|
|
730
|
- style: TextStyle(
|
|
|
|
731
|
- color: MyColours.color_333333,
|
|
|
|
732
|
- fontSize:
|
|
|
|
733
|
- ScreenUtil().setSp(32)),
|
|
|
|
734
|
- ),
|
|
|
|
735
|
- data.aid != null &&
|
|
|
|
736
|
- data.aidStr != null
|
|
|
|
737
|
- ? Padding(
|
|
|
|
738
|
- padding: EdgeInsets.only(
|
|
|
|
739
|
- top: ScreenUtil()
|
|
|
|
740
|
- .setWidth(8)),
|
|
|
|
741
|
- child: Text(
|
|
|
|
742
|
- '优惠内容:${data.aidStr}',
|
|
|
|
743
|
- maxLines: 1,
|
|
|
|
744
|
- overflow:
|
|
|
|
745
|
- TextOverflow.ellipsis,
|
|
|
|
746
|
- style: TextStyle(
|
|
|
|
747
|
- color: MyColours
|
|
|
|
748
|
- .color_333333,
|
|
|
|
749
|
- fontSize: ScreenUtil()
|
|
|
|
750
|
- .setSp(24)),
|
|
|
|
751
|
- ),
|
|
|
|
752
|
- )
|
|
|
|
753
|
- : SizedBox(),
|
|
|
|
754
|
- VEmptyView(8),
|
|
|
|
755
|
- Text(
|
|
|
|
756
|
- '创建人:${data.createUser}',
|
|
|
|
757
|
- maxLines: 1,
|
|
|
|
758
|
- overflow: TextOverflow.ellipsis,
|
|
|
|
759
|
- style: TextStyle(
|
|
|
|
760
|
- color: MyColours.color_333333,
|
|
|
|
761
|
- fontSize:
|
|
|
|
762
|
- ScreenUtil().setSp(26)),
|
|
|
|
763
|
- )
|
|
|
|
764
|
- ],
|
|
|
|
765
|
- )),
|
|
|
|
766
|
- HEmptyView(20),
|
|
|
|
767
|
- Column(children: [
|
|
|
|
768
|
- RoundButton(
|
|
|
|
769
|
- text: '立即完成',
|
689
|
+ // ListView.builder(
|
|
|
|
690
|
+ // controller: _controller,
|
|
|
|
691
|
+ // shrinkWrap: true,
|
|
|
|
692
|
+ // cacheExtent: ScreenUtil().setWidth(0),
|
|
|
|
693
|
+ // itemCount: widget.customerProvider.guestSunmodel
|
|
|
|
694
|
+ // .tips.task ==
|
|
|
|
695
|
+ // null ||
|
|
|
|
696
|
+ // widget.customerProvider.guestSunmodel.tips
|
|
|
|
697
|
+ // .task.length ==
|
|
|
|
698
|
+ // 0
|
|
|
|
699
|
+ // ? 0
|
|
|
|
700
|
+ // : widget.customerProvider.guestSunmodel.tips
|
|
|
|
701
|
+ // .task.length,
|
|
|
|
702
|
+ // itemBuilder: (BuildContext context, int index) {
|
|
|
|
703
|
+ // // locationState = state;
|
|
|
|
704
|
+ // Task data = widget.customerProvider.guestSunmodel
|
|
|
|
705
|
+ // .tips.task[index];
|
|
|
|
706
|
+ // return Column(
|
|
|
|
707
|
+ // children: [
|
|
|
|
708
|
+ // VEmptyView(10),
|
|
|
|
709
|
+ // Container(
|
|
|
|
710
|
+ // color: MyColours.color_ffffff,
|
|
|
|
711
|
+ // padding: EdgeInsets.symmetric(
|
|
|
|
712
|
+ // horizontal: ScreenUtil().setWidth(20),
|
|
|
|
713
|
+ // vertical: ScreenUtil().setWidth(30)),
|
|
|
|
714
|
+ // child: Row(
|
|
|
|
715
|
+ // children: [
|
|
|
|
716
|
+ // Image.asset(
|
|
|
|
717
|
+ // Utils.getImgPath('warning'),
|
|
|
|
718
|
+ // width: ScreenUtil().setWidth(42),
|
|
|
|
719
|
+ // ),
|
|
|
|
720
|
+ // HEmptyView(15),
|
|
|
|
721
|
+ // Expanded(
|
|
|
|
722
|
+ // child: Column(
|
|
|
|
723
|
+ // crossAxisAlignment:
|
|
|
|
724
|
+ // CrossAxisAlignment.start,
|
|
|
|
725
|
+ // children: [
|
|
|
|
726
|
+ // Text(
|
|
|
|
727
|
+ // '店内任务:${data.content}',
|
|
|
|
728
|
+ // maxLines: 1,
|
|
|
|
729
|
+ // overflow: TextOverflow.ellipsis,
|
|
|
|
730
|
+ // style: TextStyle(
|
|
|
|
731
|
+ // color: MyColours.color_333333,
|
|
|
|
732
|
+ // fontSize:
|
|
|
|
733
|
+ // ScreenUtil().setSp(32)),
|
|
|
|
734
|
+ // ),
|
|
|
|
735
|
+ // data.aid != null &&
|
|
|
|
736
|
+ // data.aidStr != null
|
|
|
|
737
|
+ // ? Padding(
|
|
|
|
738
|
+ // padding: EdgeInsets.only(
|
|
|
|
739
|
+ // top: ScreenUtil()
|
|
|
|
740
|
+ // .setWidth(8)),
|
|
|
|
741
|
+ // child: Text(
|
|
|
|
742
|
+ // '优惠内容:${data.aidStr}',
|
|
|
|
743
|
+ // maxLines: 1,
|
|
|
|
744
|
+ // overflow:
|
|
|
|
745
|
+ // TextOverflow.ellipsis,
|
|
|
|
746
|
+ // style: TextStyle(
|
|
|
|
747
|
+ // color: MyColours
|
|
|
|
748
|
+ // .color_333333,
|
|
|
|
749
|
+ // fontSize: ScreenUtil()
|
|
|
|
750
|
+ // .setSp(24)),
|
|
|
|
751
|
+ // ),
|
|
|
|
752
|
+ // )
|
|
|
|
753
|
+ // : SizedBox(),
|
|
|
|
754
|
+ // VEmptyView(8),
|
|
|
|
755
|
+ // Text(
|
|
|
|
756
|
+ // '创建人:${data.createUser}',
|
|
|
|
757
|
+ // maxLines: 1,
|
|
|
|
758
|
+ // overflow: TextOverflow.ellipsis,
|
|
|
|
759
|
+ // style: TextStyle(
|
|
|
|
760
|
+ // color: MyColours.color_333333,
|
|
|
|
761
|
+ // fontSize:
|
|
|
|
762
|
+ // ScreenUtil().setSp(26)),
|
|
|
|
763
|
+ // )
|
|
|
|
764
|
+ // ],
|
|
|
|
765
|
+ // )),
|
|
|
|
766
|
+ // HEmptyView(20),
|
|
|
|
767
|
+ // Column(children: [
|
|
|
|
768
|
+ // RoundButton(
|
|
|
|
769
|
+ // text: '立即完成',
|
|
770
|
|
770
|
|
|
771
|
- padding: EdgeInsets.symmetric(
|
|
|
|
772
|
- horizontal:
|
|
|
|
773
|
- ScreenUtil().setWidth(26)),
|
|
|
|
774
|
- gradientStart:
|
|
|
|
775
|
- MyColours.color_199095,
|
|
|
|
776
|
- gradientEnd: MyColours.color_199095,
|
|
|
|
777
|
- // borderColor: MyColours.color_999999,
|
|
|
|
778
|
- radius: ScreenUtil().setWidth(40),
|
|
|
|
779
|
- height: ScreenUtil().setWidth(64),
|
|
|
|
780
|
- width: ScreenUtil().setWidth(180),
|
|
|
|
781
|
- fontSize: 26,
|
|
|
|
782
|
- isBold: false,
|
|
|
|
783
|
- onPressed: () {
|
|
|
|
784
|
- SellerList sellerList =
|
|
|
|
785
|
- SellerList.fromJson(
|
|
|
|
786
|
- json.decode(
|
|
|
|
787
|
- json.encode(data)));
|
|
|
|
788
|
- NavigatorUtil
|
|
|
|
789
|
- .goMyMakeMarkingPageOnlyShow(
|
|
|
|
790
|
- context, sellerList);
|
|
|
|
791
|
- },
|
|
|
|
792
|
- ),
|
|
|
|
793
|
- data.remainingTime != null
|
|
|
|
794
|
- ? Padding(
|
|
|
|
795
|
- padding: EdgeInsets.only(
|
|
|
|
796
|
- top: ScreenUtil()
|
|
|
|
797
|
- .setWidth(6)),
|
|
|
|
798
|
- child: Text(
|
|
|
|
799
|
- '${data.remainingTime}天内',
|
|
|
|
800
|
- maxLines: 1,
|
|
|
|
801
|
- overflow:
|
|
|
|
802
|
- TextOverflow.ellipsis,
|
|
|
|
803
|
- style: TextStyle(
|
|
|
|
804
|
- color: Color.fromRGBO(
|
|
|
|
805
|
- 215, 30, 40, 1),
|
|
|
|
806
|
- fontSize: ScreenUtil()
|
|
|
|
807
|
- .setSp(26)),
|
|
|
|
808
|
- ))
|
|
|
|
809
|
- : SizedBox()
|
|
|
|
810
|
- ])
|
|
|
|
811
|
- ],
|
|
|
|
812
|
- ),
|
|
|
|
813
|
- ),
|
|
|
|
814
|
- ],
|
|
|
|
815
|
- );
|
|
|
|
816
|
- }),
|
|
|
|
817
|
- ListView.builder(
|
|
|
|
818
|
- controller: _controller,
|
|
|
|
819
|
- shrinkWrap: true,
|
|
|
|
820
|
- cacheExtent: ScreenUtil().setWidth(0),
|
|
|
|
821
|
- itemCount: widget.customerProvider.guestSunmodel
|
|
|
|
822
|
- .tips.recover ==
|
|
|
|
823
|
- null ||
|
|
|
|
824
|
- widget.customerProvider.guestSunmodel.tips
|
|
|
|
825
|
- .recover.length ==
|
|
|
|
826
|
- 0
|
|
|
|
827
|
- ? 0
|
|
|
|
828
|
- : 1,
|
|
|
|
829
|
- itemBuilder: (BuildContext context, int index) {
|
|
|
|
830
|
- // locationState = state;
|
771
|
+ // padding: EdgeInsets.symmetric(
|
|
|
|
772
|
+ // horizontal:
|
|
|
|
773
|
+ // ScreenUtil().setWidth(26)),
|
|
|
|
774
|
+ // gradientStart:
|
|
|
|
775
|
+ // MyColours.color_199095,
|
|
|
|
776
|
+ // gradientEnd: MyColours.color_199095,
|
|
|
|
777
|
+ // // borderColor: MyColours.color_999999,
|
|
|
|
778
|
+ // radius: ScreenUtil().setWidth(40),
|
|
|
|
779
|
+ // height: ScreenUtil().setWidth(64),
|
|
|
|
780
|
+ // width: ScreenUtil().setWidth(180),
|
|
|
|
781
|
+ // fontSize: 26,
|
|
|
|
782
|
+ // isBold: false,
|
|
|
|
783
|
+ // onPressed: () {
|
|
|
|
784
|
+ // SellerList sellerList =
|
|
|
|
785
|
+ // SellerList.fromJson(
|
|
|
|
786
|
+ // json.decode(
|
|
|
|
787
|
+ // json.encode(data)));
|
|
|
|
788
|
+ // NavigatorUtil
|
|
|
|
789
|
+ // .goMyMakeMarkingPageOnlyShow(
|
|
|
|
790
|
+ // context, sellerList);
|
|
|
|
791
|
+ // },
|
|
|
|
792
|
+ // ),
|
|
|
|
793
|
+ // data.remainingTime != null
|
|
|
|
794
|
+ // ? Padding(
|
|
|
|
795
|
+ // padding: EdgeInsets.only(
|
|
|
|
796
|
+ // top: ScreenUtil()
|
|
|
|
797
|
+ // .setWidth(6)),
|
|
|
|
798
|
+ // child: Text(
|
|
|
|
799
|
+ // '${data.remainingTime}天内',
|
|
|
|
800
|
+ // maxLines: 1,
|
|
|
|
801
|
+ // overflow:
|
|
|
|
802
|
+ // TextOverflow.ellipsis,
|
|
|
|
803
|
+ // style: TextStyle(
|
|
|
|
804
|
+ // color: Color.fromRGBO(
|
|
|
|
805
|
+ // 215, 30, 40, 1),
|
|
|
|
806
|
+ // fontSize: ScreenUtil()
|
|
|
|
807
|
+ // .setSp(26)),
|
|
|
|
808
|
+ // ))
|
|
|
|
809
|
+ // : SizedBox()
|
|
|
|
810
|
+ // ])
|
|
|
|
811
|
+ // ],
|
|
|
|
812
|
+ // ),
|
|
|
|
813
|
+ // ),
|
|
|
|
814
|
+ // ],
|
|
|
|
815
|
+ // );
|
|
|
|
816
|
+ // }),
|
|
|
|
817
|
+ // ListView.builder(
|
|
|
|
818
|
+ // controller: _controller,
|
|
|
|
819
|
+ // shrinkWrap: true,
|
|
|
|
820
|
+ // cacheExtent: ScreenUtil().setWidth(0),
|
|
|
|
821
|
+ // itemCount: widget.customerProvider.guestSunmodel
|
|
|
|
822
|
+ // .tips.recover ==
|
|
|
|
823
|
+ // null ||
|
|
|
|
824
|
+ // widget.customerProvider.guestSunmodel.tips
|
|
|
|
825
|
+ // .recover.length ==
|
|
|
|
826
|
+ // 0
|
|
|
|
827
|
+ // ? 0
|
|
|
|
828
|
+ // : 1,
|
|
|
|
829
|
+ // itemBuilder: (BuildContext context, int index) {
|
|
|
|
830
|
+ // // locationState = state;
|
|
831
|
|
831
|
|
|
832
|
- return Column(
|
|
|
|
833
|
- children: [
|
|
|
|
834
|
- VEmptyView(10),
|
|
|
|
835
|
- Container(
|
|
|
|
836
|
- color: MyColours.color_ffffff,
|
|
|
|
837
|
- padding: EdgeInsets.symmetric(
|
|
|
|
838
|
- horizontal: ScreenUtil().setWidth(20),
|
|
|
|
839
|
- vertical: ScreenUtil().setWidth(30)),
|
|
|
|
840
|
- child: Row(
|
|
|
|
841
|
- children: [
|
|
|
|
842
|
- Image.asset(
|
|
|
|
843
|
- Utils.getImgPath('warning'),
|
|
|
|
844
|
- width: ScreenUtil().setWidth(42),
|
|
|
|
845
|
- ),
|
|
|
|
846
|
- HEmptyView(15),
|
|
|
|
847
|
- Expanded(
|
|
|
|
848
|
- child: Text(
|
|
|
|
849
|
- '${widget.customerProvider.guestSunmodel.tips.recover[0]}',
|
|
|
|
850
|
- maxLines: 10,
|
|
|
|
851
|
- overflow: TextOverflow.ellipsis,
|
|
|
|
852
|
- style: TextStyle(
|
|
|
|
853
|
- color: MyColours.color_333333,
|
|
|
|
854
|
- fontSize: ScreenUtil().setSp(32)),
|
|
|
|
855
|
- )),
|
|
|
|
856
|
- HEmptyView(20),
|
|
|
|
857
|
- RoundButton(
|
|
|
|
858
|
- text: '一键追回',
|
|
|
|
859
|
- padding: EdgeInsets.symmetric(
|
|
|
|
860
|
- horizontal:
|
|
|
|
861
|
- ScreenUtil().setWidth(26)),
|
|
|
|
862
|
- gradientStart: MyColours.color_199095,
|
|
|
|
863
|
- gradientEnd: MyColours.color_199095,
|
|
|
|
864
|
- // borderColor: MyColours.color_999999,
|
|
|
|
865
|
- radius: ScreenUtil().setWidth(40),
|
|
|
|
866
|
- height: ScreenUtil().setWidth(64),
|
|
|
|
867
|
- width: ScreenUtil().setWidth(180),
|
|
|
|
868
|
- fontSize: 26,
|
|
|
|
869
|
- isBold: false,
|
|
|
|
870
|
- onPressed: () {
|
|
|
|
871
|
- String uid = '';
|
|
|
|
872
|
- menuTitle.forEach((element) {
|
|
|
|
873
|
- if (element.select) {
|
|
|
|
874
|
- uid = element.uid;
|
|
|
|
875
|
- }
|
|
|
|
876
|
- });
|
|
|
|
877
|
- NavigatorUtil.goMyMakeMarkingPage(
|
|
|
|
878
|
- context, uid,
|
|
|
|
879
|
- fromPage: FromPage
|
|
|
|
880
|
- .FromPageMyCustomer,
|
|
|
|
881
|
- homeGid:
|
|
|
|
882
|
- Utils.listToStringEnglish1(
|
|
|
|
883
|
- widget
|
|
|
|
884
|
- .customerProvider
|
|
|
|
885
|
- .guestSunmodel
|
|
|
|
886
|
- .tips
|
|
|
|
887
|
- .recover[1]));
|
|
|
|
888
|
- },
|
|
|
|
889
|
- ),
|
|
|
|
890
|
- ],
|
|
|
|
891
|
- ),
|
|
|
|
892
|
- ),
|
|
|
|
893
|
- ],
|
|
|
|
894
|
- );
|
|
|
|
895
|
- }),
|
|
|
|
896
|
- ListView.builder(
|
|
|
|
897
|
- controller: _controller,
|
|
|
|
898
|
- shrinkWrap: true,
|
|
|
|
899
|
- cacheExtent: ScreenUtil().setWidth(0),
|
|
|
|
900
|
- itemCount: widget.customerProvider.guestSunmodel
|
|
|
|
901
|
- .tips.awaken ==
|
|
|
|
902
|
- null ||
|
|
|
|
903
|
- widget.customerProvider.guestSunmodel.tips
|
|
|
|
904
|
- .awaken.length ==
|
|
|
|
905
|
- 0
|
|
|
|
906
|
- ? 0
|
|
|
|
907
|
- : 1,
|
|
|
|
908
|
- itemBuilder: (BuildContext context, int index) {
|
|
|
|
909
|
- // locationState = state;
|
832
|
+ // return Column(
|
|
|
|
833
|
+ // children: [
|
|
|
|
834
|
+ // VEmptyView(10),
|
|
|
|
835
|
+ // Container(
|
|
|
|
836
|
+ // color: MyColours.color_ffffff,
|
|
|
|
837
|
+ // padding: EdgeInsets.symmetric(
|
|
|
|
838
|
+ // horizontal: ScreenUtil().setWidth(20),
|
|
|
|
839
|
+ // vertical: ScreenUtil().setWidth(30)),
|
|
|
|
840
|
+ // child: Row(
|
|
|
|
841
|
+ // children: [
|
|
|
|
842
|
+ // Image.asset(
|
|
|
|
843
|
+ // Utils.getImgPath('warning'),
|
|
|
|
844
|
+ // width: ScreenUtil().setWidth(42),
|
|
|
|
845
|
+ // ),
|
|
|
|
846
|
+ // HEmptyView(15),
|
|
|
|
847
|
+ // Expanded(
|
|
|
|
848
|
+ // child: Text(
|
|
|
|
849
|
+ // '${widget.customerProvider.guestSunmodel.tips.recover[0]}',
|
|
|
|
850
|
+ // maxLines: 10,
|
|
|
|
851
|
+ // overflow: TextOverflow.ellipsis,
|
|
|
|
852
|
+ // style: TextStyle(
|
|
|
|
853
|
+ // color: MyColours.color_333333,
|
|
|
|
854
|
+ // fontSize: ScreenUtil().setSp(32)),
|
|
|
|
855
|
+ // )),
|
|
|
|
856
|
+ // HEmptyView(20),
|
|
|
|
857
|
+ // RoundButton(
|
|
|
|
858
|
+ // text: '一键追回',
|
|
|
|
859
|
+ // padding: EdgeInsets.symmetric(
|
|
|
|
860
|
+ // horizontal:
|
|
|
|
861
|
+ // ScreenUtil().setWidth(26)),
|
|
|
|
862
|
+ // gradientStart: MyColours.color_199095,
|
|
|
|
863
|
+ // gradientEnd: MyColours.color_199095,
|
|
|
|
864
|
+ // // borderColor: MyColours.color_999999,
|
|
|
|
865
|
+ // radius: ScreenUtil().setWidth(40),
|
|
|
|
866
|
+ // height: ScreenUtil().setWidth(64),
|
|
|
|
867
|
+ // width: ScreenUtil().setWidth(180),
|
|
|
|
868
|
+ // fontSize: 26,
|
|
|
|
869
|
+ // isBold: false,
|
|
|
|
870
|
+ // onPressed: () {
|
|
|
|
871
|
+ // String uid = '';
|
|
|
|
872
|
+ // menuTitle.forEach((element) {
|
|
|
|
873
|
+ // if (element.select) {
|
|
|
|
874
|
+ // uid = element.uid;
|
|
|
|
875
|
+ // }
|
|
|
|
876
|
+ // });
|
|
|
|
877
|
+ // NavigatorUtil.goMyMakeMarkingPage(
|
|
|
|
878
|
+ // context, uid,
|
|
|
|
879
|
+ // fromPage: FromPage
|
|
|
|
880
|
+ // .FromPageMyCustomer,
|
|
|
|
881
|
+ // homeGid:
|
|
|
|
882
|
+ // Utils.listToStringEnglish1(
|
|
|
|
883
|
+ // widget
|
|
|
|
884
|
+ // .customerProvider
|
|
|
|
885
|
+ // .guestSunmodel
|
|
|
|
886
|
+ // .tips
|
|
|
|
887
|
+ // .recover[1]));
|
|
|
|
888
|
+ // },
|
|
|
|
889
|
+ // ),
|
|
|
|
890
|
+ // ],
|
|
|
|
891
|
+ // ),
|
|
|
|
892
|
+ // ),
|
|
|
|
893
|
+ // ],
|
|
|
|
894
|
+ // );
|
|
|
|
895
|
+ // }),
|
|
|
|
896
|
+ // ListView.builder(
|
|
|
|
897
|
+ // controller: _controller,
|
|
|
|
898
|
+ // shrinkWrap: true,
|
|
|
|
899
|
+ // cacheExtent: ScreenUtil().setWidth(0),
|
|
|
|
900
|
+ // itemCount: widget.customerProvider.guestSunmodel
|
|
|
|
901
|
+ // .tips.awaken ==
|
|
|
|
902
|
+ // null ||
|
|
|
|
903
|
+ // widget.customerProvider.guestSunmodel.tips
|
|
|
|
904
|
+ // .awaken.length ==
|
|
|
|
905
|
+ // 0
|
|
|
|
906
|
+ // ? 0
|
|
|
|
907
|
+ // : 1,
|
|
|
|
908
|
+ // itemBuilder: (BuildContext context, int index) {
|
|
|
|
909
|
+ // // locationState = state;
|
|
910
|
|
910
|
|
|
911
|
- return Column(
|
|
|
|
912
|
- children: [
|
|
|
|
913
|
- VEmptyView(10),
|
|
|
|
914
|
- Container(
|
|
|
|
915
|
- color: MyColours.color_ffffff,
|
|
|
|
916
|
- padding: EdgeInsets.symmetric(
|
|
|
|
917
|
- horizontal: ScreenUtil().setWidth(20),
|
|
|
|
918
|
- vertical: ScreenUtil().setWidth(30)),
|
|
|
|
919
|
- child: Row(
|
|
|
|
920
|
- children: [
|
|
|
|
921
|
- Image.asset(
|
|
|
|
922
|
- Utils.getImgPath('warning'),
|
|
|
|
923
|
- width: ScreenUtil().setWidth(42),
|
|
|
|
924
|
- ),
|
|
|
|
925
|
- HEmptyView(15),
|
|
|
|
926
|
- Expanded(
|
|
|
|
927
|
- child: Text(
|
|
|
|
928
|
- '${widget.customerProvider.guestSunmodel.tips.awaken[0]}',
|
|
|
|
929
|
- maxLines: 10,
|
|
|
|
930
|
- overflow: TextOverflow.ellipsis,
|
|
|
|
931
|
- style: TextStyle(
|
|
|
|
932
|
- color: MyColours.color_333333,
|
|
|
|
933
|
- fontSize: ScreenUtil().setSp(32)),
|
|
|
|
934
|
- )),
|
|
|
|
935
|
- HEmptyView(20),
|
|
|
|
936
|
- RoundButton(
|
|
|
|
937
|
- text: '一键唤醒',
|
|
|
|
938
|
- padding: EdgeInsets.symmetric(
|
|
|
|
939
|
- horizontal:
|
|
|
|
940
|
- ScreenUtil().setWidth(26)),
|
|
|
|
941
|
- gradientStart: MyColours.color_199095,
|
|
|
|
942
|
- gradientEnd: MyColours.color_199095,
|
|
|
|
943
|
- // borderColor: MyColours.color_999999,
|
|
|
|
944
|
- radius: ScreenUtil().setWidth(40),
|
|
|
|
945
|
- height: ScreenUtil().setWidth(64),
|
|
|
|
946
|
- width: ScreenUtil().setWidth(180),
|
|
|
|
947
|
- fontSize: 26,
|
|
|
|
948
|
- isBold: false,
|
|
|
|
949
|
- onPressed: () {
|
|
|
|
950
|
- String uid = '';
|
|
|
|
951
|
- menuTitle.forEach((element) {
|
|
|
|
952
|
- if (element.select) {
|
|
|
|
953
|
- uid = element.uid;
|
|
|
|
954
|
- }
|
|
|
|
955
|
- });
|
|
|
|
956
|
- NavigatorUtil.goMyMakeMarkingPage(
|
|
|
|
957
|
- context, uid,
|
|
|
|
958
|
- fromPage: FromPage
|
|
|
|
959
|
- .FromPageMyCustomer,
|
|
|
|
960
|
- homeGid:
|
|
|
|
961
|
- Utils.listToStringEnglish1(
|
|
|
|
962
|
- widget
|
|
|
|
963
|
- .customerProvider
|
|
|
|
964
|
- .guestSunmodel
|
|
|
|
965
|
- .tips
|
|
|
|
966
|
- .awaken[1]));
|
|
|
|
967
|
- },
|
|
|
|
968
|
- ),
|
|
|
|
969
|
- ],
|
|
|
|
970
|
- ),
|
|
|
|
971
|
- ),
|
|
|
|
972
|
- ],
|
|
|
|
973
|
- );
|
|
|
|
974
|
- }),
|
911
|
+ // return Column(
|
|
|
|
912
|
+ // children: [
|
|
|
|
913
|
+ // VEmptyView(10),
|
|
|
|
914
|
+ // Container(
|
|
|
|
915
|
+ // color: MyColours.color_ffffff,
|
|
|
|
916
|
+ // padding: EdgeInsets.symmetric(
|
|
|
|
917
|
+ // horizontal: ScreenUtil().setWidth(20),
|
|
|
|
918
|
+ // vertical: ScreenUtil().setWidth(30)),
|
|
|
|
919
|
+ // child: Row(
|
|
|
|
920
|
+ // children: [
|
|
|
|
921
|
+ // Image.asset(
|
|
|
|
922
|
+ // Utils.getImgPath('warning'),
|
|
|
|
923
|
+ // width: ScreenUtil().setWidth(42),
|
|
|
|
924
|
+ // ),
|
|
|
|
925
|
+ // HEmptyView(15),
|
|
|
|
926
|
+ // Expanded(
|
|
|
|
927
|
+ // child: Text(
|
|
|
|
928
|
+ // '${widget.customerProvider.guestSunmodel.tips.awaken[0]}',
|
|
|
|
929
|
+ // maxLines: 10,
|
|
|
|
930
|
+ // overflow: TextOverflow.ellipsis,
|
|
|
|
931
|
+ // style: TextStyle(
|
|
|
|
932
|
+ // color: MyColours.color_333333,
|
|
|
|
933
|
+ // fontSize: ScreenUtil().setSp(32)),
|
|
|
|
934
|
+ // )),
|
|
|
|
935
|
+ // HEmptyView(20),
|
|
|
|
936
|
+ // RoundButton(
|
|
|
|
937
|
+ // text: '一键唤醒',
|
|
|
|
938
|
+ // padding: EdgeInsets.symmetric(
|
|
|
|
939
|
+ // horizontal:
|
|
|
|
940
|
+ // ScreenUtil().setWidth(26)),
|
|
|
|
941
|
+ // gradientStart: MyColours.color_199095,
|
|
|
|
942
|
+ // gradientEnd: MyColours.color_199095,
|
|
|
|
943
|
+ // // borderColor: MyColours.color_999999,
|
|
|
|
944
|
+ // radius: ScreenUtil().setWidth(40),
|
|
|
|
945
|
+ // height: ScreenUtil().setWidth(64),
|
|
|
|
946
|
+ // width: ScreenUtil().setWidth(180),
|
|
|
|
947
|
+ // fontSize: 26,
|
|
|
|
948
|
+ // isBold: false,
|
|
|
|
949
|
+ // onPressed: () {
|
|
|
|
950
|
+ // String uid = '';
|
|
|
|
951
|
+ // menuTitle.forEach((element) {
|
|
|
|
952
|
+ // if (element.select) {
|
|
|
|
953
|
+ // uid = element.uid;
|
|
|
|
954
|
+ // }
|
|
|
|
955
|
+ // });
|
|
|
|
956
|
+ // NavigatorUtil.goMyMakeMarkingPage(
|
|
|
|
957
|
+ // context, uid,
|
|
|
|
958
|
+ // fromPage: FromPage
|
|
|
|
959
|
+ // .FromPageMyCustomer,
|
|
|
|
960
|
+ // homeGid:
|
|
|
|
961
|
+ // Utils.listToStringEnglish1(
|
|
|
|
962
|
+ // widget
|
|
|
|
963
|
+ // .customerProvider
|
|
|
|
964
|
+ // .guestSunmodel
|
|
|
|
965
|
+ // .tips
|
|
|
|
966
|
+ // .awaken[1]));
|
|
|
|
967
|
+ // },
|
|
|
|
968
|
+ // ),
|
|
|
|
969
|
+ // ],
|
|
|
|
970
|
+ // ),
|
|
|
|
971
|
+ // ),
|
|
|
|
972
|
+ // ],
|
|
|
|
973
|
+ // );
|
|
|
|
974
|
+ // }),
|
|
975
|
_chart(),
|
975
|
_chart(),
|
|
976
|
ListView.builder(
|
976
|
ListView.builder(
|
|
977
|
itemCount: widget
|
977
|
itemCount: widget
|