Commit c1bb7cd74eb077a76ac37421b8419a2c64c50aff

Authored by gaiyaguang
1 parent 2095617c

桌位停用bug修复

... ... @@ -11,14 +11,14 @@ if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = "134"
def flutterVersionCode = "135"
if (flutterVersionCode == null) {
flutterVersionCode = '134'
flutterVersionCode = '135'
}
def flutterVersionName = "1.3.4"
def flutterVersionName = "1.3.5"
if (flutterVersionName == null) {
flutterVersionName = '1.3.4'
flutterVersionName = '1.3.5'
}
apply plugin: 'com.android.application'
... ...
... ... @@ -69,7 +69,7 @@ class Table {
}
String get signStr {
if (sign != null) {
if (sign != null&&sign.isNotEmpty) {
switch (sign) {
case "1": //已预订
case "5": //已安排包间
... ...
... ... @@ -81,7 +81,7 @@ class TableItemState extends State<TableItem> {
height: ScreenUtil().setWidth(widget.height),
margin: EdgeInsets.all(ScreenUtil().setWidth(9)),
decoration: BoxDecoration(
color: table.signStr == '已停用'
color: table.enable == '0'
? MyColours.color_E0E0E0
: MyColours.color_A9E3E6,
borderRadius: BorderRadius.all(
... ... @@ -135,7 +135,7 @@ class TableItemState extends State<TableItem> {
table.name,
maxLines: 2,
style: TextStyle(
color: table.signStr == '已停用'
color: table.enable == '0'
? MyColours.color_999999
: MyColours.color_353535,
fontSize: ScreenUtil().setSp(28),
... ...