|
|
|
@ -83,7 +83,7 @@ class _WelfareExchange extends State<WelfareExchange> {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
creditGoods() async { |
|
|
|
|
EasyLoading.show(status: S.current.zhengzaijiazai); |
|
|
|
|
// EasyLoading.show(status: S.current.zhengzaijiazai); |
|
|
|
|
|
|
|
|
|
final SharedPreferences value = await SharedPreferences.getInstance(); |
|
|
|
|
apiService = ApiService(Dio(), |
|
|
|
@ -188,7 +188,7 @@ class _WelfareExchange extends State<WelfareExchange> {
|
|
|
|
|
}, |
|
|
|
|
child: Container( |
|
|
|
|
alignment: Alignment.centerRight, |
|
|
|
|
margin: EdgeInsets.only(left: 10), |
|
|
|
|
margin: EdgeInsets.only(left: 10.w), |
|
|
|
|
padding: EdgeInsets.all(6), |
|
|
|
|
child: Icon( |
|
|
|
|
Icons.arrow_back_ios, |
|
|
|
@ -198,7 +198,7 @@ class _WelfareExchange extends State<WelfareExchange> {
|
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
flexibleSpace: FlexibleSpaceBar( |
|
|
|
|
background: Stack( |
|
|
|
|
background:Stack( |
|
|
|
|
children: [ |
|
|
|
|
Container( |
|
|
|
|
// padding: EdgeInsets.only(top: 40.h), |
|
|
|
@ -208,14 +208,14 @@ class _WelfareExchange extends State<WelfareExchange> {
|
|
|
|
|
color: Color(0xFF277D4B), |
|
|
|
|
shape: BoxShape.rectangle, |
|
|
|
|
borderRadius: BorderRadius.only( |
|
|
|
|
bottomRight: Radius.circular(40), |
|
|
|
|
bottomLeft: Radius.circular(40), |
|
|
|
|
bottomRight: Radius.circular(40.r), |
|
|
|
|
bottomLeft: Radius.circular(40.r), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
Container( |
|
|
|
|
alignment: Alignment.topCenter, |
|
|
|
|
margin: EdgeInsets.only(top: 106.h), |
|
|
|
|
margin: EdgeInsets.only(top: 110.h), |
|
|
|
|
child: pointUser(), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
@ -288,7 +288,7 @@ class _WelfareExchange extends State<WelfareExchange> {
|
|
|
|
|
return Container( |
|
|
|
|
decoration: BoxDecoration( |
|
|
|
|
color: Colors.white, |
|
|
|
|
borderRadius: BorderRadius.all(Radius.circular(4)), |
|
|
|
|
borderRadius: BorderRadius.all(Radius.circular(4.r)), |
|
|
|
|
boxShadow: [ |
|
|
|
|
BoxShadow( |
|
|
|
|
color: Colors.black.withAlpha(12), |
|
|
|
@ -410,7 +410,7 @@ class _WelfareExchange extends State<WelfareExchange> {
|
|
|
|
|
SizedBox( |
|
|
|
|
height: 4.h, |
|
|
|
|
), |
|
|
|
|
Row( |
|
|
|
|
Expanded(child: Row( |
|
|
|
|
children: [ |
|
|
|
|
Text( |
|
|
|
|
(userInfo != null) ? "${userInfo.points}" : "", |
|
|
|
@ -421,7 +421,7 @@ class _WelfareExchange extends State<WelfareExchange> {
|
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
SizedBox( |
|
|
|
|
width: 6, |
|
|
|
|
width: 6.w, |
|
|
|
|
), |
|
|
|
|
Image.asset( |
|
|
|
|
"assets/image/icon_gold_coin.webp", |
|
|
|
@ -429,7 +429,7 @@ class _WelfareExchange extends State<WelfareExchange> {
|
|
|
|
|
height: 18, |
|
|
|
|
) |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
)) |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
) |
|
|
|
|