From ffffd70d2fc02a7336ada679ea4fee9026918243 Mon Sep 17 00:00:00 2001 From: lindexi Date: Wed, 20 Dec 2023 15:06:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E7=AE=80=E5=8D=95=E7=9A=84?= =?UTF-8?q?=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Presentation/MainPage.xaml | 263 ++++++++++++++++-- .../Presentation/ShellModel.cs | 2 +- .../Strings/zh/Resources.resw | 3 +- 3 files changed, 246 insertions(+), 22 deletions(-) diff --git a/src/UnoFileDownloader/UnoFileDownloader/UnoFileDownloader/Presentation/MainPage.xaml b/src/UnoFileDownloader/UnoFileDownloader/UnoFileDownloader/Presentation/MainPage.xaml index a67378e..67ff0c3 100644 --- a/src/UnoFileDownloader/UnoFileDownloader/UnoFileDownloader/Presentation/MainPage.xaml +++ b/src/UnoFileDownloader/UnoFileDownloader/UnoFileDownloader/Presentation/MainPage.xaml @@ -8,29 +8,254 @@ NavigationCacheMode="Required" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:models="using:UnoFileDownloader.Business.Models" mc:Ignorable="d" Background="{ThemeResource BackgroundBrush}" d:DataContext="{d:DesignInstance local:BindableMainModel}"> - + + + + - - + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/UnoFileDownloader/UnoFileDownloader/UnoFileDownloader/Presentation/ShellModel.cs b/src/UnoFileDownloader/UnoFileDownloader/UnoFileDownloader/Presentation/ShellModel.cs index 7afd609..fd2fcad 100644 --- a/src/UnoFileDownloader/UnoFileDownloader/UnoFileDownloader/Presentation/ShellModel.cs +++ b/src/UnoFileDownloader/UnoFileDownloader/UnoFileDownloader/Presentation/ShellModel.cs @@ -17,7 +17,7 @@ public ShellModel(INavigator navigator, DownloadFileListManager downloadFileList public async Task Start() { await _downloadFileListManager.InitAsync(); - await _navigator.NavigateViewModelAsync(this); + await _navigator.NavigateViewModelAsync(this); } } } diff --git a/src/UnoFileDownloader/UnoFileDownloader/UnoFileDownloader/Strings/zh/Resources.resw b/src/UnoFileDownloader/UnoFileDownloader/UnoFileDownloader/Strings/zh/Resources.resw index 6d238a6..177939e 100644 --- a/src/UnoFileDownloader/UnoFileDownloader/UnoFileDownloader/Strings/zh/Resources.resw +++ b/src/UnoFileDownloader/UnoFileDownloader/UnoFileDownloader/Strings/zh/Resources.resw @@ -1,4 +1,3 @@ -