MyDiplom/UsersPage.xaml
2025-04-16 08:32:16 +03:00

167 lines
6.9 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="MyDiplom.UsersPage">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="90"/>
<RowDefinition Height="550"/>
<RowDefinition Height="*"/>
<RowDefinition Height="100"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="260"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<StackLayout Grid.ColumnSpan="2"
Orientation="Horizontal"
Padding="10"
Background="Black"
HeightRequest="80"
HorizontalOptions="Fill">
<Label Text="TgBots" TextColor="White" FontSize="40"
VerticalOptions="Center"
HorizontalOptions="StartAndExpand"/>
<StackLayout HorizontalOptions="End" Orientation="Horizontal" Padding="0,0,10,0" Spacing="20">
<Label Text="{Binding User.Balance, StringFormat='Ваш Баланс {0} Р'}" TextColor="White" VerticalOptions="Center" />
<Button Text="Пополнить"
Background="White"
TextColor="Black"
HorizontalOptions="EndAndExpand"
WidthRequest="110"
HeightRequest="20"
Clicked="OnButtonClicked" />
<Label Text="{Binding User.DisplayName}" TextColor="White" Padding="0,20,0,0" />
<Button Text="Профиль"
TextColor="White"
BackgroundColor="Transparent"
HorizontalOptions="EndAndExpand"/>
</StackLayout>
</StackLayout>
<StackLayout Grid.Row="1" Grid.RowSpan="4" WidthRequest="250" Spacing="5" Padding="0,5,0,0">
<Border Stroke="Gray">
<Border.StrokeShape>
<RoundRectangle CornerRadius="25"/>
</Border.StrokeShape>
<StackLayout Background="#F3F3F3" Spacing="2">
<Button Text="Главная" TextColor="Black"
BackgroundColor="Transparent"/>
<Button Text="Личный кабинет" TextColor="Black"
BackgroundColor="Transparent"/>
<Button Text="О нас" TextColor="Black"
BackgroundColor="Transparent"/>
<Button Text="Новости" TextColor="Black"
BackgroundColor="Transparent"/>
<Button Text="FAQ" TextColor="Black"
BackgroundColor="Transparent"/>
<Button Text="Контакты" TextColor="Black"
BackgroundColor="Transparent"/>
<Button Text="О ботах" TextColor="Black"
BackgroundColor="Transparent"/>
</StackLayout>
</Border>
<StackLayout Spacing="5" WidthRequest="250">
<Border Stroke="Gray">
<Border.StrokeShape>
<RoundRectangle CornerRadius="25"/>
</Border.StrokeShape>
<StackLayout Background="#6D87D3"
Spacing="2" Padding="0,10,0,0">
<Label Text="Боты" HorizontalOptions="Center" Scale="2"/>
<Button Text="TG FREELANCE ПОМОЩНИК" TextColor="Black" Background="Transparent"/>
<Button Text="Раскрутка TG Группы" TextColor="Black" Background="Transparent"/>
<Button Text="Интернет Магазин" TextColor="Black" Background="Transparent"/>
</StackLayout>
</Border>
</StackLayout>
<Border>
<Border.StrokeShape>
<RoundRectangle CornerRadius="25"/>
</Border.StrokeShape>
<StackLayout Background="Black" Grid.Row="1" WidthRequest="250" >
<Button Text="Помощь" Background="Transparent"/>
</StackLayout>
</Border>
</StackLayout>
<StackLayout Grid.Row="1" Grid.Column="1">
<Grid>
<Border>
<Border.StrokeShape>
<RoundRectangle CornerRadius="25"/>
</Border.StrokeShape>
<VerticalStackLayout Background="#F3F3F3" HeightRequest="285" >
<VerticalStackLayout Padding="20" Spacing="10">
<Label Text="ЛИЧНЫЙ НАБИНЕТ" FontSize="20" FontAttributes="Bold" HorizontalOptions="Start"/>
<Grid ColumnDefinitions="Auto,*,Auto" ColumnSpacing="10">
<Label Text="Имя пользователя" VerticalOptions="Center"/>
<Entry Text="" Grid.Column="1"/>
<Button Text="Изменить"
Grid.Column="2"
WidthRequest="100"/>
</Grid>
<Grid ColumnDefinitions="Auto,*,Auto" ColumnSpacing="10">
<Label Text="Электронная почта" VerticalOptions="Center"/>
<Entry Text="" Grid.Column="1"/>
<Button Text="Изменить"
Grid.Column="2"
WidthRequest="100"/>
</Grid>
<Grid ColumnDefinitions="Auto,*,Auto" ColumnSpacing="10">
<Label Text="Мобильный телефон" VerticalOptions="Center"/>
<Entry Text="" Grid.Column="1" Keyboard="Telephone"/>
<Button Text="Изменить"
Grid.Column="2"
WidthRequest="100"/>
</Grid>
<Grid ColumnDefinitions="Auto,*,Auto" ColumnSpacing="10">
<Label Text="Телеграмм" VerticalOptions="Center"/>
<Entry Text="" Grid.Column="1"/>
<Button Text="Изменить"
Grid.Column="2"
WidthRequest="100"/>
</Grid>
</VerticalStackLayout>
</VerticalStackLayout>
</Border>
</Grid>
</StackLayout>
</Grid>
</ContentPage>