From 89dfdff117ba1cc74326314dc3fcedf448a4aab9 Mon Sep 17 00:00:00 2001 From: RMBGAME Date: Sat, 12 Aug 2023 01:30:17 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20=E5=B8=83=E5=B1=80=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UI/Styling/Controls/AppItem.axaml | 2 +- .../UI/Views/Pages/ScriptPage.axaml | 13 ++- .../Plugins/Plugin.cs | 2 +- .../UI/Views/Controls/AuthenticatorItem.axaml | 51 ++++++----- .../Views/Controls/AuthenticatorItem.axaml.cs | 4 +- .../Views/Pages/AuthenticatorHomePage.axaml | 84 ++++++++++--------- .../UI/Views/Pages/MainFramePage.axaml | 46 ++++++++++ .../UI/Views/Pages/MainFramePage.axaml.cs | 43 ++++++++++ .../UI/Views/Pages/GameListPage.axaml | 7 +- .../Resources/Strings.Designer.cs | 16 ++-- src/BD.WTTS.Client/Resources/Strings.resx | 16 ++-- 11 files changed, 193 insertions(+), 91 deletions(-) create mode 100644 src/BD.WTTS.Client.Plugins.Authenticator/UI/Views/Pages/MainFramePage.axaml create mode 100644 src/BD.WTTS.Client.Plugins.Authenticator/UI/Views/Pages/MainFramePage.axaml.cs diff --git a/src/BD.WTTS.Client.Avalonia/UI/Styling/Controls/AppItem.axaml b/src/BD.WTTS.Client.Avalonia/UI/Styling/Controls/AppItem.axaml index 26f77b30c..cf0392a02 100644 --- a/src/BD.WTTS.Client.Avalonia/UI/Styling/Controls/AppItem.axaml +++ b/src/BD.WTTS.Client.Avalonia/UI/Styling/Controls/AppItem.axaml @@ -30,7 +30,7 @@ diff --git a/src/BD.WTTS.Client.Plugins.Accelerator/UI/Views/Pages/ScriptPage.axaml b/src/BD.WTTS.Client.Plugins.Accelerator/UI/Views/Pages/ScriptPage.axaml index 9d7896809..99f7a077a 100644 --- a/src/BD.WTTS.Client.Plugins.Accelerator/UI/Views/Pages/ScriptPage.axaml +++ b/src/BD.WTTS.Client.Plugins.Accelerator/UI/Views/Pages/ScriptPage.axaml @@ -145,14 +145,13 @@ ItemsJustification="Start" ItemsStretch="Uniform" MinColumnSpacing="10" + MinItemHeight="160" + MinItemWidth="400" MinRowSpacing="10" /> - + @@ -229,15 +228,15 @@ , IPlugin yield return new MenuTabItemViewModel() { ResourceKeyOrName = nameof(Strings.LocalAuth), - PageType = typeof(AuthenticatorHomePage), + PageType = typeof(MainFramePage), IsResourceGet = true, IconKey = Icon, }; diff --git a/src/BD.WTTS.Client.Plugins.Authenticator/UI/Views/Controls/AuthenticatorItem.axaml b/src/BD.WTTS.Client.Plugins.Authenticator/UI/Views/Controls/AuthenticatorItem.axaml index ff223e910..d656c56d7 100644 --- a/src/BD.WTTS.Client.Plugins.Authenticator/UI/Views/Controls/AuthenticatorItem.axaml +++ b/src/BD.WTTS.Client.Plugins.Authenticator/UI/Views/Controls/AuthenticatorItem.axaml @@ -7,20 +7,22 @@ xmlns:s="https://steampp.net/services" xmlns:spp="https://steampp.net/ui" xmlns:ui="using:FluentAvalonia.UI.Controls" + d:DesignHeight="300" + d:DesignWidth="600" x:CompileBindings="True" x:DataType="spp:AuthenticatorItemModel" Classes.IsActive="{Binding IsSelected}" mc:Ignorable="d"> - + -->