From 1209d93632b447823caf371dea5ccf030ab20434 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期五, 13 十一月 2020 17:11:55 +0800
Subject: [PATCH] 2020-11-13 1.更新

---
 HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/ChooseShareMemberTargetListPageBLL.cs |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/ChooseShareMemberTargetListPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/ChooseShareMemberTargetListPageBLL.cs
index a6e4887..ada9433 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/ChooseShareMemberTargetListPageBLL.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/ChooseShareMemberTargetListPageBLL.cs
@@ -99,7 +99,7 @@
                             //濡傛灉璇ュ姛鑳藉凡缁忓垎浜紝鏇存柊鍘熸湁鐨勬暟鎹�
                             if (null != sd)
                             {
-                                sd.ShareDataBytes = DAL.CommonPage.MyEncodingUTF8.GetBytes(Newtonsoft.Json.JsonConvert.SerializeObject(f));
+                                sd.ShareDataBytes = System.Text.Encoding.UTF8.GetBytes(Newtonsoft.Json.JsonConvert.SerializeObject(f));
                                 result = EditShareData(sd);
                             }
                             else//濡傛灉璇ュ姛鑳芥湭琚垎浜紝鍒欐柊澧炲垎浜�
@@ -128,7 +128,8 @@
                         Application.RunOnMainThread(() => {
                             for (int i = 0; i < 3; i++)
                             {
-                                MainPage.BasePageView.RemoveAt(MainPage.BasePageView.ChildrenCount - 1);
+                                //MainPage.BasePageView.RemoveAt(MainPage.BasePageView.ChildrenCount - 1);
+                                MainPage.BasePageView.GetChildren(MainPage.BasePageView.ChildrenCount - 1).RemoveFromParent();
                             }
                         });
                     }
@@ -162,7 +163,7 @@
         bool EditShareData(ShareData sd)
         {
             ResponsePack responePack = new HttpServerRequest().EditShareData(sd);
-            if (responePack.StateCode.ToUpper() == "SUCCESS")
+            if (responePack.StateCode.ToUpper() == StateCode.SUCCESS)
             {
                 return true;
             }
@@ -179,7 +180,7 @@
         void LoadMethod_GetMemberSharedDataList(ResidenceMemberInfo info)
         {
             ResponsePack responePack = new HttpServerRequest().GetShareDataByMemberAccount(info.SubAccountDistributedMark);
-            if (responePack.StateCode.ToUpper() == "SUCCESS")
+            if (responePack.StateCode.ToUpper() == StateCode.SUCCESS)
             {
                 var responeObj = Newtonsoft.Json.JsonConvert.DeserializeObject<List<ShareData>>(responePack.ResponseData.ToString());
                 info.CurResidenceShareDate = responeObj;
@@ -193,7 +194,7 @@
         {
             var result = false;
             ResponsePack responePack = new HttpServerRequest().GetResidenceMemberAccount();
-            if (responePack.StateCode.ToUpper() == "SUCCESS")
+            if (responePack.StateCode.ToUpper() == StateCode.SUCCESS)
             {
                 memberList = Newtonsoft.Json.JsonConvert.DeserializeObject<List<ResidenceMemberInfo>>(responePack.ResponseData.ToString());
                 foreach (var mInfo in memberList)
@@ -257,7 +258,7 @@
                     var tip = new Tip()
                     {
                         Text = tipStr,
-                        CloseTime = 3,
+                        CloseTime = 1,
                         Direction = AMPopTipDirection.None
                     };
                     tip.Show(bodyView);

--
Gitblit v1.8.0