From a45fe56aeeac8f28a9891b83362954067c8166dc Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期五, 14 八月 2020 09:07:05 +0800 Subject: [PATCH] 请合并新代码,更改多功能面板绑定表重复问题 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/BaseCommonControl/Base/TextInputBase.cs | 39 +++++++++++++++++++++++---------------- 1 files changed, 23 insertions(+), 16 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 dbf1a01..c4572c8 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/BaseCommonControl/Base/TextInputBase.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/BaseCommonControl/Base/TextInputBase.cs @@ -16,13 +16,27 @@ /// </summary> private NormalViewControl btnLineTemp = null; /// <summary> - /// 鑱斿姩搴曠嚎(鍊艰緭鍏ヤ箣鍚�,绾跨殑棰滆壊浼氬彉) + /// 鑱斿姩搴曠嚎(鍏夋爣杩涙潵涔嬪悗,绾跨殑棰滆壊浼氬彉) /// </summary> public NormalViewControl btnLine { set { this.btnLineTemp = value; + } + } + /// <summary> + /// 鑱斿姩澶栨 + /// </summary> + private NormalFrameLayout frameBorder = null; + /// <summary> + /// 鑱斿姩澶栨(鍏夋爣杩涙潵涔嬪悗,澶栨鐨勯鑹蹭細鍙�) + /// </summary> + public NormalFrameLayout FrameBorder + { + set + { + this.frameBorder = value; } } @@ -177,6 +191,10 @@ { btnLineTemp.BackgroundColor = UserCenterColor.Current.ButtomLine; } + if (frameBorder != null) + { + frameBorder.BorderColor = 0xffcccccc; + } if (m_UseFocusColor == true) { //鐏拌壊瀛椾綋 @@ -188,6 +206,10 @@ if (btnLineTemp != null) { btnLineTemp.BackgroundColor = UserCenterColor.Current.TextFrameSelectColor; + } + if (frameBorder != null) + { + frameBorder.BorderColor = UserCenterColor.Current.TextFrameSelectColor; } if (m_UseFocusColor == true) { @@ -282,21 +304,6 @@ #endregion #region 鈻� 涓�鑸柟娉昣__________________________ - - /// <summary> - /// Y杞撮噸缃�(鐪熷疄鏁板��,娌℃湁鐖跺鍣ㄦ棤鏁�) - /// </summary> - /// <param name="alignment">涓婁笅瀵归綈鏂瑰紡</param> - /// <param name="Space">涓婁笅涓ら儴鍒嗙殑闂磋窛</param> - public void ReSetYaxis(UViewAlignment alignment, int Space = 0) - { - if (this.Parent == null) - { - return; - } - //Y杞撮噸缃� - this.Y = HdlControlLogic.Current.GetControlChidrenYaxis(this.Parent.Height, this.Height, alignment, Space); - } /// <summary> /// 璁$畻鍥剧墖鐨勭湡瀹為珮瀹藉害 -- Gitblit v1.8.0