|
|
|
@ -1,17 +1,10 @@
|
|
|
|
|
import 'package:dio/dio.dart'; |
|
|
|
|
import 'package:flutter/cupertino.dart'; |
|
|
|
|
import 'package:flutter/material.dart'; |
|
|
|
|
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; |
|
|
|
|
import 'package:huixiang/generated/l10n.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/data/base_data.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/data/user_info.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/retrofit_api.dart'; |
|
|
|
|
import 'package:huixiang/utils/flutter_utils.dart'; |
|
|
|
|
import 'package:huixiang/utils/font_weight.dart'; |
|
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
|
|
import 'package:huixiang/view_widget/pay_selected_dialog.dart'; |
|
|
|
|
import 'package:pin_input_text_field/pin_input_text_field.dart'; |
|
|
|
|
import 'package:shared_preferences/shared_preferences.dart'; |
|
|
|
|
|
|
|
|
|
class PlatformPayCode extends StatefulWidget { |
|
|
|
|
final Map<String, dynamic> arguments; |
|
|
|
@ -120,7 +113,7 @@ class _PlatformPayCode extends State<PlatformPayCode> {
|
|
|
|
|
onTap: (){ |
|
|
|
|
setState(() { |
|
|
|
|
if(inputCode.length == 6){ |
|
|
|
|
Navigator.of(context).popAndPushNamed('/router/platform_pay_code_success',arguments:{ |
|
|
|
|
Navigator.of(context).pushReplacementNamed('/router/platform_pay_code_success',arguments:{ |
|
|
|
|
"inputCode":inputCode, |
|
|
|
|
"inputText":widget.arguments["inputText"] |
|
|
|
|
}); |
|
|
|
|