|
|
|
@ -1,10 +1,12 @@
|
|
|
|
|
import 'dart:convert'; |
|
|
|
|
import 'dart:io'; |
|
|
|
|
|
|
|
|
|
import 'package:dio/dio.dart'; |
|
|
|
|
import 'package:flare_flutter/base/actor_ellipse.dart'; |
|
|
|
|
import 'package:flutter/material.dart'; |
|
|
|
|
import 'package:huixiang/generated/l10n.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/data/base_data.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/data/examine_instance.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/data/page.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/data/user_bill.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/data/user_info.dart'; |
|
|
|
@ -446,14 +448,14 @@ class _MineWalletPage extends State<MineWalletPage> {
|
|
|
|
|
//24.w, 24.h, 24.w, 24.h |
|
|
|
|
Padding( |
|
|
|
|
padding: EdgeInsets.only( |
|
|
|
|
left: 24, |
|
|
|
|
top: 24, |
|
|
|
|
left: 24.w, |
|
|
|
|
top: 24.h, |
|
|
|
|
), |
|
|
|
|
child: Text( |
|
|
|
|
S.of(context).zongzichanyuan, |
|
|
|
|
style: TextStyle( |
|
|
|
|
color: Colors.white, |
|
|
|
|
fontSize: 16, |
|
|
|
|
fontSize: 16.sp, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -462,13 +464,13 @@ class _MineWalletPage extends State<MineWalletPage> {
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
children: [ |
|
|
|
|
SizedBox( |
|
|
|
|
width: 24, |
|
|
|
|
width: 24.w, |
|
|
|
|
), |
|
|
|
|
Text( |
|
|
|
|
"$pBalance", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
fontSize: 50, |
|
|
|
|
fontSize: 50.sp, |
|
|
|
|
color: Colors.white, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -501,7 +503,7 @@ class _MineWalletPage extends State<MineWalletPage> {
|
|
|
|
|
child: Text( |
|
|
|
|
S.of(context).chongzhi, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 18, |
|
|
|
|
fontSize: 18.sp, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
color: Color(0xFF32A060), |
|
|
|
|
), |
|
|
|
@ -517,11 +519,11 @@ class _MineWalletPage extends State<MineWalletPage> {
|
|
|
|
|
flex: 1, |
|
|
|
|
), |
|
|
|
|
SizedBox( |
|
|
|
|
height: 22, |
|
|
|
|
height: 22.h, |
|
|
|
|
), |
|
|
|
|
Padding( |
|
|
|
|
padding: EdgeInsets.symmetric( |
|
|
|
|
horizontal: 24, |
|
|
|
|
horizontal: 24.w, |
|
|
|
|
), |
|
|
|
|
child: Row( |
|
|
|
|
children: [ |
|
|
|
@ -531,20 +533,20 @@ class _MineWalletPage extends State<MineWalletPage> {
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
|
children: [ |
|
|
|
|
Text( |
|
|
|
|
S.of(context).yue, |
|
|
|
|
"${S.of(context).yue}(含活动)", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 14, |
|
|
|
|
fontSize: 14.sp, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
color: Colors.white, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
SizedBox( |
|
|
|
|
height: 4, |
|
|
|
|
height: 4.h, |
|
|
|
|
), |
|
|
|
|
Text( |
|
|
|
|
"$mBalance", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 18, |
|
|
|
|
fontSize: 18.sp, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
color: Colors.white, |
|
|
|
|
), |
|
|
|
@ -553,7 +555,7 @@ class _MineWalletPage extends State<MineWalletPage> {
|
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
SizedBox( |
|
|
|
|
height: 8, |
|
|
|
|
height: 8.h, |
|
|
|
|
), |
|
|
|
|
Expanded( |
|
|
|
|
flex: 1, |
|
|
|
@ -563,18 +565,18 @@ class _MineWalletPage extends State<MineWalletPage> {
|
|
|
|
|
Text( |
|
|
|
|
S.of(context).huodongyue, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 14, |
|
|
|
|
fontSize: 14.sp, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
color: Colors.white, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
SizedBox( |
|
|
|
|
height: 4, |
|
|
|
|
height: 4.h, |
|
|
|
|
), |
|
|
|
|
Text( |
|
|
|
|
"$activityMoney", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 18, |
|
|
|
|
fontSize: 18.sp, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
color: Colors.white, |
|
|
|
|
), |
|
|
|
@ -583,7 +585,7 @@ class _MineWalletPage extends State<MineWalletPage> {
|
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
SizedBox( |
|
|
|
|
height: 8, |
|
|
|
|
height: 8.h, |
|
|
|
|
), |
|
|
|
|
Expanded( |
|
|
|
|
flex: 1, |
|
|
|
@ -593,18 +595,18 @@ class _MineWalletPage extends State<MineWalletPage> {
|
|
|
|
|
Text( |
|
|
|
|
S.of(context).lvbiyue, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 14, |
|
|
|
|
fontSize: 14.sp, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
color: Colors.white, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
SizedBox( |
|
|
|
|
height: 4, |
|
|
|
|
height: 4.h, |
|
|
|
|
), |
|
|
|
|
Text( |
|
|
|
|
"$mgreenMoney", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 18, |
|
|
|
|
fontSize: 18.sp, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
color: Colors.white, |
|
|
|
|
), |
|
|
|
@ -616,7 +618,7 @@ class _MineWalletPage extends State<MineWalletPage> {
|
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
SizedBox( |
|
|
|
|
height: 24, |
|
|
|
|
height: 24.h, |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|