去掉无用UI

dev
陈伟 2025-03-27 15:49:16 +08:00
parent 533d7cae3e
commit c42497d68b
3 changed files with 82 additions and 80 deletions

View File

@ -51,14 +51,14 @@
</ListBox.Template> </ListBox.Template>
</ListBox> </ListBox>
<StackPanel Margin="10" VerticalAlignment="Bottom"> <!--<StackPanel Margin="10" VerticalAlignment="Bottom">
<!--<ProgressBar Value="1507" Maximum="2056" Style="{DynamicResource }"/>--> ~1~<ProgressBar Value="1507" Maximum="2056" Style="{DynamicResource }"/>@1@
<h:FProgressBar Height="12" Maximum="2056" Value="850"> <h:FProgressBar Height="12" Maximum="2056" Value="850">
<!--<h:FProgressBar.Triggers> ~1~<h:FProgressBar.Triggers>
<EventTrigger RoutedEvent="Loaded"> <EventTrigger RoutedEvent="Loaded">
<BeginStoryboard Storyboard="{StaticResource S.Storyboard.ProgressBar.LoadValue}" /> <BeginStoryboard Storyboard="{StaticResource S.Storyboard.ProgressBar.LoadValue}" />
</EventTrigger> </EventTrigger>
</h:FProgressBar.Triggers>--> </h:FProgressBar.Triggers>@1@
</h:FProgressBar> </h:FProgressBar>
<TextBlock Margin="0,10" <TextBlock Margin="0,10"
@ -66,7 +66,7 @@
Foreground="{DynamicResource {x:Static h:BrushKeys.ForegroundTitle}}" Foreground="{DynamicResource {x:Static h:BrushKeys.ForegroundTitle}}"
Style="{DynamicResource {x:Static h:TextBlockKeys.Default}}" Style="{DynamicResource {x:Static h:TextBlockKeys.Default}}"
Text="850G/2056G" /> Text="850G/2056G" />
</StackPanel> </StackPanel>-->
<!-- 中间内容 --> <!-- 中间内容 -->
<Grid Grid.Column="1" Margin="0"> <Grid Grid.Column="1" Margin="0">
<h:LinkActionFrame LinkAction="{Binding SelectLink, Mode=TwoWay}" /> <h:LinkActionFrame LinkAction="{Binding SelectLink, Mode=TwoWay}" />

View File

@ -3,9 +3,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:h="https://github.com/HeBianGu" xmlns:h="https://github.com/HeBianGu"
xmlns:local="clr-namespace:HeBianGu.App.Disk"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:system="clr-namespace:System;assembly=mscorlib"
d:DesignHeight="450" d:DesignHeight="450"
d:DesignWidth="800" d:DesignWidth="800"
mc:Ignorable="d"> mc:Ignorable="d">
@ -40,17 +38,19 @@
<Button Grid.Column="9" Content="全部取消" Style="{DynamicResource {x:Static h:ButtonKeys.BorderBrushTransparent}}" />--> <Button Grid.Column="9" Content="全部取消" Style="{DynamicResource {x:Static h:ButtonKeys.BorderBrushTransparent}}" />-->
</h:Row> </h:Row>
<Grid Height="60" DockPanel.Dock="Top" TextBlock.Foreground="{DynamicResource {x:Static h:BrushKeys.Orange}}"> <!--
<Grid Height="60" DockPanel.Dock="Top"
TextBlock.Foreground="{DynamicResource {x:Static h:BrushKeys.Orange}}">
<Border Background="{DynamicResource {x:Static h:BrushKeys.Orange}}" Opacity="0.2" /> <Border Background="{DynamicResource {x:Static h:BrushKeys.Orange}}" Opacity="0.2" />
<!--<TextBlock Margin="10,0" <TextBlock Margin="10,0"
HorizontalAlignment="Left" HorizontalAlignment="Left"
FontSize="20" FontSize="20"
Style="{DynamicResource {x:Static h:TextBlockKeys.Icon}}" Style="{DynamicResource {x:Static h:TextBlockKeys.Icon}}"
Text="&#xe771;" />--> Text="&#xe771;" />
<!--<TextBlock Margin="40,0,10,0" <TextBlock Margin="40,0,10,0"
HorizontalAlignment="Left" HorizontalAlignment="Left"
VerticalAlignment="Center" VerticalAlignment="Center"
FontStyle="Oblique" FontStyle="Oblique"
@ -64,13 +64,14 @@
Background="{DynamicResource {x:Static h:BrushKeys.Orange}}" Background="{DynamicResource {x:Static h:BrushKeys.Orange}}"
Content="免费试用" Content="免费试用"
Foreground="{DynamicResource {x:Static h:BrushKeys.ForegroundWhite}}" Foreground="{DynamicResource {x:Static h:BrushKeys.ForegroundWhite}}"
Style="{DynamicResource {x:Static h:ButtonKeys.Transparent}}" />--> Style="{DynamicResource {x:Static h:ButtonKeys.Transparent}}" />
</Grid> </Grid>
-->
<ListBox h:Cattach.ItemHeight="Auto" Style="{DynamicResource {x:Static h:ListBoxKeys.Single}}" <ListBox h:Cattach.ItemHeight="Auto" Style="{DynamicResource {x:Static h:ListBoxKeys.Single}}"
ItemsSource="{Binding UpLoadItems}"> ItemsSource="{Binding UpLoadItems}">
<ListBox.ItemTemplate> <ListBox.ItemTemplate>
<DataTemplate > <DataTemplate>
<Grid Height="50" Margin="10"> <Grid Height="50" Margin="10">
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition /> <RowDefinition />
@ -121,7 +122,8 @@
<h:FProgressBar.Triggers> <h:FProgressBar.Triggers>
<EventTrigger RoutedEvent="Loaded"> <EventTrigger RoutedEvent="Loaded">
<BeginStoryboard> <BeginStoryboard>
<Storyboard Timeline.DesiredFrameRate="{x:Static h:StoryboardSetting.DesiredFrameRate}"> <Storyboard
Timeline.DesiredFrameRate="{x:Static h:StoryboardSetting.DesiredFrameRate}">
<DoubleAnimation Storyboard.TargetProperty="Value" <DoubleAnimation Storyboard.TargetProperty="Value"
From="0" From="0"
To="{Binding RelativeSource={RelativeSource Mode=Self}, Path=Value}" To="{Binding RelativeSource={RelativeSource Mode=Self}, Path=Value}"

View File

@ -1,16 +1,16 @@
/*{ {
"Minio": { "Minio": {
"Endpoint": "123.132.248.154:9107", "Endpoint": "123.132.248.154:9107",
"AccessKey": "oZNgo25pNXnKFV9oKGh4", "AccessKey": "oZNgo25pNXnKFV9oKGh4",
"SecretKey": "66GYn0x1XAEInSa9wdCutzvUWKfhH1EhqxPJ6a9u", "SecretKey": "66GYn0x1XAEInSa9wdCutzvUWKfhH1EhqxPJ6a9u",
"BucketName": "demo" "BucketName": "demo"
} }
}*/ }
{ /*{
"Minio": { "Minio": {
"Endpoint": "192.168.10.163:9016", "Endpoint": "192.168.10.163:9016",
"AccessKey": "I2c35jD6ayApaneyQZyC", "AccessKey": "I2c35jD6ayApaneyQZyC",
"SecretKey": "XHlrNeCHK0xf8y2Fo0K5OKyDeaI2ItfEsFbzQPFk", "SecretKey": "XHlrNeCHK0xf8y2Fo0K5OKyDeaI2ItfEsFbzQPFk",
"BucketName": "demo" "BucketName": "demo"
} }
} }*/