黄学彪
2020-07-09 5428935270159bfc42c2934ed7fb1091554fc9a4
ZigbeeApp/Shared/Phone/UserView/UserPage.cs
@@ -40,7 +40,7 @@
        /// <summary>
        /// 用户主体界面(中间部分)
        /// </summary>
        private FrameLayout bodyFrameView = null;
        private NormalFrameLayout bodyFrameView = null;
        /// <summary>
        /// 界面缓存(2020.05.07:切换时不移除界面,直接隐藏)
        /// </summary>
@@ -66,6 +66,7 @@
            BackgroundColor = Shared.Common.ZigbeeColor.Current.MainColor;
            Shared.Application.LocationAction += (lon, lat) =>
            {
                //上报经纬度
                Login.AccountLogic.Instance.ReceiveAppLatAndLon(lon.ToString(), lat.ToString());
            };
        }
@@ -80,14 +81,14 @@
                return;
            }
#if iOS
            if (Shared.Application.PhoneType >= 10)
            if (Shared.Application.IsFullScreen == true)
            {
                //高版本的苹果机型,屏幕底部会有一个黑色的杠
                ControlCommonResourse.BottomFrameHeight = Application.GetRealHeight(242);
            }
#endif
            //用户主体界面(中间部分)
            this.bodyFrameView = new FrameLayout();
            this.bodyFrameView = new NormalFrameLayout();
            bodyFrameView.Height = this.Height - UserCenter.ControlCommonResourse.BottomFrameHeight;
            bodyFrameView.BackgroundColor = Shared.Common.ZigbeeColor.Current.MainColor;
            this.AddChidren(bodyFrameView);
@@ -351,6 +352,21 @@
            this.SetAllControlStatu();
        }
        /// <summary>
        /// 获取当前激活的界面
        /// </summary>
        /// <returns></returns>
        public EditorCommonForm GetNowActionForm()
        {
            int index = ((int)this.nowSelectMenu) - 1;
            if (index != -1)
            {
                //调用此界面的激活函数
                return this.listForm[index];
            }
            return null;
        }
        #endregion
        #region ■ 结构体_____________________________