xm
2020-08-14 a45fe56aeeac8f28a9891b83362954067c8166dc
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>
        /// 计算图片的真实高宽度