WJC
2019-10-31 d7ad5a3953a8cd001659092ebde204b881f94b9d
ZigbeeApp/Shared/Phone/UserCenter/Member/MemberManagementForm.cs
@@ -57,11 +57,11 @@
            btnTopIcon = new MostRightIconControl(69, 69);
            if (memberInfo.AccountType == 1)
            {
                btnTopIcon.UnSelectedImagePath = "Account/HadAuthority.png";
                btnTopIcon.UnSelectedImagePath = "Item/HadAuthority.png";
            }
            else
            {
                btnTopIcon.UnSelectedImagePath = "Account/NotAuthority.png";
                btnTopIcon.UnSelectedImagePath = "Item/NotAuthority.png";
            }
            topFrameLayout.AddChidren(btnTopIcon);
            btnTopIcon.InitControl();
@@ -71,10 +71,17 @@
                if (memberInfo.AccountType != 1)
                {
                    msg = Language.StringByID(R.MyInternationalizationString.uUpSubAccountLevel);
                    if (msg.Contains("{0}") == true)
                    {
                        msg = string.Format(msg, string.IsNullOrEmpty(memberInfo.UserName) == true ? memberInfo.Account : memberInfo.UserName);
                    }
                }
                this.ShowMassage(ShowMsgType.Confirm, msg, () =>
                 {
                     this.UpOrDownSubAccountLevel();
                     //二次安全验证,如果没有设置有,直接跳过验证
                     HdlCheckLogic.Current.CheckSecondarySecurity(
                         () => { this.UpOrDownSubAccountLevel(); },
                         () => { this.UpOrDownSubAccountLevel(); });
                 });
            };
        }
@@ -222,10 +229,7 @@
            btnName.TextSize = 15;
            //开关
            var btnSwitch = row.AddMostRightEmptyIcon(104, 63);
            row.ChangedChidrenBindMode(btnSwitch, ChidrenBindMode.NotBind);
            btnSwitch.UnSelectedImagePath = "Item/Switch.png";
            btnSwitch.SelectedImagePath = "Item/SwitchSelected.png";
            var btnSwitch = row.AddMostRightSwitchIcon();
            btnSwitch.ButtonClickEvent += (sender, e) =>
            {
                btnSwitch.IsSelected = !btnSwitch.IsSelected;
@@ -254,12 +258,12 @@
            btnName.TextSize = 15;
            //右图标
            row.AddRightIconControl();
            row.AddRightArrow();
            var memberShardInfo = new MemberShardInfoData();
            row.ButtonClickEvent += (sender, e) =>
            {
                var form = new SharedContent.SearchConfigureSharedListRoomForm();
                var form = new SharedContent.LookSharedListRoomForm();
                form.AddForm(memberInfo, memberShardInfo);
            };
        }
@@ -299,11 +303,11 @@
                //变更权限图标
                if (memberInfo.AccountType == 1)
                {
                    btnTopIcon.UnSelectedImagePath = "Account/HadAuthority.png";
                    btnTopIcon.UnSelectedImagePath = "Item/HadAuthority.png";
                }
                else
                {
                    btnTopIcon.UnSelectedImagePath = "Account/NotAuthority.png";
                    btnTopIcon.UnSelectedImagePath = "Item/NotAuthority.png";
                }
                //变更权限文字
                btnAuthority.TextID = memberInfo.AccountType == 1 ? R.MyInternationalizationString.uMemberHadActionAuthority : R.MyInternationalizationString.uMember;