|
@@ -10,6 +10,7 @@ import 'package:widgets/my_appbar.dart';
|
|
import 'package:widgets/my_button.dart';
|
|
import 'package:widgets/my_button.dart';
|
|
import 'package:widgets/my_load_image.dart';
|
|
import 'package:widgets/my_load_image.dart';
|
|
import 'package:widgets/my_text_view.dart';
|
|
import 'package:widgets/my_text_view.dart';
|
|
|
|
+import 'package:widgets/utils/dark_theme_util.dart';
|
|
|
|
|
|
import '../../router/page/payment_page_router.dart';
|
|
import '../../router/page/payment_page_router.dart';
|
|
import 'payment_confirm_view_model.dart';
|
|
import 'payment_confirm_view_model.dart';
|
|
@@ -48,7 +49,12 @@ class PaymentConfirmPage extends HookConsumerWidget {
|
|
//金额
|
|
//金额
|
|
Row(
|
|
Row(
|
|
children: [
|
|
children: [
|
|
- const MyAssetImage(Assets.paymentInfoDetails, width: 27, height: 27),
|
|
|
|
|
|
+ MyAssetImage(
|
|
|
|
+ Assets.paymentInfoDetails,
|
|
|
|
+ width: 27,
|
|
|
|
+ height: 27,
|
|
|
|
+ color: DarkThemeUtil.multiColors(context, AppColorsTheme.colorPrimary, darkColor: Colors.white),
|
|
|
|
+ ),
|
|
MyTextView(
|
|
MyTextView(
|
|
S.current.payment_details,
|
|
S.current.payment_details,
|
|
textColor: context.appColors.textBlack,
|
|
textColor: context.appColors.textBlack,
|
|
@@ -86,7 +92,12 @@ class PaymentConfirmPage extends HookConsumerWidget {
|
|
// DESC
|
|
// DESC
|
|
Row(
|
|
Row(
|
|
children: [
|
|
children: [
|
|
- const MyAssetImage(Assets.paymentInfoNotes, width: 27, height: 27),
|
|
|
|
|
|
+ MyAssetImage(
|
|
|
|
+ Assets.paymentInfoNotes,
|
|
|
|
+ width: 27,
|
|
|
|
+ height: 27,
|
|
|
|
+ color: DarkThemeUtil.multiColors(context, AppColorsTheme.colorPrimary, darkColor: Colors.white),
|
|
|
|
+ ),
|
|
MyTextView(
|
|
MyTextView(
|
|
S.current.notes_to_recipient,
|
|
S.current.notes_to_recipient,
|
|
textColor: context.appColors.textBlack,
|
|
textColor: context.appColors.textBlack,
|
|
@@ -108,7 +119,7 @@ class PaymentConfirmPage extends HookConsumerWidget {
|
|
isFontRegular: true,
|
|
isFontRegular: true,
|
|
),
|
|
),
|
|
|
|
|
|
- _paymentInfo(context,ref),
|
|
|
|
|
|
+ _paymentInfo(context, ref),
|
|
],
|
|
],
|
|
),
|
|
),
|
|
).expanded(),
|
|
).expanded(),
|
|
@@ -131,7 +142,7 @@ class PaymentConfirmPage extends HookConsumerWidget {
|
|
}
|
|
}
|
|
|
|
|
|
//底部的支付信息
|
|
//底部的支付信息
|
|
- Widget _paymentInfo(BuildContext context,WidgetRef ref) {
|
|
|
|
|
|
+ Widget _paymentInfo(BuildContext context, WidgetRef ref) {
|
|
final viewModel = ref.watch(paymentConfirmViewModelProvider.notifier);
|
|
final viewModel = ref.watch(paymentConfirmViewModelProvider.notifier);
|
|
|
|
|
|
return Container(
|
|
return Container(
|