From eb76239882830f3960b8800bb0f2c90ca7b3f378 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 04 八月 2022 09:19:10 +0800 Subject: [PATCH] Merge branch 'release0123' --- HDL_ON/UI/UI2/1-HomePage/HomePage.cs | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs index e44aaf9..7c631aa 100644 --- a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs +++ b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs @@ -1047,10 +1047,10 @@ btnbg.SelectedImagePath = "Collection/FunctionArmOnbg.png"; } - if (!function.online) - { - btnbg.UnSelectedImagePath = "Collection/FunctionOfflineBg.png"; - } + //if (!function.online) + //{ + // btnbg.UnSelectedImagePath = "Collection/FunctionOfflineBg.png"; + //} } if (index == 0) @@ -1456,6 +1456,16 @@ btnState.SelectedTextColor = CSS_Color.MainBackgroundColor; btnState.TextColor = CSS_Color.MainColor;//PromptingColor1 } + + //绱ф�ユ眰鍔� + else if (function.spk == SPK.SensorHelp) + { + btnName.TextColor = CSS_Color.MainBackgroundColor; + btnName.SelectedTextColor = CSS_Color.MainBackgroundColor; + btnIcon.UnSelectedImagePath = $"FunctionIcon/Icon/HomeIcon/{function.IconName}_white.png"; + btnIcon.SelectedImagePath = $"FunctionIcon/Icon/HomeIcon/{function.IconName}_white.png"; + } + else { Button btnSwitch; -- Gitblit v1.8.0