diff --git a/assets/payment_logo.png b/assets/payment_logo.png index 80b7500..bf45469 100644 Binary files a/assets/payment_logo.png and b/assets/payment_logo.png differ diff --git a/lib/presentation/navigation/app_router.dart b/lib/presentation/navigation/app_router.dart index 015ec3e..f54c9b9 100644 --- a/lib/presentation/navigation/app_router.dart +++ b/lib/presentation/navigation/app_router.dart @@ -1,6 +1,7 @@ import 'dart:async'; import 'package:be_happy/presentation/screens/card_binding_result_screen.dart'; +import 'package:be_happy/presentation/screens/company_details.dart'; import 'package:be_happy/presentation/screens/lease_agreement_screen.dart'; import 'package:be_happy/presentation/screens/payment_rules_screen.dart'; import 'package:bot_toast/bot_toast.dart'; @@ -385,8 +386,22 @@ class AppRouter { builder: (context, state) => const SupportScreen(), ), GoRoute( - path: 'documents', - builder: (context, state) => const DocumentsScreen(), + path: 'documents', + builder: (context, state) => const DocumentsScreen(), + routes: [ + GoRoute( + path: 'payment-rules', + builder: (context, state) => const PaymentRulesScreen(), + ), + GoRoute( + path: 'lease-agreement', + builder: (context, state) => const LeaseAgreementScreen(), + ), + GoRoute( + path: 'company-details', + builder: (context, state) => const CompanyDetailsScreen(), + ), + ] ), GoRoute( path: 'promo', @@ -453,7 +468,7 @@ class AppRouter { create: (context) => ScooterCodeBloc( getScooterByTitleUsecase: getIt< - GetScooterByTitleUsecase>(), + GetScooterByTitleUsecase>(), getAddressUsecase: getIt(), getPedestrianRoutesUsecase: getIt(), ), child: ScooterCodeInputScreen(), ), diff --git a/lib/presentation/screens/company_details.dart b/lib/presentation/screens/company_details.dart new file mode 100644 index 0000000..6272e4d --- /dev/null +++ b/lib/presentation/screens/company_details.dart @@ -0,0 +1,111 @@ +import 'package:flutter/material.dart'; +import '../../core/app_colors.dart'; +import '../components/custom_app_bar.dart'; + +class CompanyDetailsScreen extends StatelessWidget { + const CompanyDetailsScreen({super.key}); + + @override + Widget build(BuildContext context) { + return Scaffold( + body: Container( + width: double.infinity, + decoration: const BoxDecoration(gradient: AppColors.phoneScreenBg), + child: SafeArea( + child: Column( + children: [ + const SizedBox(height: 16), + const Padding( + padding: EdgeInsets.symmetric(horizontal: 20), + child: CustomAppBar(title: 'Реквизиты'), + ), + + Expanded( + child: SingleChildScrollView( + padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 24), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + _buildParagraph( + 'ООО “БИХЕППИБЕЛ” (Оказывает услуги в городах Молодечно, Витебск, Полоцк, Новополоцк, Могилев, Борисов является организатором эквайринговой площадки)', + ), + + const SizedBox(height: 12), + + _buildParagraph( + 'УНП 392026683', + ), + + const SizedBox(height: 12), + + _buildParagraph( + 'Свидетельство о государственной регистрации № 0239895 от 22.01.2026 выдано администрацией Октябрьского района г.Витебска', + ), + + const SizedBox(height: 12), + + _buildParagraph( + 'ОКПО 511318892000', + ), + + const SizedBox(height: 12), + + _buildParagraph( + 'Юридический адрес: Республика Беларусь, 210017, г. Витебск, ул. Гагарина 105 кБ, офис 11А.', + ), + + const SizedBox(height: 12), + + _buildParagraph( + 'Банковские реквизиты в белорусских рублях:', + ), + + const SizedBox(height: 12), + + _buildParagraph( + 'Расчетный счет: BY86ALFA30122G27690010270000', + ), + + const SizedBox(height: 12), + + _buildParagraph( + 'ЗАО «Альфа-Банк», 220013, Республика Беларусь,220013, г. Минск, ул. Сурганова, 43-47, 220013', + ), + + const SizedBox(height: 12), + + _buildParagraph( + 'БИК ALFABY2X', + ), + + const SizedBox(height: 12), + + _buildParagraph( + 'Почтовый адрес: behappybelarus@gmail.com', + ), + + const SizedBox(height: 12), + + const SizedBox(height: 32), + ], + ), + ), + ), + ], + ), + ), + ), + ); + } + + Widget _buildParagraph(String text) { + return Text( + text, + style: const TextStyle( + color: Color(0xFFD1D1D6), + fontSize: 14, + height: 1.5, + ), + ); + } +} \ No newline at end of file diff --git a/lib/presentation/screens/documents_screen.dart b/lib/presentation/screens/documents_screen.dart index 20531c1..cce7f42 100644 --- a/lib/presentation/screens/documents_screen.dart +++ b/lib/presentation/screens/documents_screen.dart @@ -50,6 +50,13 @@ class DocumentsScreen extends StatelessWidget { ), const Divider(height: 1, color: Colors.white24), const SizedBox(height: 12), + LinkRow( + icon: 'assets/icons/doc.png', + title: 'Реквизиты', + onTap: () => context.push('/home/documents/company-details'), + ), + const Divider(height: 1, color: Colors.white24), + const SizedBox(height: 12), const Spacer(), // Отодвигаем картинку вниз diff --git a/pubspec.yaml b/pubspec.yaml index 46f4767..9c696a4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: be_happy description: "" publish_to: 'none' -version: 1.0.0+19 +version: 1.0.0+21 environment: sdk: ^3.8.1