From a3ba25607612818c28d421bfa8eb2f92339d71ac Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期四, 13 三月 2025 20:30:48 +0800
Subject: [PATCH] 优化项目;

---
 HMI.UI/Style/PanuonResource.xaml |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/HMI.UI/Style/PanuonResource.xaml b/HMI.UI/Style/PanuonResource.xaml
index 908245f..01337d5 100644
--- a/HMI.UI/Style/PanuonResource.xaml
+++ b/HMI.UI/Style/PanuonResource.xaml
@@ -53,6 +53,11 @@
         <Setter Property="Content" Value="{DynamicResource App.Add}"/>
     </Style>
 
+    <Style x:Key="EditBtn" TargetType="Button" BasedOn="{StaticResource PrimaryButton}">
+        <Setter Property="pu:ButtonHelper.Icon" Value="&#xe643;"/>
+        <Setter Property="Content" Value="{DynamicResource App.Edit}"/>
+    </Style>
+    
     <Style x:Key="RfhBtn" TargetType="Button" BasedOn="{StaticResource PrimaryButton}">
         <Setter Property="pu:ButtonHelper.Icon" Value="&#xe631;"/>
         <Setter Property="Content" Value="{DynamicResource App.Refresh}"/>
@@ -170,7 +175,6 @@
 
     <Style x:Key="DefaultDataGrid" TargetType="DataGrid" BasedOn="{StaticResource {x:Static pu:StyleKeys.DataGridStyle}}">
         <Style.Resources>
-
             <Style TargetType="DataGridCell" 
                    BasedOn="{StaticResource {x:Static pu:StyleKeys.DataGridCellStyle}}">
                 <Setter Property="Background" Value="Transparent"/>
@@ -183,13 +187,11 @@
                 <Setter Property="VerticalAlignment" Value="Center"/>
                 <Setter Property="Padding" Value="5"/>
             </Style>-->
-
             <Style TargetType="DataGridColumnHeader" 
        BasedOn="{StaticResource {x:Static pu:StyleKeys.DataGridColumnHeaderStyle}}">
                 <Setter Property="Padding" Value="10"/>
                 <Setter Property="BorderThickness" Value="0"/>
             </Style>
-
         </Style.Resources>
         <Setter Property="pu:DataGridHelper.ColumnHeaderPadding" Value="0"/>
         <Setter Property="RowHeight" Value="30"/>
@@ -198,7 +200,7 @@
         <Setter Property="SelectionMode" Value="Single"/>
         <Setter Property="RowStyle" Value="{StaticResource DefaultDataGridRow}"/>
         <Setter Property="AlternationCount" Value="2"></Setter>
-        <Setter Property="Foreground" Value="#878787"/>
+        <Setter Property="Foreground" Value="#3a3a3a"/>
         <Setter Property="HorizontalGridLinesBrush" Value="{StaticResource TableBoarder}"/>
         <Setter Property="VerticalGridLinesBrush" Value="{StaticResource TableBoarder}"/>
         <Setter Property="BorderBrush" Value="{StaticResource TableBoarder}" />
@@ -226,7 +228,6 @@
         <Setter Property="pu:DataGridHelper.RowSelectedBackground" Value="{StaticResource PrimaryColor}"/>
         <Setter Property="pu:DataGridHelper.RowSelectedForeground" Value="White"/>
         <Setter Property="pu:DataGridHelper.RowHeaderBorderThickness" Value="10,0,0,0"/>
-        <Setter Property="pu:DataGridHelper.RowHeaderBackground" Value="Red"/>
         <Setter Property="pu:DataGridHelper.ColumnHeaderBorderThickness" Value="0"/>
         <Setter Property="pu:DataGridHelper.ColumnHeaderPadding" Value="0"/>
     </Style>

--
Gitblit v1.9.1