|
@@ -846,311 +846,311 @@ class _CustomerSettingPageState extends State<CustomerSettingPage> { |
|
@@ -846,311 +846,311 @@ class _CustomerSettingPageState extends State<CustomerSettingPage> { |
|
846
|
color: MyColours.color_E7E7E7,
|
846
|
color: MyColours.color_E7E7E7,
|
|
847
|
)),
|
847
|
)),
|
|
848
|
VEmptyView(48),
|
848
|
VEmptyView(48),
|
|
849
|
- Container(
|
|
|
|
850
|
- padding: EdgeInsets.symmetric(vertical: w(8)),
|
|
|
|
851
|
- child: Text('优质客户标记',
|
|
|
|
852
|
- style: TextStyle(
|
|
|
|
853
|
- color: MyColours.color_515151,
|
|
|
|
854
|
- fontSize: ScreenUtil().setSp(32)))),
|
|
|
|
855
|
- VEmptyView(22),
|
|
|
|
856
|
- MyDivider(
|
|
|
|
857
|
- double.infinity,
|
|
|
|
858
|
- w(1),
|
|
|
|
859
|
- color: MyColours.color_E7E7E7,
|
|
|
|
860
|
- ),
|
|
|
|
861
|
- VEmptyView(24),
|
|
|
|
862
|
- InkWell(
|
|
|
|
863
|
- onTap: () {
|
|
|
|
864
|
- setState(() {
|
|
|
|
865
|
- customerProvider.isHighFrequency =
|
|
|
|
866
|
- !customerProvider.isHighFrequency;
|
|
|
|
867
|
- });
|
|
|
|
868
|
- },
|
|
|
|
869
|
- child: Container(
|
|
|
|
870
|
- padding: EdgeInsets.symmetric(
|
|
|
|
871
|
- vertical: w(8), horizontal: w(14)),
|
|
|
|
872
|
- child: Row(
|
|
|
|
873
|
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
874
|
- crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
875
|
- children: [
|
|
|
|
876
|
- Text('高频客户标记',
|
|
|
|
877
|
- style: TextStyle(
|
|
|
|
878
|
- color: MyColours.color_515151,
|
|
|
|
879
|
- fontSize: ScreenUtil().setSp(28))),
|
|
|
|
880
|
- Image.asset(
|
|
|
|
881
|
- customerProvider.isHighFrequency
|
|
|
|
882
|
- ? Utils.getImgPath('swich_on')
|
|
|
|
883
|
- : Utils.getImgPath('swich_off'),
|
|
|
|
884
|
- width: ScreenUtil().setWidth(88),
|
|
|
|
885
|
- // height: ScreenUtil().setWidth(82),
|
|
|
|
886
|
- ),
|
|
|
|
887
|
- ],
|
|
|
|
888
|
- ),
|
|
|
|
889
|
- )),
|
|
|
|
890
|
- Padding(
|
|
|
|
891
|
- padding: EdgeInsets.only(left: w(14), right: w(10)),
|
|
|
|
892
|
- child: MyDivider(
|
|
|
|
893
|
- double.infinity,
|
|
|
|
894
|
- w(1),
|
|
|
|
895
|
- color: MyColours.color_E7E7E7,
|
|
|
|
896
|
- )),
|
|
|
|
897
|
- VEmptyView(24),
|
|
|
|
898
|
- Container(
|
|
|
|
899
|
- padding:
|
|
|
|
900
|
- EdgeInsets.symmetric(vertical: w(8), horizontal: w(14)),
|
|
|
|
901
|
- child: Row(
|
|
|
|
902
|
- children: [
|
|
|
|
903
|
- Expanded(
|
|
|
|
904
|
- child: Container(
|
|
|
|
905
|
- padding: EdgeInsets.symmetric(vertical: w(8)),
|
|
|
|
906
|
- child: Text('指定期限',
|
|
|
|
907
|
- overflow: TextOverflow.ellipsis,
|
|
|
|
908
|
- maxLines: 10,
|
|
|
|
909
|
- style: TextStyle(
|
|
|
|
910
|
- color: MyColours.color_515151,
|
|
|
|
911
|
- fontSize: ScreenUtil().setSp(28))))),
|
|
|
|
912
|
- HEmptyView(2),
|
|
|
|
913
|
- Container(
|
|
|
|
914
|
- width: w(40),
|
|
|
|
915
|
- child: TextField(
|
|
|
|
916
|
- controller: controllerDeadline,
|
|
|
|
917
|
- textAlign: TextAlign.right,
|
|
|
|
918
|
- textAlignVertical: TextAlignVertical.bottom,
|
|
|
|
919
|
- maxLines: 1,
|
|
|
|
920
|
- // //光标颜色
|
|
|
|
921
|
- // cursorColor:
|
|
|
|
922
|
- // widget.isSelect ? Colors.white : MyColours.color_199095,
|
|
|
|
923
|
- //输入文本的样式
|
|
|
|
924
|
- style: TextStyle(
|
|
|
|
925
|
- color: MyColours.color_515151,
|
|
|
|
926
|
- fontSize: ScreenUtil().setSp(28),
|
|
|
|
927
|
- ),
|
|
|
|
928
|
- inputFormatters: <TextInputFormatter>[
|
|
|
|
929
|
- FilteringTextInputFormatter.allow(
|
|
|
|
930
|
- RegExp(r'[0-9]')), //设置只允许输入数字
|
|
|
|
931
|
- ],
|
|
|
|
932
|
- decoration: InputDecoration(
|
|
|
|
933
|
- isCollapsed: true,
|
|
|
|
934
|
- border: OutlineInputBorder(
|
|
|
|
935
|
- borderSide: BorderSide.none),
|
|
|
|
936
|
- hintText: '输入',
|
|
|
|
937
|
- hintStyle: TextStyle(
|
|
|
|
938
|
- color: MyColours.color_999999,
|
|
|
|
939
|
- fontSize: ScreenUtil().setSp(28),
|
|
|
|
940
|
- ),
|
|
|
|
941
|
- enabledBorder: new UnderlineInputBorder(
|
|
|
|
942
|
- borderSide: BorderSide.none,
|
|
|
|
943
|
- ),
|
|
|
|
944
|
- focusedBorder: new UnderlineInputBorder(
|
|
|
|
945
|
- borderSide: BorderSide.none,
|
|
|
|
946
|
- ),
|
|
|
|
947
|
- ),
|
|
|
|
948
|
- onChanged: (value) {},
|
|
|
|
949
|
- onEditingComplete: () {
|
|
|
|
950
|
- FocusScope.of(context)
|
|
|
|
951
|
- .requestFocus(FocusNode()); //点击空白处隐藏键盘
|
|
|
|
952
|
- },
|
|
|
|
953
|
- keyboardType: TextInputType.number),
|
|
|
|
954
|
- ),
|
|
|
|
955
|
- HEmptyView(5),
|
|
|
|
956
|
- Text('天',
|
|
|
|
957
|
- style: TextStyle(
|
|
|
|
958
|
- color: MyColours.color_999999,
|
|
|
|
959
|
- fontSize: ScreenUtil().setSp(28))),
|
|
|
|
960
|
- // HEmptyView(24),
|
|
|
|
961
|
- ],
|
|
|
|
962
|
- )),
|
|
|
|
963
|
- Padding(
|
|
|
|
964
|
- padding: EdgeInsets.only(left: w(14), right: w(10)),
|
|
|
|
965
|
- child: MyDivider(
|
|
|
|
966
|
- double.infinity,
|
|
|
|
967
|
- w(1),
|
|
|
|
968
|
- color: MyColours.color_E7E7E7,
|
|
|
|
969
|
- )),
|
|
|
|
970
|
- VEmptyView(24),
|
|
|
|
971
|
- Container(
|
|
|
|
972
|
- padding:
|
|
|
|
973
|
- EdgeInsets.symmetric(vertical: w(8), horizontal: w(14)),
|
|
|
|
974
|
- child: Row(
|
|
|
|
975
|
- children: [
|
|
|
|
976
|
- Expanded(
|
|
|
|
977
|
- child: Container(
|
|
|
|
978
|
- padding: EdgeInsets.symmetric(vertical: w(8)),
|
|
|
|
979
|
- child: Text('消费次数',
|
|
|
|
980
|
- overflow: TextOverflow.ellipsis,
|
|
|
|
981
|
- maxLines: 10,
|
|
|
|
982
|
- style: TextStyle(
|
|
|
|
983
|
- color: MyColours.color_515151,
|
|
|
|
984
|
- fontSize: ScreenUtil().setSp(28))))),
|
|
|
|
985
|
- HEmptyView(2),
|
|
|
|
986
|
- Container(
|
|
|
|
987
|
- width: w(40),
|
|
|
|
988
|
- child: TextField(
|
|
|
|
989
|
- controller: controllerConsumptionTimes,
|
|
|
|
990
|
- textAlign: TextAlign.right,
|
|
|
|
991
|
- textAlignVertical: TextAlignVertical.bottom,
|
|
|
|
992
|
- maxLines: 1,
|
|
|
|
993
|
- // //光标颜色
|
|
|
|
994
|
- // cursorColor:
|
|
|
|
995
|
- // widget.isSelect ? Colors.white : MyColours.color_199095,
|
|
|
|
996
|
- //输入文本的样式
|
|
|
|
997
|
- style: TextStyle(
|
|
|
|
998
|
- color: MyColours.color_515151,
|
|
|
|
999
|
- fontSize: ScreenUtil().setSp(28),
|
|
|
|
1000
|
- ),
|
|
|
|
1001
|
- inputFormatters: <TextInputFormatter>[
|
|
|
|
1002
|
- FilteringTextInputFormatter.allow(
|
|
|
|
1003
|
- RegExp(r'[0-9]')), //设置只允许输入数字
|
|
|
|
1004
|
- ],
|
|
|
|
1005
|
- decoration: InputDecoration(
|
|
|
|
1006
|
- isCollapsed: true,
|
|
|
|
1007
|
- border: OutlineInputBorder(
|
|
|
|
1008
|
- borderSide: BorderSide.none),
|
|
|
|
1009
|
- hintText: '输入',
|
|
|
|
1010
|
- hintStyle: TextStyle(
|
|
|
|
1011
|
- color: MyColours.color_999999,
|
|
|
|
1012
|
- fontSize: ScreenUtil().setSp(28),
|
|
|
|
1013
|
- ),
|
|
|
|
1014
|
- enabledBorder: new UnderlineInputBorder(
|
|
|
|
1015
|
- borderSide: BorderSide.none,
|
|
|
|
1016
|
- ),
|
|
|
|
1017
|
- focusedBorder: new UnderlineInputBorder(
|
|
|
|
1018
|
- borderSide: BorderSide.none,
|
|
|
|
1019
|
- ),
|
|
|
|
1020
|
- ),
|
|
|
|
1021
|
- onChanged: (value) {},
|
|
|
|
1022
|
- onEditingComplete: () {
|
|
|
|
1023
|
- FocusScope.of(context)
|
|
|
|
1024
|
- .requestFocus(FocusNode()); //点击空白处隐藏键盘
|
|
|
|
1025
|
- },
|
|
|
|
1026
|
- keyboardType: TextInputType.number),
|
|
|
|
1027
|
- ),
|
|
|
|
1028
|
- HEmptyView(5),
|
|
|
|
1029
|
- Text('次',
|
|
|
|
1030
|
- style: TextStyle(
|
|
|
|
1031
|
- color: MyColours.color_999999,
|
|
|
|
1032
|
- fontSize: ScreenUtil().setSp(28))),
|
|
|
|
1033
|
- // HEmptyView(24),
|
|
|
|
1034
|
- ],
|
|
|
|
1035
|
- )),
|
|
|
|
1036
|
- Padding(
|
|
|
|
1037
|
- padding: EdgeInsets.only(left: w(14), right: w(10)),
|
|
|
|
1038
|
- child: MyDivider(
|
|
|
|
1039
|
- double.infinity,
|
|
|
|
1040
|
- w(1),
|
|
|
|
1041
|
- color: MyColours.color_E7E7E7,
|
|
|
|
1042
|
- )),
|
|
|
|
1043
|
- VEmptyView(24),
|
|
|
|
1044
|
- InkWell(
|
|
|
|
1045
|
- onTap: () {
|
|
|
|
1046
|
- setState(() {
|
|
|
|
1047
|
- customerProvider.isHighConsumption =
|
|
|
|
1048
|
- !customerProvider.isHighConsumption;
|
|
|
|
1049
|
- });
|
|
|
|
1050
|
- },
|
|
|
|
1051
|
- child: Container(
|
|
|
|
1052
|
- padding: EdgeInsets.symmetric(
|
|
|
|
1053
|
- vertical: w(8), horizontal: w(14)),
|
|
|
|
1054
|
- child: Row(
|
|
|
|
1055
|
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
1056
|
- crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
1057
|
- children: [
|
|
|
|
1058
|
- Text('高消费客户标记',
|
|
|
|
1059
|
- style: TextStyle(
|
|
|
|
1060
|
- color: MyColours.color_515151,
|
|
|
|
1061
|
- fontSize: ScreenUtil().setSp(28))),
|
|
|
|
1062
|
- Image.asset(
|
|
|
|
1063
|
- customerProvider.isHighConsumption
|
|
|
|
1064
|
- ? Utils.getImgPath('swich_on')
|
|
|
|
1065
|
- : Utils.getImgPath('swich_off'),
|
|
|
|
1066
|
- width: ScreenUtil().setWidth(88),
|
|
|
|
1067
|
- // height: ScreenUtil().setWidth(82),
|
|
|
|
1068
|
- ),
|
|
|
|
1069
|
- ],
|
|
|
|
1070
|
- ),
|
|
|
|
1071
|
- )),
|
|
|
|
1072
|
- Padding(
|
|
|
|
1073
|
- padding: EdgeInsets.only(left: w(14), right: w(10)),
|
|
|
|
1074
|
- child: MyDivider(
|
|
|
|
1075
|
- double.infinity,
|
|
|
|
1076
|
- w(1),
|
|
|
|
1077
|
- color: MyColours.color_E7E7E7,
|
|
|
|
1078
|
- )),
|
|
|
|
1079
|
- VEmptyView(24),
|
|
|
|
1080
|
- Container(
|
|
|
|
1081
|
- padding:
|
|
|
|
1082
|
- EdgeInsets.symmetric(vertical: w(8), horizontal: w(14)),
|
|
|
|
1083
|
- child: Row(
|
|
|
|
1084
|
- children: [
|
|
|
|
1085
|
- Expanded(
|
|
|
|
1086
|
- child: Container(
|
|
|
|
1087
|
- padding: EdgeInsets.symmetric(vertical: w(8)),
|
|
|
|
1088
|
- child: Text('客户人均消费到达设置金额标记为高单值',
|
|
|
|
1089
|
- overflow: TextOverflow.ellipsis,
|
|
|
|
1090
|
- maxLines: 10,
|
|
|
|
1091
|
- style: TextStyle(
|
|
|
|
1092
|
- color: MyColours.color_515151,
|
|
|
|
1093
|
- fontSize: ScreenUtil().setSp(28))))),
|
|
|
|
1094
|
- HEmptyView(2),
|
|
|
|
1095
|
- Container(
|
|
|
|
1096
|
- width: w(40),
|
|
|
|
1097
|
- child: TextField(
|
|
|
|
1098
|
- controller: controllerHighValue,
|
|
|
|
1099
|
- textAlign: TextAlign.right,
|
|
|
|
1100
|
- textAlignVertical: TextAlignVertical.bottom,
|
|
|
|
1101
|
- maxLines: 1,
|
|
|
|
1102
|
- // //光标颜色
|
|
|
|
1103
|
- // cursorColor:
|
|
|
|
1104
|
- // widget.isSelect ? Colors.white : MyColours.color_199095,
|
|
|
|
1105
|
- //输入文本的样式
|
|
|
|
1106
|
- style: TextStyle(
|
|
|
|
1107
|
- color: MyColours.color_515151,
|
|
|
|
1108
|
- fontSize: ScreenUtil().setSp(28),
|
|
|
|
1109
|
- ),
|
|
|
|
1110
|
- inputFormatters: <TextInputFormatter>[
|
|
|
|
1111
|
- FilteringTextInputFormatter.allow(
|
|
|
|
1112
|
- RegExp("[0-9.]")),
|
|
|
|
1113
|
- ],
|
|
|
|
1114
|
- decoration: InputDecoration(
|
|
|
|
1115
|
- isCollapsed: true,
|
|
|
|
1116
|
- border: OutlineInputBorder(
|
|
|
|
1117
|
- borderSide: BorderSide.none),
|
|
|
|
1118
|
- hintText: '输入',
|
|
|
|
1119
|
- hintStyle: TextStyle(
|
|
|
|
1120
|
- color: MyColours.color_999999,
|
|
|
|
1121
|
- fontSize: ScreenUtil().setSp(28),
|
|
|
|
1122
|
- ),
|
|
|
|
1123
|
- enabledBorder: new UnderlineInputBorder(
|
|
|
|
1124
|
- borderSide: BorderSide.none,
|
|
|
|
1125
|
- ),
|
|
|
|
1126
|
- focusedBorder: new UnderlineInputBorder(
|
|
|
|
1127
|
- borderSide: BorderSide.none,
|
|
|
|
1128
|
- ),
|
|
|
|
1129
|
- ),
|
|
|
|
1130
|
- onChanged: (value) {},
|
|
|
|
1131
|
- onEditingComplete: () {
|
|
|
|
1132
|
- FocusScope.of(context)
|
|
|
|
1133
|
- .requestFocus(FocusNode()); //点击空白处隐藏键盘
|
|
|
|
1134
|
- },
|
|
|
|
1135
|
- keyboardType: TextInputType.number),
|
|
|
|
1136
|
- ),
|
|
|
|
1137
|
- HEmptyView(5),
|
|
|
|
1138
|
- Text('元',
|
|
|
|
1139
|
- style: TextStyle(
|
|
|
|
1140
|
- color: MyColours.color_999999,
|
|
|
|
1141
|
- fontSize: ScreenUtil().setSp(28))),
|
|
|
|
1142
|
- // HEmptyView(24),
|
|
|
|
1143
|
- ],
|
|
|
|
1144
|
- )),
|
|
|
|
1145
|
- Padding(
|
|
|
|
1146
|
- padding: EdgeInsets.only(left: w(14), right: w(10)),
|
|
|
|
1147
|
- child: MyDivider(
|
|
|
|
1148
|
- double.infinity,
|
|
|
|
1149
|
- w(1),
|
|
|
|
1150
|
- color: MyColours.color_E7E7E7,
|
|
|
|
1151
|
- )),
|
|
|
|
1152
|
- VEmptyView(24),
|
|
|
|
1153
|
- VEmptyView(48),
|
849
|
+ // Container(
|
|
|
|
850
|
+ // padding: EdgeInsets.symmetric(vertical: w(8)),
|
|
|
|
851
|
+ // child: Text('优质客户标记',
|
|
|
|
852
|
+ // style: TextStyle(
|
|
|
|
853
|
+ // color: MyColours.color_515151,
|
|
|
|
854
|
+ // fontSize: ScreenUtil().setSp(32)))),
|
|
|
|
855
|
+ // VEmptyView(22),
|
|
|
|
856
|
+ // MyDivider(
|
|
|
|
857
|
+ // double.infinity,
|
|
|
|
858
|
+ // w(1),
|
|
|
|
859
|
+ // color: MyColours.color_E7E7E7,
|
|
|
|
860
|
+ // ),
|
|
|
|
861
|
+ // VEmptyView(24),
|
|
|
|
862
|
+ // InkWell(
|
|
|
|
863
|
+ // onTap: () {
|
|
|
|
864
|
+ // setState(() {
|
|
|
|
865
|
+ // customerProvider.isHighFrequency =
|
|
|
|
866
|
+ // !customerProvider.isHighFrequency;
|
|
|
|
867
|
+ // });
|
|
|
|
868
|
+ // },
|
|
|
|
869
|
+ // child: Container(
|
|
|
|
870
|
+ // padding: EdgeInsets.symmetric(
|
|
|
|
871
|
+ // vertical: w(8), horizontal: w(14)),
|
|
|
|
872
|
+ // child: Row(
|
|
|
|
873
|
+ // mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
874
|
+ // crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
875
|
+ // children: [
|
|
|
|
876
|
+ // Text('高频客户标记',
|
|
|
|
877
|
+ // style: TextStyle(
|
|
|
|
878
|
+ // color: MyColours.color_515151,
|
|
|
|
879
|
+ // fontSize: ScreenUtil().setSp(28))),
|
|
|
|
880
|
+ // Image.asset(
|
|
|
|
881
|
+ // customerProvider.isHighFrequency
|
|
|
|
882
|
+ // ? Utils.getImgPath('swich_on')
|
|
|
|
883
|
+ // : Utils.getImgPath('swich_off'),
|
|
|
|
884
|
+ // width: ScreenUtil().setWidth(88),
|
|
|
|
885
|
+ // // height: ScreenUtil().setWidth(82),
|
|
|
|
886
|
+ // ),
|
|
|
|
887
|
+ // ],
|
|
|
|
888
|
+ // ),
|
|
|
|
889
|
+ // )),
|
|
|
|
890
|
+ // Padding(
|
|
|
|
891
|
+ // padding: EdgeInsets.only(left: w(14), right: w(10)),
|
|
|
|
892
|
+ // child: MyDivider(
|
|
|
|
893
|
+ // double.infinity,
|
|
|
|
894
|
+ // w(1),
|
|
|
|
895
|
+ // color: MyColours.color_E7E7E7,
|
|
|
|
896
|
+ // )),
|
|
|
|
897
|
+ // VEmptyView(24),
|
|
|
|
898
|
+ // Container(
|
|
|
|
899
|
+ // padding:
|
|
|
|
900
|
+ // EdgeInsets.symmetric(vertical: w(8), horizontal: w(14)),
|
|
|
|
901
|
+ // child: Row(
|
|
|
|
902
|
+ // children: [
|
|
|
|
903
|
+ // Expanded(
|
|
|
|
904
|
+ // child: Container(
|
|
|
|
905
|
+ // padding: EdgeInsets.symmetric(vertical: w(8)),
|
|
|
|
906
|
+ // child: Text('指定期限',
|
|
|
|
907
|
+ // overflow: TextOverflow.ellipsis,
|
|
|
|
908
|
+ // maxLines: 10,
|
|
|
|
909
|
+ // style: TextStyle(
|
|
|
|
910
|
+ // color: MyColours.color_515151,
|
|
|
|
911
|
+ // fontSize: ScreenUtil().setSp(28))))),
|
|
|
|
912
|
+ // HEmptyView(2),
|
|
|
|
913
|
+ // Container(
|
|
|
|
914
|
+ // width: w(40),
|
|
|
|
915
|
+ // child: TextField(
|
|
|
|
916
|
+ // controller: controllerDeadline,
|
|
|
|
917
|
+ // textAlign: TextAlign.right,
|
|
|
|
918
|
+ // textAlignVertical: TextAlignVertical.bottom,
|
|
|
|
919
|
+ // maxLines: 1,
|
|
|
|
920
|
+ // // //光标颜色
|
|
|
|
921
|
+ // // cursorColor:
|
|
|
|
922
|
+ // // widget.isSelect ? Colors.white : MyColours.color_199095,
|
|
|
|
923
|
+ // //输入文本的样式
|
|
|
|
924
|
+ // style: TextStyle(
|
|
|
|
925
|
+ // color: MyColours.color_515151,
|
|
|
|
926
|
+ // fontSize: ScreenUtil().setSp(28),
|
|
|
|
927
|
+ // ),
|
|
|
|
928
|
+ // inputFormatters: <TextInputFormatter>[
|
|
|
|
929
|
+ // FilteringTextInputFormatter.allow(
|
|
|
|
930
|
+ // RegExp(r'[0-9]')), //设置只允许输入数字
|
|
|
|
931
|
+ // ],
|
|
|
|
932
|
+ // decoration: InputDecoration(
|
|
|
|
933
|
+ // isCollapsed: true,
|
|
|
|
934
|
+ // border: OutlineInputBorder(
|
|
|
|
935
|
+ // borderSide: BorderSide.none),
|
|
|
|
936
|
+ // hintText: '输入',
|
|
|
|
937
|
+ // hintStyle: TextStyle(
|
|
|
|
938
|
+ // color: MyColours.color_999999,
|
|
|
|
939
|
+ // fontSize: ScreenUtil().setSp(28),
|
|
|
|
940
|
+ // ),
|
|
|
|
941
|
+ // enabledBorder: new UnderlineInputBorder(
|
|
|
|
942
|
+ // borderSide: BorderSide.none,
|
|
|
|
943
|
+ // ),
|
|
|
|
944
|
+ // focusedBorder: new UnderlineInputBorder(
|
|
|
|
945
|
+ // borderSide: BorderSide.none,
|
|
|
|
946
|
+ // ),
|
|
|
|
947
|
+ // ),
|
|
|
|
948
|
+ // onChanged: (value) {},
|
|
|
|
949
|
+ // onEditingComplete: () {
|
|
|
|
950
|
+ // FocusScope.of(context)
|
|
|
|
951
|
+ // .requestFocus(FocusNode()); //点击空白处隐藏键盘
|
|
|
|
952
|
+ // },
|
|
|
|
953
|
+ // keyboardType: TextInputType.number),
|
|
|
|
954
|
+ // ),
|
|
|
|
955
|
+ // HEmptyView(5),
|
|
|
|
956
|
+ // Text('天',
|
|
|
|
957
|
+ // style: TextStyle(
|
|
|
|
958
|
+ // color: MyColours.color_999999,
|
|
|
|
959
|
+ // fontSize: ScreenUtil().setSp(28))),
|
|
|
|
960
|
+ // // HEmptyView(24),
|
|
|
|
961
|
+ // ],
|
|
|
|
962
|
+ // )),
|
|
|
|
963
|
+ // Padding(
|
|
|
|
964
|
+ // padding: EdgeInsets.only(left: w(14), right: w(10)),
|
|
|
|
965
|
+ // child: MyDivider(
|
|
|
|
966
|
+ // double.infinity,
|
|
|
|
967
|
+ // w(1),
|
|
|
|
968
|
+ // color: MyColours.color_E7E7E7,
|
|
|
|
969
|
+ // )),
|
|
|
|
970
|
+ // VEmptyView(24),
|
|
|
|
971
|
+ // Container(
|
|
|
|
972
|
+ // padding:
|
|
|
|
973
|
+ // EdgeInsets.symmetric(vertical: w(8), horizontal: w(14)),
|
|
|
|
974
|
+ // child: Row(
|
|
|
|
975
|
+ // children: [
|
|
|
|
976
|
+ // Expanded(
|
|
|
|
977
|
+ // child: Container(
|
|
|
|
978
|
+ // padding: EdgeInsets.symmetric(vertical: w(8)),
|
|
|
|
979
|
+ // child: Text('消费次数',
|
|
|
|
980
|
+ // overflow: TextOverflow.ellipsis,
|
|
|
|
981
|
+ // maxLines: 10,
|
|
|
|
982
|
+ // style: TextStyle(
|
|
|
|
983
|
+ // color: MyColours.color_515151,
|
|
|
|
984
|
+ // fontSize: ScreenUtil().setSp(28))))),
|
|
|
|
985
|
+ // HEmptyView(2),
|
|
|
|
986
|
+ // Container(
|
|
|
|
987
|
+ // width: w(40),
|
|
|
|
988
|
+ // child: TextField(
|
|
|
|
989
|
+ // controller: controllerConsumptionTimes,
|
|
|
|
990
|
+ // textAlign: TextAlign.right,
|
|
|
|
991
|
+ // textAlignVertical: TextAlignVertical.bottom,
|
|
|
|
992
|
+ // maxLines: 1,
|
|
|
|
993
|
+ // // //光标颜色
|
|
|
|
994
|
+ // // cursorColor:
|
|
|
|
995
|
+ // // widget.isSelect ? Colors.white : MyColours.color_199095,
|
|
|
|
996
|
+ // //输入文本的样式
|
|
|
|
997
|
+ // style: TextStyle(
|
|
|
|
998
|
+ // color: MyColours.color_515151,
|
|
|
|
999
|
+ // fontSize: ScreenUtil().setSp(28),
|
|
|
|
1000
|
+ // ),
|
|
|
|
1001
|
+ // inputFormatters: <TextInputFormatter>[
|
|
|
|
1002
|
+ // FilteringTextInputFormatter.allow(
|
|
|
|
1003
|
+ // RegExp(r'[0-9]')), //设置只允许输入数字
|
|
|
|
1004
|
+ // ],
|
|
|
|
1005
|
+ // decoration: InputDecoration(
|
|
|
|
1006
|
+ // isCollapsed: true,
|
|
|
|
1007
|
+ // border: OutlineInputBorder(
|
|
|
|
1008
|
+ // borderSide: BorderSide.none),
|
|
|
|
1009
|
+ // hintText: '输入',
|
|
|
|
1010
|
+ // hintStyle: TextStyle(
|
|
|
|
1011
|
+ // color: MyColours.color_999999,
|
|
|
|
1012
|
+ // fontSize: ScreenUtil().setSp(28),
|
|
|
|
1013
|
+ // ),
|
|
|
|
1014
|
+ // enabledBorder: new UnderlineInputBorder(
|
|
|
|
1015
|
+ // borderSide: BorderSide.none,
|
|
|
|
1016
|
+ // ),
|
|
|
|
1017
|
+ // focusedBorder: new UnderlineInputBorder(
|
|
|
|
1018
|
+ // borderSide: BorderSide.none,
|
|
|
|
1019
|
+ // ),
|
|
|
|
1020
|
+ // ),
|
|
|
|
1021
|
+ // onChanged: (value) {},
|
|
|
|
1022
|
+ // onEditingComplete: () {
|
|
|
|
1023
|
+ // FocusScope.of(context)
|
|
|
|
1024
|
+ // .requestFocus(FocusNode()); //点击空白处隐藏键盘
|
|
|
|
1025
|
+ // },
|
|
|
|
1026
|
+ // keyboardType: TextInputType.number),
|
|
|
|
1027
|
+ // ),
|
|
|
|
1028
|
+ // HEmptyView(5),
|
|
|
|
1029
|
+ // Text('次',
|
|
|
|
1030
|
+ // style: TextStyle(
|
|
|
|
1031
|
+ // color: MyColours.color_999999,
|
|
|
|
1032
|
+ // fontSize: ScreenUtil().setSp(28))),
|
|
|
|
1033
|
+ // // HEmptyView(24),
|
|
|
|
1034
|
+ // ],
|
|
|
|
1035
|
+ // )),
|
|
|
|
1036
|
+ // Padding(
|
|
|
|
1037
|
+ // padding: EdgeInsets.only(left: w(14), right: w(10)),
|
|
|
|
1038
|
+ // child: MyDivider(
|
|
|
|
1039
|
+ // double.infinity,
|
|
|
|
1040
|
+ // w(1),
|
|
|
|
1041
|
+ // color: MyColours.color_E7E7E7,
|
|
|
|
1042
|
+ // )),
|
|
|
|
1043
|
+ // VEmptyView(24),
|
|
|
|
1044
|
+ // InkWell(
|
|
|
|
1045
|
+ // onTap: () {
|
|
|
|
1046
|
+ // setState(() {
|
|
|
|
1047
|
+ // customerProvider.isHighConsumption =
|
|
|
|
1048
|
+ // !customerProvider.isHighConsumption;
|
|
|
|
1049
|
+ // });
|
|
|
|
1050
|
+ // },
|
|
|
|
1051
|
+ // child: Container(
|
|
|
|
1052
|
+ // padding: EdgeInsets.symmetric(
|
|
|
|
1053
|
+ // vertical: w(8), horizontal: w(14)),
|
|
|
|
1054
|
+ // child: Row(
|
|
|
|
1055
|
+ // mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
1056
|
+ // crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
1057
|
+ // children: [
|
|
|
|
1058
|
+ // Text('高消费客户标记',
|
|
|
|
1059
|
+ // style: TextStyle(
|
|
|
|
1060
|
+ // color: MyColours.color_515151,
|
|
|
|
1061
|
+ // fontSize: ScreenUtil().setSp(28))),
|
|
|
|
1062
|
+ // Image.asset(
|
|
|
|
1063
|
+ // customerProvider.isHighConsumption
|
|
|
|
1064
|
+ // ? Utils.getImgPath('swich_on')
|
|
|
|
1065
|
+ // : Utils.getImgPath('swich_off'),
|
|
|
|
1066
|
+ // width: ScreenUtil().setWidth(88),
|
|
|
|
1067
|
+ // // height: ScreenUtil().setWidth(82),
|
|
|
|
1068
|
+ // ),
|
|
|
|
1069
|
+ // ],
|
|
|
|
1070
|
+ // ),
|
|
|
|
1071
|
+ // )),
|
|
|
|
1072
|
+ // Padding(
|
|
|
|
1073
|
+ // padding: EdgeInsets.only(left: w(14), right: w(10)),
|
|
|
|
1074
|
+ // child: MyDivider(
|
|
|
|
1075
|
+ // double.infinity,
|
|
|
|
1076
|
+ // w(1),
|
|
|
|
1077
|
+ // color: MyColours.color_E7E7E7,
|
|
|
|
1078
|
+ // )),
|
|
|
|
1079
|
+ // VEmptyView(24),
|
|
|
|
1080
|
+ // Container(
|
|
|
|
1081
|
+ // padding:
|
|
|
|
1082
|
+ // EdgeInsets.symmetric(vertical: w(8), horizontal: w(14)),
|
|
|
|
1083
|
+ // child: Row(
|
|
|
|
1084
|
+ // children: [
|
|
|
|
1085
|
+ // Expanded(
|
|
|
|
1086
|
+ // child: Container(
|
|
|
|
1087
|
+ // padding: EdgeInsets.symmetric(vertical: w(8)),
|
|
|
|
1088
|
+ // child: Text('客户人均消费到达设置金额标记为高单值',
|
|
|
|
1089
|
+ // overflow: TextOverflow.ellipsis,
|
|
|
|
1090
|
+ // maxLines: 10,
|
|
|
|
1091
|
+ // style: TextStyle(
|
|
|
|
1092
|
+ // color: MyColours.color_515151,
|
|
|
|
1093
|
+ // fontSize: ScreenUtil().setSp(28))))),
|
|
|
|
1094
|
+ // HEmptyView(2),
|
|
|
|
1095
|
+ // Container(
|
|
|
|
1096
|
+ // width: w(40),
|
|
|
|
1097
|
+ // child: TextField(
|
|
|
|
1098
|
+ // controller: controllerHighValue,
|
|
|
|
1099
|
+ // textAlign: TextAlign.right,
|
|
|
|
1100
|
+ // textAlignVertical: TextAlignVertical.bottom,
|
|
|
|
1101
|
+ // maxLines: 1,
|
|
|
|
1102
|
+ // // //光标颜色
|
|
|
|
1103
|
+ // // cursorColor:
|
|
|
|
1104
|
+ // // widget.isSelect ? Colors.white : MyColours.color_199095,
|
|
|
|
1105
|
+ // //输入文本的样式
|
|
|
|
1106
|
+ // style: TextStyle(
|
|
|
|
1107
|
+ // color: MyColours.color_515151,
|
|
|
|
1108
|
+ // fontSize: ScreenUtil().setSp(28),
|
|
|
|
1109
|
+ // ),
|
|
|
|
1110
|
+ // inputFormatters: <TextInputFormatter>[
|
|
|
|
1111
|
+ // FilteringTextInputFormatter.allow(
|
|
|
|
1112
|
+ // RegExp("[0-9.]")),
|
|
|
|
1113
|
+ // ],
|
|
|
|
1114
|
+ // decoration: InputDecoration(
|
|
|
|
1115
|
+ // isCollapsed: true,
|
|
|
|
1116
|
+ // border: OutlineInputBorder(
|
|
|
|
1117
|
+ // borderSide: BorderSide.none),
|
|
|
|
1118
|
+ // hintText: '输入',
|
|
|
|
1119
|
+ // hintStyle: TextStyle(
|
|
|
|
1120
|
+ // color: MyColours.color_999999,
|
|
|
|
1121
|
+ // fontSize: ScreenUtil().setSp(28),
|
|
|
|
1122
|
+ // ),
|
|
|
|
1123
|
+ // enabledBorder: new UnderlineInputBorder(
|
|
|
|
1124
|
+ // borderSide: BorderSide.none,
|
|
|
|
1125
|
+ // ),
|
|
|
|
1126
|
+ // focusedBorder: new UnderlineInputBorder(
|
|
|
|
1127
|
+ // borderSide: BorderSide.none,
|
|
|
|
1128
|
+ // ),
|
|
|
|
1129
|
+ // ),
|
|
|
|
1130
|
+ // onChanged: (value) {},
|
|
|
|
1131
|
+ // onEditingComplete: () {
|
|
|
|
1132
|
+ // FocusScope.of(context)
|
|
|
|
1133
|
+ // .requestFocus(FocusNode()); //点击空白处隐藏键盘
|
|
|
|
1134
|
+ // },
|
|
|
|
1135
|
+ // keyboardType: TextInputType.number),
|
|
|
|
1136
|
+ // ),
|
|
|
|
1137
|
+ // HEmptyView(5),
|
|
|
|
1138
|
+ // Text('元',
|
|
|
|
1139
|
+ // style: TextStyle(
|
|
|
|
1140
|
+ // color: MyColours.color_999999,
|
|
|
|
1141
|
+ // fontSize: ScreenUtil().setSp(28))),
|
|
|
|
1142
|
+ // // HEmptyView(24),
|
|
|
|
1143
|
+ // ],
|
|
|
|
1144
|
+ // )),
|
|
|
|
1145
|
+ // Padding(
|
|
|
|
1146
|
+ // padding: EdgeInsets.only(left: w(14), right: w(10)),
|
|
|
|
1147
|
+ // child: MyDivider(
|
|
|
|
1148
|
+ // double.infinity,
|
|
|
|
1149
|
+ // w(1),
|
|
|
|
1150
|
+ // color: MyColours.color_E7E7E7,
|
|
|
|
1151
|
+ // )),
|
|
|
|
1152
|
+ // VEmptyView(24),
|
|
|
|
1153
|
+ // VEmptyView(48),
|
|
1154
|
Text('店内自定义标签',
|
1154
|
Text('店内自定义标签',
|
|
1155
|
style: TextStyle(
|
1155
|
style: TextStyle(
|
|
1156
|
color: MyColours.color_515151,
|
1156
|
color: MyColours.color_515151,
|