|
|
@ -33,7 +33,7 @@ class _OrderStatus extends State<OrderStatus> { |
|
|
|
@override |
|
|
|
@override |
|
|
|
Widget build(BuildContext context) { |
|
|
|
Widget build(BuildContext context) { |
|
|
|
return Container( |
|
|
|
return Container( |
|
|
|
height: widget.orderStatus >= 4 ? 118.h : 118.h, |
|
|
|
height: widget.orderStatus >= 4 ? 120.h : 120.h, |
|
|
|
padding: EdgeInsets.fromLTRB(16.w, 0, 16.w, 10.h), |
|
|
|
padding: EdgeInsets.fromLTRB(16.w, 0, 16.w, 10.h), |
|
|
|
child: Column( |
|
|
|
child: Column( |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
@ -80,7 +80,11 @@ class _OrderStatus extends State<OrderStatus> { |
|
|
|
), |
|
|
|
), |
|
|
|
Row( |
|
|
|
Row( |
|
|
|
mainAxisAlignment:MainAxisAlignment.spaceBetween, |
|
|
|
mainAxisAlignment:MainAxisAlignment.spaceBetween, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.end, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
|
|
|
children: [ |
|
|
|
|
|
|
|
Column( |
|
|
|
|
|
|
|
mainAxisAlignment:MainAxisAlignment.spaceBetween, |
|
|
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
Text( |
|
|
|
Text( |
|
|
|
widget.title, |
|
|
|
widget.title, |
|
|
@ -90,6 +94,33 @@ class _OrderStatus extends State<OrderStatus> { |
|
|
|
fontSize: 15.sp, |
|
|
|
fontSize: 15.sp, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
|
|
|
|
if(widget.title == S.of(context).shangjiazhengzaipeican) |
|
|
|
|
|
|
|
Container( |
|
|
|
|
|
|
|
margin: EdgeInsets.only(top:5), |
|
|
|
|
|
|
|
padding: EdgeInsets.only(top:2,left:4,right:4,bottom:2), |
|
|
|
|
|
|
|
decoration: BoxDecoration( |
|
|
|
|
|
|
|
color: Color(0xFF32A060), |
|
|
|
|
|
|
|
boxShadow: [ |
|
|
|
|
|
|
|
BoxShadow( |
|
|
|
|
|
|
|
color: Colors.black.withAlpha(15), |
|
|
|
|
|
|
|
offset: Offset(0, 3), |
|
|
|
|
|
|
|
blurRadius: 14, |
|
|
|
|
|
|
|
spreadRadius: 0, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
borderRadius: BorderRadius.circular(15), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
child: Text( |
|
|
|
|
|
|
|
S.of(context).qudanhao(":" + widget.orderInfo.dayFlowCode), |
|
|
|
|
|
|
|
style: TextStyle( |
|
|
|
|
|
|
|
color:Colors.white, |
|
|
|
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
|
|
|
fontSize: 14.sp, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
), |
|
|
|
if(widget.payStatus != 0) |
|
|
|
if(widget.payStatus != 0) |
|
|
|
Image.asset( |
|
|
|
Image.asset( |
|
|
|
statusPicture(widget.title), |
|
|
|
statusPicture(widget.title), |
|
|
|