From 15bbd62b0b24b72c717ae91ab45348a2083ad04e Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期五, 10 十月 2025 08:58:18 +0800
Subject: [PATCH] 优化bug;
---
Plugin.TestResult/InfoTable.xaml | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Plugin.TestResult/InfoTable.xaml b/Plugin.TestResult/InfoTable.xaml
index 990aa4e..2cbb831 100644
--- a/Plugin.TestResult/InfoTable.xaml
+++ b/Plugin.TestResult/InfoTable.xaml
@@ -39,7 +39,7 @@
<ColumnDefinition Width="2*"/>
</Grid.ColumnDefinitions>
<Label Grid.Row="0" Grid.Column="0" Content="{DynamicResource Tr.Temperature}"/>
- <Label Grid.Row="0" Grid.Column="1" Background="Yellow" Content="{Binding temperatureStr}"/>
+ <Label Grid.Row="0" Grid.Column="1" Background="{DynamicResource CellValue}" Content="{Binding temperatureStr}"/>
<Label Grid.Row="0" Grid.Column="2" Content="{DynamicResource Tr.Status}"/>
<Label Grid.Row="0" Grid.Column="3" Content="{Binding statusStr}">
<Label.Style>
@@ -63,7 +63,7 @@
<Setter Property="Background" Value="#1296db"/>
</DataTrigger>
<DataTrigger Binding="{Binding status}" Value="waiting">
- <Setter Property="Background" Value="#6e6e6e"/>
+ <Setter Property="Background" Value="#A5A5A5"/>
</DataTrigger>
<DataTrigger Binding="{Binding status}" Value="alert">
<Setter Property="Background" Value="#e04733"/>
@@ -76,13 +76,13 @@
</Label.Style>
</Label>
<Label Grid.Row="0" Grid.Column="4" Content="{DynamicResource Tr.Count}"/>
- <Label Grid.Row="0" Grid.Column="5" Background="Yellow" Content="{Binding countStr}"/>
+ <Label Grid.Row="0" Grid.Column="5" Background="{DynamicResource CellValue}" Content="{Binding countStr}"/>
<Label Grid.Row="1" Grid.Column="0" Content="{DynamicResource Tr.StartTime}"/>
- <Label Grid.Row="1" Grid.Column="1" Background="Yellow" Content="{Binding startTimeStr}"/>
+ <Label Grid.Row="1" Grid.Column="1" Background="{DynamicResource CellValue}" Content="{Binding startTimeStr}"/>
<Label Grid.Row="1" Grid.Column="2" Content="{DynamicResource Tr.ElapsedTime}"/>
- <Label Grid.Row="1" Grid.Column="3" Background="Yellow" Content="{Binding consumeTimeStr}"/>
+ <Label Grid.Row="1" Grid.Column="3" Background="{DynamicResource CellValue}" Content="{Binding consumeTimeStr}"/>
<Label Grid.Row="1" Grid.Column="4" Content="{DynamicResource Tr.EstimatedEndTime}"/>
- <Label Grid.Row="1" Grid.Column="5" Background="Yellow" Content="{Binding endTimeStr}"/>
+ <Label Grid.Row="1" Grid.Column="5" Background="{DynamicResource CellValue}" Content="{Binding endTimeStr}"/>
</Grid>
</UserControl>
--
Gitblit v1.9.1