|
|
@ -264,11 +264,14 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> { |
|
|
|
height: 16.h, |
|
|
|
height: 16.h, |
|
|
|
), |
|
|
|
), |
|
|
|
Row( |
|
|
|
Row( |
|
|
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start, |
|
|
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
Text( |
|
|
|
Text( |
|
|
|
S.of(context).zitidizhi, |
|
|
|
S.of(context).zitidizhi + " :", |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
color: Color(0xFF353535), |
|
|
|
color: Color(0xFF353535), |
|
|
|
|
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -280,6 +283,7 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> { |
|
|
|
exchangeOrder.address ?? "", |
|
|
|
exchangeOrder.address ?? "", |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
color: Colors.black, |
|
|
|
color: Colors.black, |
|
|
|
|
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -292,9 +296,10 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> { |
|
|
|
Row( |
|
|
|
Row( |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
Text( |
|
|
|
Text( |
|
|
|
S.of(context).zitishijian, |
|
|
|
S.of(context).zitishijian + " :", |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
color: Color(0xFF353535), |
|
|
|
color: Color(0xFF353535), |
|
|
|
|
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -306,6 +311,7 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> { |
|
|
|
S.of(context).duihuanhouwugegongzuori, |
|
|
|
S.of(context).duihuanhouwugegongzuori, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
color: Colors.black, |
|
|
|
color: Colors.black, |
|
|
|
|
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -351,7 +357,7 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> { |
|
|
|
color: Color(0xFF353535)), |
|
|
|
color: Color(0xFF353535)), |
|
|
|
), |
|
|
|
), |
|
|
|
SizedBox( |
|
|
|
SizedBox( |
|
|
|
height: 2, |
|
|
|
height: 5.h, |
|
|
|
), |
|
|
|
), |
|
|
|
Text( |
|
|
|
Text( |
|
|
|
exchangeOrder.useTyped == 3 |
|
|
|
exchangeOrder.useTyped == 3 |
|
|
@ -361,6 +367,7 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> { |
|
|
|
maxLines: 2, |
|
|
|
maxLines: 2, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 10.sp, |
|
|
|
fontSize: 10.sp, |
|
|
|
|
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
color: Color(0xFF727272), |
|
|
|
color: Color(0xFF727272), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -373,6 +380,7 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> { |
|
|
|
"x1", |
|
|
|
"x1", |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
|
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
color: Color(0xFF353535), |
|
|
|
color: Color(0xFF353535), |
|
|
|
), |
|
|
|
), |
|
|
|
) |
|
|
|
) |
|
|
@ -415,6 +423,7 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> { |
|
|
|
iconSize: 16, |
|
|
|
iconSize: 16, |
|
|
|
textStyle: TextStyle( |
|
|
|
textStyle: TextStyle( |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
|
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
color: Color(0xFF353535), |
|
|
|
color: Color(0xFF353535), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -423,7 +432,8 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> { |
|
|
|
if (exchangeOrder.state == 1) { |
|
|
|
if (exchangeOrder.state == 1) { |
|
|
|
receive2Card(exchangeOrder.id); |
|
|
|
receive2Card(exchangeOrder.id); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
Navigator.of(context).pushNamed('/router/write_off_page', arguments: {}); |
|
|
|
Navigator.of(context) |
|
|
|
|
|
|
|
.pushNamed('/router/write_off_page', arguments: {}); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
child: buildBtnStatus(exchangeOrder.state), |
|
|
|
child: buildBtnStatus(exchangeOrder.state), |
|
|
|