|
@@ -3073,7 +3073,7 @@ class InvicationPageState extends State<InvicationPage> |
|
@@ -3073,7 +3073,7 @@ class InvicationPageState extends State<InvicationPage> |
|
3073
|
Expanded(
|
3073
|
Expanded(
|
|
3074
|
child: Text(
|
3074
|
child: Text(
|
|
3075
|
reserveType!,
|
3075
|
reserveType!,
|
|
3076
|
- textAlign: TextAlign.center,
|
3076
|
+ textAlign: TextAlign.right,
|
|
3077
|
style: TextStyle(
|
3077
|
style: TextStyle(
|
|
3078
|
color: reserveType == '请选择'
|
3078
|
color: reserveType == '请选择'
|
|
3079
|
? MyColours.color_999999
|
3079
|
? MyColours.color_999999
|
|
@@ -3089,64 +3089,64 @@ class InvicationPageState extends State<InvicationPage> |
|
@@ -3089,64 +3089,64 @@ class InvicationPageState extends State<InvicationPage> |
|
3089
|
))
|
3089
|
))
|
|
3090
|
],
|
3090
|
],
|
|
3091
|
)),
|
3091
|
)),
|
|
3092
|
- HEmptyView(20),
|
|
|
|
3093
|
- Expanded(
|
|
|
|
3094
|
- child: Row(
|
|
|
|
3095
|
- // mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
3096
|
- crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
3097
|
- children: [
|
|
|
|
3098
|
- Text("赠券对象:",
|
|
|
|
3099
|
- style: TextStyle(
|
|
|
|
3100
|
- color: MyColours.color_515151,
|
|
|
|
3101
|
- fontSize: ScreenUtil().setSp(28))),
|
|
|
|
3102
|
- Expanded(
|
|
|
|
3103
|
- child: InkWell(
|
|
|
|
3104
|
- onTap: () {
|
|
|
|
3105
|
- FocusScope.of(context)
|
|
|
|
3106
|
- .requestFocus(FocusNode()); //隐藏键盘
|
|
|
|
3107
|
- // 存储
|
|
|
|
3108
|
-
|
|
|
|
3109
|
- DialogUtil.showSelectCusmanDialog(
|
|
|
|
3110
|
- context, couponTypes,
|
|
|
|
3111
|
- title: '赠送优惠券给', (value) async {
|
|
|
|
3112
|
- if (value != null) {
|
|
|
|
3113
|
- int couponSelectIndex = value.first;
|
|
|
|
3114
|
- couponType =
|
|
|
|
3115
|
- couponTypes[couponSelectIndex];
|
|
|
|
3116
|
-
|
|
|
|
3117
|
- setState(() {});
|
|
|
|
3118
|
- }
|
|
|
|
3119
|
- },
|
|
|
|
3120
|
- selecteds: couponTypes
|
|
|
|
3121
|
- .indexOf(couponType) ==
|
|
|
|
3122
|
- -1
|
|
|
|
3123
|
- ? []
|
|
|
|
3124
|
- : [
|
|
|
|
3125
|
- couponTypes
|
|
|
|
3126
|
- .indexOf(couponType)
|
|
|
|
3127
|
- ])
|
|
|
|
3128
|
- .then((value) {});
|
|
|
|
3129
|
- },
|
|
|
|
3130
|
- child: Row(children: [
|
|
|
|
3131
|
- Expanded(
|
|
|
|
3132
|
- child: Text(
|
|
|
|
3133
|
- couponType,
|
|
|
|
3134
|
- textAlign: TextAlign.center,
|
|
|
|
3135
|
- style: TextStyle(
|
|
|
|
3136
|
- color: couponType == '请选择'
|
|
|
|
3137
|
- ? MyColours.color_999999
|
|
|
|
3138
|
- : MyColours.color_515151,
|
|
|
|
3139
|
- fontSize: ScreenUtil().setSp(28),
|
|
|
|
3140
|
- ),
|
|
|
|
3141
|
- )),
|
|
|
|
3142
|
- HEmptyView(10),
|
|
|
|
3143
|
- Image.asset(Utils.getImgPath('quan_down_f'),
|
|
|
|
3144
|
- width: ScreenUtil().setWidth(28),
|
|
|
|
3145
|
- height: ScreenUtil().setWidth(28)),
|
|
|
|
3146
|
- ]),
|
|
|
|
3147
|
- ))
|
|
|
|
3148
|
- ],
|
|
|
|
3149
|
- ))
|
3092
|
+ // HEmptyView(20),
|
|
|
|
3093
|
+ // Expanded(
|
|
|
|
3094
|
+ // child: Row(
|
|
|
|
3095
|
+ // // mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
3096
|
+ // crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
3097
|
+ // children: [
|
|
|
|
3098
|
+ // Text("赠券对象:",
|
|
|
|
3099
|
+ // style: TextStyle(
|
|
|
|
3100
|
+ // color: MyColours.color_515151,
|
|
|
|
3101
|
+ // fontSize: ScreenUtil().setSp(28))),
|
|
|
|
3102
|
+ // Expanded(
|
|
|
|
3103
|
+ // child: InkWell(
|
|
|
|
3104
|
+ // onTap: () {
|
|
|
|
3105
|
+ // FocusScope.of(context)
|
|
|
|
3106
|
+ // .requestFocus(FocusNode()); //隐藏键盘
|
|
|
|
3107
|
+ // // 存储
|
|
|
|
3108
|
+
|
|
|
|
3109
|
+ // DialogUtil.showSelectCusmanDialog(
|
|
|
|
3110
|
+ // context, couponTypes,
|
|
|
|
3111
|
+ // title: '赠送优惠券给', (value) async {
|
|
|
|
3112
|
+ // if (value != null) {
|
|
|
|
3113
|
+ // int couponSelectIndex = value.first;
|
|
|
|
3114
|
+ // couponType =
|
|
|
|
3115
|
+ // couponTypes[couponSelectIndex];
|
|
|
|
3116
|
+
|
|
|
|
3117
|
+ // setState(() {});
|
|
|
|
3118
|
+ // }
|
|
|
|
3119
|
+ // },
|
|
|
|
3120
|
+ // selecteds: couponTypes
|
|
|
|
3121
|
+ // .indexOf(couponType) ==
|
|
|
|
3122
|
+ // -1
|
|
|
|
3123
|
+ // ? []
|
|
|
|
3124
|
+ // : [
|
|
|
|
3125
|
+ // couponTypes
|
|
|
|
3126
|
+ // .indexOf(couponType)
|
|
|
|
3127
|
+ // ])
|
|
|
|
3128
|
+ // .then((value) {});
|
|
|
|
3129
|
+ // },
|
|
|
|
3130
|
+ // child: Row(children: [
|
|
|
|
3131
|
+ // Expanded(
|
|
|
|
3132
|
+ // child: Text(
|
|
|
|
3133
|
+ // couponType,
|
|
|
|
3134
|
+ // textAlign: TextAlign.center,
|
|
|
|
3135
|
+ // style: TextStyle(
|
|
|
|
3136
|
+ // color: couponType == '请选择'
|
|
|
|
3137
|
+ // ? MyColours.color_999999
|
|
|
|
3138
|
+ // : MyColours.color_515151,
|
|
|
|
3139
|
+ // fontSize: ScreenUtil().setSp(28),
|
|
|
|
3140
|
+ // ),
|
|
|
|
3141
|
+ // )),
|
|
|
|
3142
|
+ // HEmptyView(10),
|
|
|
|
3143
|
+ // Image.asset(Utils.getImgPath('quan_down_f'),
|
|
|
|
3144
|
+ // width: ScreenUtil().setWidth(28),
|
|
|
|
3145
|
+ // height: ScreenUtil().setWidth(28)),
|
|
|
|
3146
|
+ // ]),
|
|
|
|
3147
|
+ // ))
|
|
|
|
3148
|
+ // ],
|
|
|
|
3149
|
+ // ))
|
|
3150
|
],
|
3150
|
],
|
|
3151
|
)),
|
3151
|
)),
|
|
3152
|
if (detailModel.isShowNoticeDeposit == '1')
|
3152
|
if (detailModel.isShowNoticeDeposit == '1')
|