From b544d5cccd76735e034c8055918a50927b437474 Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期二, 10 十一月 2026 08:29:04 +0800
Subject: [PATCH] fix: 维护模式重复进入失败与按钮灰死 + Broker 并发验证用例
---
WPFProject/Login.xaml | 15 +++------------
1 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/WPFProject/Login.xaml b/WPFProject/Login.xaml
index f656f1f..dfb5752 100644
--- a/WPFProject/Login.xaml
+++ b/WPFProject/Login.xaml
@@ -26,18 +26,8 @@
<ResourceDictionary Source="/HMI.UI;component/Style/Colors.xaml"/>
</ResourceDictionary.MergedDictionaries>
- <Style x:Key="SignInPasswordBoxStyle" TargetType="PasswordBox" BasedOn="{StaticResource {x:Type PasswordBox}}">
- <Setter Property="pu:PasswordBoxHelper.FocusedBorderBrush" Value="#6CBCEA" />
- <Setter Property="pu:PasswordBoxHelper.FocusedShadowColor" Value="#6CBCEA" />
- <Setter Property="pu:PasswordBoxHelper.CornerRadius" Value="2" />
- <Setter Property="pu:PasswordBoxHelper.WatermarkForeground" Value="#4A4A4A" />
- <Setter Property="pu:PasswordBoxHelper.FocusedWatermarkForeground" Value="#AAAAAA" />
- <Setter Property="pu:PasswordBoxHelper.ClearButtonVisibility" Value="VisibleOnHoverAndNonnull" />
- <Setter Property="Height" Value="35" />
- <Setter Property="Padding" Value="10,0" />
- </Style>
-
<Style x:Key="SignInButtonStyle" TargetType="Button" BasedOn="{StaticResource PrimaryButton}">
+ <Setter Property="Background" Value="#6CBCEA"/>
<Setter Property="pu:ButtonHelper.PendingSpinStyle">
<Setter.Value>
<Style TargetType="pu:Spin" BasedOn="{StaticResource {x:Static pu:ButtonHelper.PendingSpinStyleKey}}">
@@ -105,7 +95,8 @@
<Image Height="25"
Stretch="Uniform"
HorizontalAlignment="Left"
- Source="/Resources/JingCeLogo.png"
+ Source="/Icon/LoginLogo.png"
+ x:Name="logoImage"
RenderOptions.BitmapScalingMode="HighQuality" />
<StackPanel Margin="0,50,0,0" Grid.Row="1" x:Name="formPanel" dp:StackPanelHelper.ChildSpace="20" >
<pu:FormGroup x:Name="FrmAccount"
--
Gitblit v1.9.1