MyDiplom/BuyPage.xaml
2025-04-10 15:34:02 +03:00

59 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<toolkit:Popup xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
x:Class="MyDiplom.BuyPage"
Color="Transparent">
<Border Stroke="Gray" >
<Border.StrokeShape>
<RoundRectangle CornerRadius="25"/>
</Border.StrokeShape>
<VerticalStackLayout Padding="20" BackgroundColor="White" Spacing="15">
<Label Text="ПОПОЛНЕНИЕ СЧЕТА"
FontSize="20"
FontAttributes="Bold"
HorizontalOptions="Center"
TextColor="Black" />
<HorizontalStackLayout Spacing="10"
BackgroundColor="White"
Padding="10,5,0,0"
HeightRequest="50"
VerticalOptions="Center"
HorizontalOptions="Fill">
<Entry WidthRequest="300"/>
<Label Text="₽"
FontSize="18"
VerticalOptions="Center" />
<Button Text="ПОПОЛНИТЬ"
BackgroundColor="Black"
TextColor="White"
FontAttributes="Bold"
CornerRadius="10"
Padding="10"
HorizontalOptions="End"
WidthRequest="120"
Clicked="BuyButtonCliked"/>
</HorizontalStackLayout>
<Label Text="После нажатия кнопки ОПЛАТИТЬ вы будете перенаправлены на платежную систему"
FontSize="12"
TextColor="Gray"
HorizontalOptions="Start"
Margin="0,10,0,0" />
<Button Text="Закрыть" Clicked="CloseButtonClicked"/>
</VerticalStackLayout>
</Border>
</toolkit:Popup>