2024-08-05 11:38:55 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
2024-07-15 05:22:53 +00:00
|
|
|
<Page
|
|
|
|
x:Class="RustTools.Views.RankingPage"
|
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"
|
2024-08-05 11:38:55 +00:00
|
|
|
xmlns:local="using:RustTools.Views"
|
2024-07-14 11:24:10 +00:00
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
2024-08-05 11:38:55 +00:00
|
|
|
SizeChanged="Page_SizeChanged"
|
|
|
|
mc:Ignorable="d">
|
2024-07-15 05:22:53 +00:00
|
|
|
<Grid>
|
2024-08-05 11:38:55 +00:00
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="auto" />
|
|
|
|
<RowDefinition Height="auto" />
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
<ColumnDefinition Width="auto" />
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<AppBarButton
|
|
|
|
Grid.Row="0"
|
|
|
|
Grid.Column="1"
|
|
|
|
Margin="0,3,9,0"
|
|
|
|
Icon="Sort"
|
|
|
|
IsCompact="False"
|
|
|
|
Label="下载量"
|
|
|
|
ToolTipService.ToolTip="Sort">
|
|
|
|
<AppBarButton.Flyout>
|
|
|
|
<MenuFlyout>
|
2024-08-07 02:31:13 +00:00
|
|
|
<MenuFlyoutItem
|
|
|
|
Click="MenuFlyoutItem_Click"
|
|
|
|
Tag="downloadNumber "
|
|
|
|
Text="下载量" />
|
|
|
|
<MenuFlyoutItem
|
|
|
|
Click="MenuFlyoutItem_Click"
|
|
|
|
Tag="coinNumber"
|
|
|
|
Text="投币数" />
|
|
|
|
<MenuFlyoutItem
|
|
|
|
Click="MenuFlyoutItem_Click"
|
|
|
|
Tag="unitNumber"
|
|
|
|
Text="单位数" />
|
|
|
|
<MenuFlyoutItem
|
|
|
|
Click="MenuFlyoutItem_Click"
|
|
|
|
Tag="updateNumber"
|
|
|
|
Text="更新次数" />
|
2024-08-05 11:38:55 +00:00
|
|
|
</MenuFlyout>
|
|
|
|
</AppBarButton.Flyout>
|
|
|
|
</AppBarButton>
|
2024-07-14 11:24:10 +00:00
|
|
|
|
2024-08-05 11:38:55 +00:00
|
|
|
<ListView
|
|
|
|
x:Name="list"
|
|
|
|
Grid.Row="1"
|
|
|
|
Padding="0,0,16,0"
|
|
|
|
HorizontalAlignment="Stretch"
|
|
|
|
IsItemClickEnabled="True"
|
|
|
|
ItemTemplate="{StaticResource HomePageListItem}"
|
|
|
|
ItemsSource="{x:Bind ViewModel.RankingList}"
|
|
|
|
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
|
|
|
|
SelectionMode="None" />
|
2024-07-14 11:24:10 +00:00
|
|
|
</Grid>
|
|
|
|
</Page>
|