|
|
|
@ -174,61 +174,52 @@ class _OrderDetailPage extends State<OrderDetailPage> {
|
|
|
|
|
}, |
|
|
|
|
), |
|
|
|
|
onRefresh:(){ |
|
|
|
|
setState(() { |
|
|
|
|
queryDetails(); |
|
|
|
|
}); |
|
|
|
|
queryDetails(); |
|
|
|
|
}, |
|
|
|
|
physics: BouncingScrollPhysics(), |
|
|
|
|
scrollController: ScrollController(), |
|
|
|
|
child: Container( |
|
|
|
|
child: SingleChildScrollView( |
|
|
|
|
physics: BouncingScrollPhysics(), |
|
|
|
|
child: Container( |
|
|
|
|
child: Column( |
|
|
|
|
children: [ |
|
|
|
|
///订单状态显示 |
|
|
|
|
OrderStatus( |
|
|
|
|
orderStatus, |
|
|
|
|
isTakeOut, |
|
|
|
|
sendStatus, |
|
|
|
|
payStatus, |
|
|
|
|
refundStatus, |
|
|
|
|
title, |
|
|
|
|
center, |
|
|
|
|
orderInfo, |
|
|
|
|
), |
|
|
|
|
child: Column( |
|
|
|
|
children: [ |
|
|
|
|
///订单状态显示 |
|
|
|
|
OrderStatus( |
|
|
|
|
orderStatus, |
|
|
|
|
isTakeOut, |
|
|
|
|
sendStatus, |
|
|
|
|
payStatus, |
|
|
|
|
refundStatus, |
|
|
|
|
title, |
|
|
|
|
center, |
|
|
|
|
orderInfo, |
|
|
|
|
), |
|
|
|
|
|
|
|
|
|
///订单取货地址,或, 收货地址 |
|
|
|
|
if(orderInfo != null && orderInfo.addressExt != null) |
|
|
|
|
OrderAddress( |
|
|
|
|
orderStatus, |
|
|
|
|
isTakeOut, |
|
|
|
|
sendStatus, |
|
|
|
|
payStatus, |
|
|
|
|
refundStatus, |
|
|
|
|
title, |
|
|
|
|
center, |
|
|
|
|
paySelected, |
|
|
|
|
_orderCancel, |
|
|
|
|
orderInfo, |
|
|
|
|
jumpState |
|
|
|
|
), |
|
|
|
|
///订单取货地址,或, 收货地址 |
|
|
|
|
if(orderInfo != null && orderInfo.addressExt != null) |
|
|
|
|
OrderAddress( |
|
|
|
|
orderStatus, |
|
|
|
|
isTakeOut, |
|
|
|
|
sendStatus, |
|
|
|
|
payStatus, |
|
|
|
|
refundStatus, |
|
|
|
|
title, |
|
|
|
|
center, |
|
|
|
|
paySelected, |
|
|
|
|
_orderCancel, |
|
|
|
|
orderInfo, |
|
|
|
|
jumpState |
|
|
|
|
), |
|
|
|
|
|
|
|
|
|
///订单商品 |
|
|
|
|
if(orderInfo != null) |
|
|
|
|
OrderCommodity(orderInfo), |
|
|
|
|
///订单商品 |
|
|
|
|
if(orderInfo != null) |
|
|
|
|
OrderCommodity(orderInfo), |
|
|
|
|
|
|
|
|
|
///显示订单信息 |
|
|
|
|
if(orderInfo != null) |
|
|
|
|
OrderInfoView(orderInfo, isTakeOut), |
|
|
|
|
///显示订单信息 |
|
|
|
|
if(orderInfo != null) |
|
|
|
|
OrderInfoView(orderInfo, isTakeOut), |
|
|
|
|
|
|
|
|
|
Container( |
|
|
|
|
height: 42.h, |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
Container( |
|
|
|
|
height: 42.h, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
) |
|
|
|
|