add page company detail
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 20 KiB |
@@ -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<GetAddressByPointUsecase>(), getPedestrianRoutesUsecase: getIt<GetPedestrianRoutesUsecase>(),
|
||||
),
|
||||
child: ScooterCodeInputScreen(),
|
||||
),
|
||||
|
||||
111
lib/presentation/screens/company_details.dart
Normal file
111
lib/presentation/screens/company_details.dart
Normal file
@@ -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,
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -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(), // Отодвигаем картинку вниз
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user