mirror of
https://github.com/jackqqq123/luban_ui_internal.git
synced 2025-11-15 13:48:24 +08:00
feat: Luban.Core初步实现,提供能力:
- RegistService 装饰器实现服务注册 - 下载服务 - 文件服务 - 多线程方法 - 解压缩服务
This commit is contained in:
@@ -2,16 +2,18 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:views="clr-namespace:LubanHub.App.Views"
|
||||
mc:Ignorable="d" d:DesignWidth="1200" d:DesignHeight="800"
|
||||
x:Class="LubanHub.App.MainWindow"
|
||||
Title="LubanHub"
|
||||
MinWidth="1000" MinHeight="600">
|
||||
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="200"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid RowDefinitions="*,Auto">
|
||||
<Grid Grid.Row="0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="200"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<!-- 左侧导航栏 -->
|
||||
<Border Grid.Column="0" Background="{DynamicResource SidebarBackgroundBrush}"
|
||||
@@ -227,7 +229,7 @@
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBox Grid.Column="0"
|
||||
Text="C:\Users\Downloads\LubanHub"
|
||||
Name="DownloadDirectoryTextBox"
|
||||
Background="{DynamicResource InputBackgroundBrush}"
|
||||
Foreground="{DynamicResource PrimaryTextBrush}"
|
||||
BorderBrush="{DynamicResource BorderBrush}"
|
||||
@@ -235,8 +237,13 @@
|
||||
<Button Grid.Column="1"
|
||||
Content="浏览..."
|
||||
Classes="primary"
|
||||
Padding="{DynamicResource ButtonPadding}"/>
|
||||
Padding="{DynamicResource ButtonPadding}"
|
||||
Click="OnBrowseDownloadDirectoryClick"/>
|
||||
</Grid>
|
||||
<Button Content="🧪 测试其他模块下载"
|
||||
Margin="0,10,0,0"
|
||||
Padding="10,5"
|
||||
Click="OnTestModuleDownloadClick"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel>
|
||||
@@ -259,5 +266,9 @@
|
||||
</Panel>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
|
||||
<!-- 底部下载进度区域 -->
|
||||
<views:DownloadProgressView Grid.Row="1" DataContext="{Binding DownloadProgress}" />
|
||||
</Grid>
|
||||
</Window>
|
||||
|
||||
Reference in New Issue
Block a user