improve:更新弹窗
This commit is contained in:
@@ -140,8 +140,16 @@
|
|||||||
</Window.Resources>
|
</Window.Resources>
|
||||||
|
|
||||||
<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled">
|
<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled">
|
||||||
<Grid Margin="0,0,0,30">
|
<Grid Margin="0,0,0,0">
|
||||||
<ui:SimpleStackPanel VerticalAlignment="Stretch" Spacing="0">
|
<ui:SimpleStackPanel VerticalAlignment="Stretch" Spacing="0">
|
||||||
|
<!-- 统一的主容器 -->
|
||||||
|
<Border Background="White" CornerRadius="16" Margin="0,0,0,0"
|
||||||
|
BorderThickness="0" Padding="0">
|
||||||
|
<Border.Effect>
|
||||||
|
<DropShadowEffect Color="#000000" BlurRadius="20" ShadowDepth="0" Opacity="0.08"/>
|
||||||
|
</Border.Effect>
|
||||||
|
|
||||||
|
<ui:SimpleStackPanel Spacing="0">
|
||||||
<!-- 现代化标题栏 -->
|
<!-- 现代化标题栏 -->
|
||||||
<Border Background="{StaticResource HeaderGradient}" CornerRadius="16,16,0,0" Margin="0,0,0,0"
|
<Border Background="{StaticResource HeaderGradient}" CornerRadius="16,16,0,0" Margin="0,0,0,0"
|
||||||
MouseLeftButtonDown="TitleBar_MouseLeftButtonDown">
|
MouseLeftButtonDown="TitleBar_MouseLeftButtonDown">
|
||||||
@@ -194,15 +202,8 @@
|
|||||||
</Grid>
|
</Grid>
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<!-- 现代化内容区域 -->
|
|
||||||
<Border Background="White" CornerRadius="16" Margin="32,24,32,0"
|
|
||||||
BorderThickness="0" Padding="0">
|
|
||||||
<Border.Effect>
|
|
||||||
<DropShadowEffect Color="#000000" BlurRadius="20" ShadowDepth="0" Opacity="0.08"/>
|
|
||||||
</Border.Effect>
|
|
||||||
<ui:SimpleStackPanel Spacing="0">
|
|
||||||
<!-- 内容标题 -->
|
<!-- 内容标题 -->
|
||||||
<Border Background="#f8fafc" CornerRadius="16,16,0,0" Padding="24,20,24,16">
|
<Border Background="#f8fafc" Padding="24,20,24,16">
|
||||||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="12">
|
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="12">
|
||||||
<Border Background="#3b82f6" CornerRadius="8" Padding="8">
|
<Border Background="#3b82f6" CornerRadius="8" Padding="8">
|
||||||
<TextBlock Text="📝" FontSize="16" Foreground="White"
|
<TextBlock Text="📝" FontSize="16" Foreground="White"
|
||||||
@@ -238,10 +239,7 @@
|
|||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<!-- 现代化版本信息 -->
|
<!-- 现代化版本信息 -->
|
||||||
<Border Background="White" CornerRadius="16" Margin="32,16,32,0" Padding="24,20">
|
<Border Background="#f8fafc" Margin="0,0,0,0" Padding="24,20">
|
||||||
<Border.Effect>
|
|
||||||
<DropShadowEffect Color="#000000" BlurRadius="20" ShadowDepth="0" Opacity="0.08"/>
|
|
||||||
</Border.Effect>
|
|
||||||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Center" Spacing="24">
|
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Center" Spacing="24">
|
||||||
<ui:SimpleStackPanel Orientation="Vertical" Spacing="4" HorizontalAlignment="Center">
|
<ui:SimpleStackPanel Orientation="Vertical" Spacing="4" HorizontalAlignment="Center">
|
||||||
<TextBlock Text="版本信息" FontSize="14" FontWeight="Medium" Foreground="#6b7280"/>
|
<TextBlock Text="版本信息" FontSize="14" FontWeight="Medium" Foreground="#6b7280"/>
|
||||||
@@ -258,10 +256,7 @@
|
|||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<!-- 现代化按钮区域 -->
|
<!-- 现代化按钮区域 -->
|
||||||
<Border Background="White" CornerRadius="16" Margin="32,16,32,20" Padding="32,24">
|
<Border Background="#f8fafc" Margin="0,0,0,0" Padding="32,24" CornerRadius="0,0,16,16">
|
||||||
<Border.Effect>
|
|
||||||
<DropShadowEffect Color="#000000" BlurRadius="20" ShadowDepth="0" Opacity="0.08"/>
|
|
||||||
</Border.Effect>
|
|
||||||
<ui:SimpleStackPanel Orientation="Vertical" HorizontalAlignment="Center" Spacing="16">
|
<ui:SimpleStackPanel Orientation="Vertical" HorizontalAlignment="Center" Spacing="16">
|
||||||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="12" HorizontalAlignment="Center">
|
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="12" HorizontalAlignment="Center">
|
||||||
<Border Background="#3b82f6" CornerRadius="8" Padding="8">
|
<Border Background="#3b82f6" CornerRadius="8" Padding="8">
|
||||||
@@ -294,11 +289,8 @@
|
|||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<!-- 现代化下载进度指示器 -->
|
<!-- 现代化下载进度指示器 -->
|
||||||
<Border x:Name="DownloadProgressPanel" Background="White" CornerRadius="16"
|
<Border x:Name="DownloadProgressPanel" Background="#f8fafc"
|
||||||
Margin="32,16,32,20" Padding="32,24" Visibility="Collapsed">
|
Margin="0,0,0,0" Padding="32,24" Visibility="Collapsed">
|
||||||
<Border.Effect>
|
|
||||||
<DropShadowEffect Color="#000000" BlurRadius="20" ShadowDepth="0" Opacity="0.08"/>
|
|
||||||
</Border.Effect>
|
|
||||||
<ui:SimpleStackPanel Orientation="Vertical" HorizontalAlignment="Center" Spacing="16">
|
<ui:SimpleStackPanel Orientation="Vertical" HorizontalAlignment="Center" Spacing="16">
|
||||||
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="12" HorizontalAlignment="Center">
|
<ui:SimpleStackPanel Orientation="Horizontal" Spacing="12" HorizontalAlignment="Center">
|
||||||
<Border Background="#10b981" CornerRadius="8" Padding="8">
|
<Border Background="#10b981" CornerRadius="8" Padding="8">
|
||||||
|
|||||||
Reference in New Issue
Block a user