黄学彪
2020-03-06 a5b3c4bae726ef6770d4bfcbf2f4b50a37ed4a15
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/EditorCommonForm.cs
@@ -129,10 +129,18 @@
            topFrameLayout.AddTag("btnBack", btnBack);
            //标题
            var txttitle = new TopLayoutTitleControl();
            topFrameLayout.AddChidren(txttitle);
            //粗体
            var txttitle = new Button();
            txttitle.Name = "txtTitle";
            txttitle.TextSize = 17;
            txttitle.X = Application.GetRealWidth(161);
            txttitle.Height = Application.GetRealHeight(69);
            txttitle.Width = Application.GetRealWidth(850);
            txttitle.Gravity = Gravity.CenterVertical;
            txttitle.TextColor = UserCenterColor.Current.TopLayoutTitleText;
            txttitle.TextAlignment = TextAlignment.CenterLeft;
            txttitle.IsBold = true;
            topFrameLayout.AddChidren(txttitle);
            topFrameLayout.AddTag("txtTitle", txttitle);
        }
@@ -169,6 +177,8 @@
        /// <param name="parameter">启动参数:参数由指定画面的ShowForm函数所指定</param>
        public override void AddForm(params object[] parameter)
        {
            base.AddForm(parameter);
            //检测能否追加画面
            if (UserCenterLogic.CheckCanAddForm(this) == false)
            {
@@ -194,14 +204,14 @@
        /// </summary>
        public override void CloseFormBefore()
        {
            base.CloseFormBefore();
            //左滑使能
            this.ScrollEnabled = true;
            this.m_parameter = null;
            //清空bodyFrame
            this.ClearBodyFrame();
            base.CloseFormBefore();
            this.ClearBodyFrame();
        }
        #endregion