|
|
|
@ -883,8 +883,7 @@ class _OrderDetailPage extends State<OrderDetailPage> {
|
|
|
|
|
if (orderInfo == null) return []; |
|
|
|
|
List<Widget> widgets = []; |
|
|
|
|
if (orderInfo.productList != null) { |
|
|
|
|
widgets |
|
|
|
|
.addAll(orderInfo.productList.map((e) => commodityItem(e)).toList()); |
|
|
|
|
widgets.addAll(orderInfo.productList.map((e) => commodityItem(e)).toList()); |
|
|
|
|
} |
|
|
|
|
widgets.add(SizedBox(height: 20.h)); |
|
|
|
|
|
|
|
|
@ -904,7 +903,7 @@ class _OrderDetailPage extends State<OrderDetailPage> {
|
|
|
|
|
// 配送费 |
|
|
|
|
widgets.add(discountItem( |
|
|
|
|
Color(0xFF32A060), |
|
|
|
|
"优惠券", |
|
|
|
|
S.of(context).youhuiquan, |
|
|
|
|
orderInfo.orderDetail.couponDTO.name, |
|
|
|
|
orderInfo.orderDetail.couponDTO.money)); |
|
|
|
|
} |
|
|
|
@ -1110,7 +1109,7 @@ class _OrderDetailPage extends State<OrderDetailPage> {
|
|
|
|
|
children: [ |
|
|
|
|
MImage( |
|
|
|
|
productList.skuImg, |
|
|
|
|
width: 44, |
|
|
|
|
width: 44.w, |
|
|
|
|
height: 44, |
|
|
|
|
fit: BoxFit.cover, |
|
|
|
|
errorSrc: "assets/image/default_1.png", |
|
|
|
|