improve:更新弹窗

This commit is contained in:
2025-09-20 22:21:05 +08:00
parent ebf6d0d5f7
commit ad97fd13bf
+5 -5
View File
@@ -11,13 +11,13 @@
ui:WindowHelper.SystemBackdropType="Mica" ui:WindowHelper.SystemBackdropType="Mica"
Title="InkCanvasForClass CE有新版本可用" Height="650" Width="900" ResizeMode="NoResize" Title="InkCanvasForClass CE有新版本可用" Height="650" Width="900" ResizeMode="NoResize"
WindowStartupLocation="CenterScreen" WindowStyle="None" AllowsTransparency="True" WindowStartupLocation="CenterScreen" WindowStyle="None" AllowsTransparency="True"
Background="#f8fafc"> Background="Transparent">
<Window.Template> <Window.Template>
<ControlTemplate TargetType="Window"> <ControlTemplate TargetType="Window">
<Border Background="{TemplateBinding Background}" <Border Background="#f8fafc"
CornerRadius="16" CornerRadius="16"
BorderBrush="{TemplateBinding BorderBrush}" BorderBrush="Transparent"
BorderThickness="{TemplateBinding BorderThickness}"> BorderThickness="0">
<Border.Effect> <Border.Effect>
<DropShadowEffect Color="#000000" BlurRadius="30" ShadowDepth="0" Opacity="0.15"/> <DropShadowEffect Color="#000000" BlurRadius="30" ShadowDepth="0" Opacity="0.15"/>
</Border.Effect> </Border.Effect>
@@ -140,7 +140,7 @@
</Window.Resources> </Window.Resources>
<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled"> <ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled">
<Grid Margin="0,0,0,0"> <Grid Margin="0,0,0,0" Background="Transparent">
<ui:SimpleStackPanel VerticalAlignment="Stretch" Spacing="0"> <ui:SimpleStackPanel VerticalAlignment="Stretch" Spacing="0">
<!-- 统一的主容器 --> <!-- 统一的主容器 -->
<Border Background="White" CornerRadius="16" Margin="0,0,0,0" <Border Background="White" CornerRadius="16" Margin="0,0,0,0"