Browse Source

充值优化;

remove_uniapp
w-R 3 years ago
parent
commit
8164222c67
  1. 6
      lib/mine/recharge_page.dart

6
lib/mine/recharge_page.dart

@ -41,7 +41,7 @@ class _RechargePage extends State<RechargePage> {
List<RechargeList> rechargeA;
int selectIndex = 0;
UserInfo userInfo;
dynamic mBalance;
String mBalance = "0";
@override
void initState() {
@ -93,7 +93,7 @@ class _RechargePage extends State<RechargePage> {
await apiService.queryInfo().catchError((onError) {});
if (baseData != null && baseData.isSuccess) {
userInfo = baseData.data;
mBalance = double.tryParse(userInfo?.money ?? "0");
mBalance = userInfo?.money ?? "0";
if (mounted) setState(() {});
}
}
@ -198,7 +198,7 @@ class _RechargePage extends State<RechargePage> {
Text.rich(
TextSpan(children: [
TextSpan(
text: "$mBalance",
text: mBalance,
style: TextStyle(
fontSize: 26.sp,
color: Color(0xFF181818),

Loading…
Cancel
Save