Browse Source

回鄉錢包,UI修改

dart3_last
哈哈哈 2 years ago
parent
commit
7aada77339
  1. 4
      lib/mine/mine_wallet_page.dart

4
lib/mine/mine_wallet_page.dart

@ -60,6 +60,7 @@ class _MineWalletPage extends State<MineWalletPage> {
_onRefresh() {
current = 1;
loadBillInfo();
queryUserBalance();
}
queryUserBalance() async {
@ -68,6 +69,9 @@ class _MineWalletPage extends State<MineWalletPage> {
if (baseData != null && baseData.isSuccess) {
userInfo = baseData.data;
mBalance = double.tryParse(userInfo.money);
mgreenMoney = double.tryParse(userInfo.greenMoney);
tBalance = double.tryParse(userInfo.balance ?? "0");
activityMoney = double.tryParse(userInfo.activityMoney);
if (mounted) setState(() {});
}
}

Loading…
Cancel
Save