Explorar o código

已作废改为红色

daxu0403 %!s(int64=7) %!d(string=hai) anos
pai
achega
ce2ea7645b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)), ),
                   ],
                 )
               ),