WIn_RustTools/RustTools/Views/UserPage.xaml

122 lines
5.2 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="utf-8" ?>
2024-07-15 05:22:53 +00:00
<Page
x:Class="RustTools.Views.UserPage"
2024-07-14 11:24:10 +00:00
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="using:RustTools.Views"
2024-07-14 11:24:10 +00:00
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:styles="using:RustTools.Styles"
2024-08-15 01:40:33 +00:00
xmlns:themes="using:RustTools.Themes"
mc:Ignorable="d">
2024-07-14 11:24:10 +00:00
2024-07-15 05:22:53 +00:00
<Grid>
2024-08-15 01:40:33 +00:00
<themes:LoginPage x:Name="loginpage" />
2024-08-13 13:59:14 +00:00
<Grid Name="gridview" Visibility="Collapsed">
<Grid.RowDefinitions>
<RowDefinition Height="110" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid>
2024-08-13 13:59:14 +00:00
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="auto" />
</Grid.ColumnDefinitions>
<Border
Grid.Column="0"
Padding="9,9,26,9"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
CornerRadius="10">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="auto" />
</Grid.ColumnDefinitions>
<Border
Grid.Column="0"
Width="86"
Height="86"
Background="BlanchedAlmond"
CornerRadius="16">
<Image Source="http://q1.qlogo.cn/g?b=qq&amp;nk=2923268971&amp;s=100" />
</Border>
<StackPanel Grid.Column="1" Margin="16,0,0,0">
<TextBlock
Margin="0,9,0,0"
Style="{StaticResource TitleTextBlockStyle}"
Text="Muqing" />
<TextBlock
Margin="0,6,0,0"
Style="{StaticResource BodyTextBlockStyle}"
Text="测试员,开发者,这里是签名哦" />
</StackPanel>
<FontIcon Grid.Column="2" Glyph="&#xE70F;" />
</Grid>
</Border>
<Border
Grid.Column="1"
Margin="16,0,0,0"
Padding="30,9,30,9"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
CornerRadius="10">
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
2024-08-13 13:59:14 +00:00
<styles:TitleSubtitleControl
Style="{StaticResource TitleSubtitleControlStyle}"
SubtitleText="关注"
TitleText="99" />
<Rectangle
Width="1"
Height="10"
Margin="16,0,16,0"
VerticalAlignment="Center"
Fill="Gray" />
2024-07-14 11:24:10 +00:00
2024-08-13 13:59:14 +00:00
<styles:TitleSubtitleControl
Style="{StaticResource TitleSubtitleControlStyle}"
SubtitleText="粉丝"
TitleText="99" />
<Rectangle
Width="1"
Height="10 "
Margin="16,0,16,0"
VerticalAlignment="Center"
Fill="Gray" />
<styles:TitleSubtitleControl
Style="{StaticResource TitleSubtitleControlStyle}"
SubtitleText="获赞"
TitleText="99" />
</StackPanel>
</Border>
</Grid>
<Pivot Grid.Row="1" Grid.Column="0">
<PivotItem Header="模组">
<TextBlock Text="这里是你全部发布的模组" />
</PivotItem>
<PivotItem Header="动态">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock Text="这里是你全部发布的动态" />
<Button
Grid.Row="1"
Grid.Column="1"
Margin="16,16,0,16"
HorizontalAlignment="Right"
Content="我要发布动态" />
</Grid>
</PivotItem>
</Pivot>
</Grid>
2024-07-14 11:24:10 +00:00
</Grid>
</Page>