更新122

This commit is contained in:
GukSang.Jin
2026-05-20 16:39:42 +08:00
parent 7c7339d72c
commit 4030c18dc8
5 changed files with 117 additions and 77 deletions

View File

@@ -15,15 +15,17 @@
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="RowBackground" Value="White"/>
<Setter Property="AlternatingRowBackground" Value="#F8FAFC"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="FontSize" Value="{StaticResource TableFontSize}"/>
<Setter Property="HeadersVisibility" Value="Column"/>
<Setter Property="AutoGenerateColumns" Value="False"/>
<Setter Property="CanUserResizeColumns" Value="True"/>
<Setter Property="CanUserSortColumns" Value="True"/>
<Setter Property="GridLinesVisibility" Value="Horizontal"/>
<Setter Property="RowHeight" Value="32"/>
<Setter Property="RowHeight" Value="38"/>
<Setter Property="SelectionMode" Value="Single"/>
<Setter Property="SelectionUnit" Value="FullRow"/>
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
</Style>
<!-- 表头样式 -->
@@ -31,8 +33,8 @@
<Setter Property="Background" Value="#EFF3F6"/>
<Setter Property="Foreground" Value="#1E293B"/>
<Setter Property="FontWeight" Value="SemiBold"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="Height" Value="36"/>
<Setter Property="FontSize" Value="{StaticResource TableFontSize}"/>
<Setter Property="Height" Value="40"/>
<Setter Property="HorizontalContentAlignment" Value="Center"/>
<Setter Property="BorderBrush" Value="#E2E8F0"/>
<Setter Property="BorderThickness" Value="0,0,1,1"/>
@@ -41,7 +43,7 @@
<!-- 按钮样式 -->
<Style TargetType="Button" x:Key="ActionButton">
<Setter Property="MinWidth" Value="80"/>
<Setter Property="Height" Value="34"/>
<Setter Property="Height" Value="40"/>
<Setter Property="Margin" Value="6,0"/>
<Setter Property="Cursor" Value="Hand"/>
<Setter Property="Background" Value="#FFFFFF"/>
@@ -49,7 +51,7 @@
<Setter Property="BorderBrush" Value="#CBD5E1"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="FontWeight" Value="SemiBold"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="FontSize" Value="{StaticResource TableFontSize}"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
@@ -122,9 +124,9 @@
<Setter Property="BorderThickness" Value="0"/>
</Style>
<Style TargetType="TabItem">
<Setter Property="FontSize" Value="13"/>
<Setter Property="FontSize" Value="{StaticResource BaseFontSize}"/>
<Setter Property="FontWeight" Value="SemiBold"/>
<Setter Property="Padding" Value="16,8"/>
<Setter Property="Padding" Value="18,10"/>
<Setter Property="Background" Value="Transparent"/>
<Setter Property="Foreground" Value="#475569"/>
<Setter Property="Template">
@@ -165,7 +167,7 @@
<!-- 标题栏 -->
<Border Grid.Row="0" Background="#F8FAFC" CornerRadius="16,16,0,0" Padding="20,16">
<TextBlock Text="📋 历史检测记录" FontSize="20" FontWeight="Bold"
<TextBlock Text="📋 历史检测记录" FontSize="{StaticResource TitleFontSize}" FontWeight="Bold"
Foreground="#0F172A" HorizontalAlignment="Center"/>
</Border>