daxu0403 7 лет назад
Родитель
Сommit
ce2ea7645b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/pages/order_management_page.dart

+ 1 - 1
lib/pages/order_management_page.dart

@@ -384,7 +384,7 @@ class _QueryWidgetState extends State < QueryWidget > {
                   mainAxisAlignment: MainAxisAlignment.spaceBetween,
                   children: < Widget > [
                     Text('订单号:${obj.orderNo}', style: TextStyle(fontSize: ScreenUtil.getInstance().setSp(24), color: Color.fromRGBO(102, 102, 102, 1)), ),
-                    Text('${statusMap[obj.orderStatus]}', style: TextStyle(fontSize: ScreenUtil.getInstance().setSp(24), color: Color.fromRGBO(126, 211, 33, 1)), ),
+                    Text('${statusMap[obj.orderStatus]}', style: TextStyle(fontSize: ScreenUtil.getInstance().setSp(24), color:obj.orderStatus==5?Colors.red:Color.fromRGBO(126, 211, 33, 1)), ),
                   ],
                 )
               ),