WIn_RustTools/RustTools/Views/UserPage.xaml
2024-08-08 12:29:27 +08:00

118 lines
4.7 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<Page
x:Class="RustTools.Views.UserPage"
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"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:styles="using:RustTools.Styles"
mc:Ignorable="d">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="110" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid>
<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">
<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" />
<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>
</Page>