|
...
|
...
|
@@ -121,7 +121,7 @@ class FTableItemState extends State<FTableItem> { |
|
|
|
// margin: EdgeInsets.all(ScreenUtil().setWidth(9)),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
color: widget.need && signStr == '已预订' && !isSelf
|
|
|
|
? Color.fromRGBO(154, 23, 45, 1)
|
|
|
|
? MyColours.color_afbcc4
|
|
|
|
: widget.canSelected && table.selected
|
|
|
|
? MyColours.color_199095
|
|
|
|
: MyColours.color_ffffff,
|
|
...
|
...
|
@@ -152,13 +152,13 @@ class FTableItemState extends State<FTableItem> { |
|
|
|
table.name,
|
|
|
|
maxLines: 1,
|
|
|
|
style: TextStyle(
|
|
|
|
color: (widget.need &&
|
|
|
|
signStr == '已预订' &&
|
|
|
|
!isSelf) ||
|
|
|
|
(widget.canSelected && table.selected)
|
|
|
|
? MyColours.color_ffffff
|
|
|
|
: MyColours.color_333333,
|
|
|
|
fontSize: ScreenUtil().setSp(36),
|
|
|
|
color:
|
|
|
|
(widget.need && signStr == '已预订' && !isSelf)
|
|
|
|
? MyColours.color_333333
|
|
|
|
: (widget.canSelected && table.selected)
|
|
|
|
? MyColours.color_ffffff
|
|
|
|
: MyColours.color_333333,
|
|
|
|
fontSize: ScreenUtil().setSp(34),
|
|
|
|
decoration: TextDecoration.none,
|
|
|
|
fontWeight: FontWeight.bold),
|
|
|
|
overflow: TextOverflow.ellipsis,
|
|
...
|
...
|
@@ -199,10 +199,11 @@ class FTableItemState extends State<FTableItem> { |
|
|
|
: '')
|
|
|
|
: table.tableNum,
|
|
|
|
style: TextStyle(
|
|
|
|
color: signStr == '已预订' && !isSelf ||
|
|
|
|
(widget.canSelected && table.selected)
|
|
|
|
? MyColours.color_ffffff
|
|
|
|
: MyColours.color_353535,
|
|
|
|
color: signStr == '已预订' && !isSelf
|
|
|
|
? MyColours.color_353535
|
|
|
|
: (widget.canSelected && table.selected)
|
|
|
|
? MyColours.color_ffffff
|
|
|
|
: MyColours.color_353535,
|
|
|
|
fontSize: ScreenUtil().setSp(22),
|
|
|
|
decoration: TextDecoration.none,
|
|
|
|
fontWeight: FontWeight.normal),
|
|
...
|
...
|
@@ -220,7 +221,7 @@ class FTableItemState extends State<FTableItem> { |
|
|
|
? '${table.nickName}订'
|
|
|
|
: '',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_ffffff,
|
|
|
|
color: MyColours.color_353535,
|
|
|
|
fontSize: ScreenUtil().setSp(22),
|
|
|
|
decoration: TextDecoration.none,
|
|
|
|
fontWeight: FontWeight.normal),
|
|
...
|
...
|
@@ -237,12 +238,12 @@ class FTableItemState extends State<FTableItem> { |
|
|
|
padding: EdgeInsets.symmetric(
|
|
|
|
horizontal: ScreenUtil().setWidth(10)),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
color: Color.fromRGBO(232, 141, 164, 1),
|
|
|
|
color: MyColours.color_d7d7d7,
|
|
|
|
),
|
|
|
|
child: Text(
|
|
|
|
'新客',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_ffffff,
|
|
|
|
color: MyColours.color_353535,
|
|
|
|
fontSize: ScreenUtil().setSp(24),
|
|
|
|
decoration: TextDecoration.none,
|
|
|
|
fontWeight: FontWeight.normal),
|
...
|
...
|
|