From 00ab3ddb140ba8bb88b5cf572b004a85e1da85e9 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期四, 02 一月 2020 19:51:56 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev-tzy' into DEV_GXC --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/BaseCommonControl/Base/TextInputBase.cs | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/BaseCommonControl/Base/TextInputBase.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/BaseCommonControl/Base/TextInputBase.cs index 86b3602..affc396 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/BaseCommonControl/Base/TextInputBase.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/BaseCommonControl/Base/TextInputBase.cs @@ -9,6 +9,28 @@ /// </summary> public class TextInputBase : EditText { + #region 鈻� 鍙橀噺澹版槑___________________________ + + /// <summary> + /// 鑱斿姩搴曠嚎 + /// </summary> + private NormalViewControl btnLineTemp = null; + /// <summary> + /// 鑱斿姩搴曠嚎(鍊艰緭鍏ヤ箣鍚�,绾跨殑棰滆壊浼氬彉) + /// </summary> + public NormalViewControl btnLine + { + set + { + this.btnLineTemp = value; + //鍏夋爣浜嬩欢 + this.FoucsChanged -= this.TxtCode_FoucsChangedEvent; + this.FoucsChanged += this.TxtCode_FoucsChangedEvent; + } + } + + #endregion + #region 鈻� 鍒濆鍖朹____________________________ /// <summary> @@ -78,6 +100,27 @@ #endregion + #region 鈻� 浜嬩欢_______________________________ + + /// <summary> + /// 鐒︾偣鍙樻洿浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void TxtCode_FoucsChangedEvent(object sender, FocusEventArgs e) + { + if (e.Focus == false) + { + btnLineTemp.BackgroundColor = UserCenterColor.Current.ButtomLine; + } + else + { + btnLineTemp.BackgroundColor = UserCenterColor.Current.TextFrameSelectColor; + } + } + + #endregion + #region 鈻� 涓�鑸柟娉昣__________________________ /// <summary> -- Gitblit v1.8.0