|
|
|
@ -7,6 +7,7 @@ import 'package:huixiang/retrofit/data/exchange_order.dart';
|
|
|
|
|
import 'package:huixiang/retrofit/data/page.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/retrofit_api.dart'; |
|
|
|
|
import 'package:huixiang/view_widget/classic_header.dart'; |
|
|
|
|
import 'package:huixiang/view_widget/custom_image.dart'; |
|
|
|
|
import 'package:huixiang/view_widget/icon_text.dart'; |
|
|
|
|
import 'package:huixiang/view_widget/my_appbar.dart'; |
|
|
|
|
import 'package:huixiang/view_widget/my_footer.dart'; |
|
|
|
@ -323,15 +324,13 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
|
children: [ |
|
|
|
|
Image.network( |
|
|
|
|
MImage( |
|
|
|
|
(exchangeOrder != null && |
|
|
|
|
exchangeOrder.creditOrderDetailList != null) |
|
|
|
|
? exchangeOrder.creditOrderDetailList[0].goodsMainImg |
|
|
|
|
: "", |
|
|
|
|
errorBuilder: (context, error, stackTrace) { |
|
|
|
|
return Image.asset("assets/image/default_1.png", |
|
|
|
|
fit: BoxFit.cover); |
|
|
|
|
}, |
|
|
|
|
errorSrc: "assets/image/default_1.png", |
|
|
|
|
fadeSrc: "assets/image/default_1.png", |
|
|
|
|
width: 66, |
|
|
|
|
height: 66, |
|
|
|
|
fit: BoxFit.cover, |
|
|
|
|