|
@@ -121,7 +121,7 @@ class FTableItemState extends State<FTableItem> { |
|
@@ -121,7 +121,7 @@ class FTableItemState extends State<FTableItem> { |
|
121
|
// margin: EdgeInsets.all(ScreenUtil().setWidth(9)),
|
121
|
// margin: EdgeInsets.all(ScreenUtil().setWidth(9)),
|
|
122
|
decoration: BoxDecoration(
|
122
|
decoration: BoxDecoration(
|
|
123
|
color: widget.need && signStr == '已预订' && !isSelf
|
123
|
color: widget.need && signStr == '已预订' && !isSelf
|
|
124
|
- ? Color.fromRGBO(154, 23, 45, 1)
|
124
|
+ ? MyColours.color_afbcc4
|
|
125
|
: widget.canSelected && table.selected
|
125
|
: widget.canSelected && table.selected
|
|
126
|
? MyColours.color_199095
|
126
|
? MyColours.color_199095
|
|
127
|
: MyColours.color_ffffff,
|
127
|
: MyColours.color_ffffff,
|
|
@@ -152,13 +152,13 @@ class FTableItemState extends State<FTableItem> { |
|
@@ -152,13 +152,13 @@ class FTableItemState extends State<FTableItem> { |
|
152
|
table.name,
|
152
|
table.name,
|
|
153
|
maxLines: 1,
|
153
|
maxLines: 1,
|
|
154
|
style: TextStyle(
|
154
|
style: TextStyle(
|
|
155
|
- color: (widget.need &&
|
|
|
|
156
|
- signStr == '已预订' &&
|
|
|
|
157
|
- !isSelf) ||
|
|
|
|
158
|
- (widget.canSelected && table.selected)
|
|
|
|
159
|
- ? MyColours.color_ffffff
|
|
|
|
160
|
- : MyColours.color_333333,
|
|
|
|
161
|
- fontSize: ScreenUtil().setSp(36),
|
155
|
+ color:
|
|
|
|
156
|
+ (widget.need && signStr == '已预订' && !isSelf)
|
|
|
|
157
|
+ ? MyColours.color_333333
|
|
|
|
158
|
+ : (widget.canSelected && table.selected)
|
|
|
|
159
|
+ ? MyColours.color_ffffff
|
|
|
|
160
|
+ : MyColours.color_333333,
|
|
|
|
161
|
+ fontSize: ScreenUtil().setSp(34),
|
|
162
|
decoration: TextDecoration.none,
|
162
|
decoration: TextDecoration.none,
|
|
163
|
fontWeight: FontWeight.bold),
|
163
|
fontWeight: FontWeight.bold),
|
|
164
|
overflow: TextOverflow.ellipsis,
|
164
|
overflow: TextOverflow.ellipsis,
|
|
@@ -199,10 +199,11 @@ class FTableItemState extends State<FTableItem> { |
|
@@ -199,10 +199,11 @@ class FTableItemState extends State<FTableItem> { |
|
199
|
: '')
|
199
|
: '')
|
|
200
|
: table.tableNum,
|
200
|
: table.tableNum,
|
|
201
|
style: TextStyle(
|
201
|
style: TextStyle(
|
|
202
|
- color: signStr == '已预订' && !isSelf ||
|
|
|
|
203
|
- (widget.canSelected && table.selected)
|
|
|
|
204
|
- ? MyColours.color_ffffff
|
|
|
|
205
|
- : MyColours.color_353535,
|
202
|
+ color: signStr == '已预订' && !isSelf
|
|
|
|
203
|
+ ? MyColours.color_353535
|
|
|
|
204
|
+ : (widget.canSelected && table.selected)
|
|
|
|
205
|
+ ? MyColours.color_ffffff
|
|
|
|
206
|
+ : MyColours.color_353535,
|
|
206
|
fontSize: ScreenUtil().setSp(22),
|
207
|
fontSize: ScreenUtil().setSp(22),
|
|
207
|
decoration: TextDecoration.none,
|
208
|
decoration: TextDecoration.none,
|
|
208
|
fontWeight: FontWeight.normal),
|
209
|
fontWeight: FontWeight.normal),
|
|
@@ -220,7 +221,7 @@ class FTableItemState extends State<FTableItem> { |
|
@@ -220,7 +221,7 @@ class FTableItemState extends State<FTableItem> { |
|
220
|
? '${table.nickName}订'
|
221
|
? '${table.nickName}订'
|
|
221
|
: '',
|
222
|
: '',
|
|
222
|
style: TextStyle(
|
223
|
style: TextStyle(
|
|
223
|
- color: MyColours.color_ffffff,
|
224
|
+ color: MyColours.color_353535,
|
|
224
|
fontSize: ScreenUtil().setSp(22),
|
225
|
fontSize: ScreenUtil().setSp(22),
|
|
225
|
decoration: TextDecoration.none,
|
226
|
decoration: TextDecoration.none,
|
|
226
|
fontWeight: FontWeight.normal),
|
227
|
fontWeight: FontWeight.normal),
|
|
@@ -237,12 +238,12 @@ class FTableItemState extends State<FTableItem> { |
|
@@ -237,12 +238,12 @@ class FTableItemState extends State<FTableItem> { |
|
237
|
padding: EdgeInsets.symmetric(
|
238
|
padding: EdgeInsets.symmetric(
|
|
238
|
horizontal: ScreenUtil().setWidth(10)),
|
239
|
horizontal: ScreenUtil().setWidth(10)),
|
|
239
|
decoration: BoxDecoration(
|
240
|
decoration: BoxDecoration(
|
|
240
|
- color: Color.fromRGBO(232, 141, 164, 1),
|
241
|
+ color: MyColours.color_d7d7d7,
|
|
241
|
),
|
242
|
),
|
|
242
|
child: Text(
|
243
|
child: Text(
|
|
243
|
'新客',
|
244
|
'新客',
|
|
244
|
style: TextStyle(
|
245
|
style: TextStyle(
|
|
245
|
- color: MyColours.color_ffffff,
|
246
|
+ color: MyColours.color_353535,
|
|
246
|
fontSize: ScreenUtil().setSp(24),
|
247
|
fontSize: ScreenUtil().setSp(24),
|
|
247
|
decoration: TextDecoration.none,
|
248
|
decoration: TextDecoration.none,
|
|
248
|
fontWeight: FontWeight.normal),
|
249
|
fontWeight: FontWeight.normal),
|