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-17 23:27:24 +00:00
|
|
|
xmlns:viewmodels="using:RustTools.ViewModels"
|
|
|
|
d:DataContext="{d:DesignInstance Type=viewmodels:RankingViewModel}"
|
2024-08-05 11:38:55 +00:00
|
|
|
mc:Ignorable="d">
|
2024-07-15 05:22:53 +00:00
|
|
|
<Grid>
|
2024-08-05 11:38:55 +00:00
|
|
|
<Grid.RowDefinitions>
|
2024-08-22 23:59:16 +00:00
|
|
|
<RowDefinition Height="*" />
|
2024-08-05 11:38:55 +00:00
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
<ColumnDefinition Width="auto" />
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<AppBarButton
|
|
|
|
Grid.Row="0"
|
|
|
|
Grid.Column="1"
|
|
|
|
Icon="Sort"
|
|
|
|
IsCompact="False"
|
|
|
|
Label="下载量"
|
|
|
|
ToolTipService.ToolTip="Sort">
|
|
|
|
<AppBarButton.Flyout>
|
|
|
|
<MenuFlyout>
|
2024-08-07 02:31:13 +00:00
|
|
|
<MenuFlyoutItem
|
|
|
|
Click="MenuFlyoutItem_Click"
|
2024-08-26 09:41:33 +00:00
|
|
|
Tag="downloadNumber"
|
2024-08-07 02:31:13 +00:00
|
|
|
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"
|
2024-08-22 23:59:16 +00:00
|
|
|
Margin="0,0,0,9"
|
2024-08-05 11:38:55 +00:00
|
|
|
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>
|