From 52005ed57f3f7bc796fdd1a878e4f298a126f1e8 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期二, 29 十月 2019 16:48:47 +0800
Subject: [PATCH] 2019.10.29-3
---
ZigbeeApp/Shared/Phone/UserCenter/Member/MemberManagementForm.cs | 17 +++++------------
1 files changed, 5 insertions(+), 12 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberManagementForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberManagementForm.cs
index 0934bee..da175eb 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberManagementForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberManagementForm.cs
@@ -57,11 +57,11 @@
btnTopIcon = new MostRightIconControl(69, 69);
if (memberInfo.AccountType == 1)
{
- btnTopIcon.UnSelectedImagePath = "Item/HadAuthority.png";
+ btnTopIcon.UnSelectedImagePath = "Account/HadAuthority.png";
}
else
{
- btnTopIcon.UnSelectedImagePath = "Item/NotAuthority.png";
+ btnTopIcon.UnSelectedImagePath = "Account/NotAuthority.png";
}
topFrameLayout.AddChidren(btnTopIcon);
btnTopIcon.InitControl();
@@ -71,17 +71,10 @@
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, () =>
{
- //浜屾瀹夊叏楠岃瘉,濡傛灉娌℃湁璁剧疆鏈�,鐩存帴璺宠繃楠岃瘉
- HdlCheckLogic.Current.CheckSecondarySecurity(
- () => { this.UpOrDownSubAccountLevel(); },
- () => { this.UpOrDownSubAccountLevel(); });
+ this.UpOrDownSubAccountLevel();
});
};
}
@@ -303,11 +296,11 @@
//鍙樻洿鏉冮檺鍥炬爣
if (memberInfo.AccountType == 1)
{
- btnTopIcon.UnSelectedImagePath = "Item/HadAuthority.png";
+ btnTopIcon.UnSelectedImagePath = "Account/HadAuthority.png";
}
else
{
- btnTopIcon.UnSelectedImagePath = "Item/NotAuthority.png";
+ btnTopIcon.UnSelectedImagePath = "Account/NotAuthority.png";
}
//鍙樻洿鏉冮檺鏂囧瓧
btnAuthority.TextID = memberInfo.AccountType == 1 ? R.MyInternationalizationString.uMemberHadActionAuthority : R.MyInternationalizationString.uMember;
--
Gitblit v1.8.0