|
|
|
@ -1,17 +1,13 @@
|
|
|
|
|
import 'dart:convert'; |
|
|
|
|
import 'dart:io'; |
|
|
|
|
|
|
|
|
|
import 'package:dio/dio.dart'; |
|
|
|
|
import 'package:flutter/material.dart'; |
|
|
|
|
import 'package:flutter/services.dart'; |
|
|
|
|
import 'package:flutter_easyloading/flutter_easyloading.dart'; |
|
|
|
|
import 'package:flutter_html/flutter_html.dart'; |
|
|
|
|
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; |
|
|
|
|
import 'package:fluwx/fluwx.dart'; |
|
|
|
|
import 'package:huixiang/generated/l10n.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/data/base_data.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/data/rechargeActLists.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/data/recharge_list.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/data/user_info.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/data/vip_benefit_list.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/data/vip_rule_details.dart'; |
|
|
|
@ -20,14 +16,11 @@ import 'package:huixiang/retrofit/retrofit_api.dart';
|
|
|
|
|
import 'package:huixiang/utils/flutter_utils.dart'; |
|
|
|
|
import 'package:huixiang/utils/font_weight.dart'; |
|
|
|
|
import 'package:huixiang/utils/min.dart'; |
|
|
|
|
import 'package:huixiang/view_widget/item_input_widget.dart'; |
|
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
|
|
import 'package:huixiang/view_widget/my_appbar.dart'; |
|
|
|
|
import 'package:huixiang/view_widget/recharge_details_dialog.dart'; |
|
|
|
|
import 'package:huixiang/view_widget/round_button.dart'; |
|
|
|
|
import 'package:shared_preferences/shared_preferences.dart'; |
|
|
|
|
import 'package:tobias/tobias.dart' as tobias; |
|
|
|
|
import 'package:tobias/tobias.dart'; |
|
|
|
|
|
|
|
|
|
class RechargePage extends StatefulWidget { |
|
|
|
|
@override |
|
|
|
@ -43,7 +36,6 @@ class _RechargePage extends State<RechargePage> {
|
|
|
|
|
List<VipBenefitList> vipBenefitList = []; |
|
|
|
|
Color color = Colors.black; |
|
|
|
|
double discount = 100; |
|
|
|
|
// List<RechargeList> rechargeA; |
|
|
|
|
int selectIndex = 0; |
|
|
|
|
UserInfo userInfo; |
|
|
|
|
String mBalance = "0"; |
|
|
|
|