From cda2410f9c29f2fadc16e9de38ccae95b75a89dd Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期三, 09 六月 2021 10:51:13 +0800 Subject: [PATCH] 1 --- HDL_ON/UI/UI2/4-PersonalCenter/MyQRCodePage.cs | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/MyQRCodePage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/MyQRCodePage.cs old mode 100755 new mode 100644 index f5e52e8..1b78a1a --- a/HDL_ON/UI/UI2/4-PersonalCenter/MyQRCodePage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/MyQRCodePage.cs @@ -17,7 +17,11 @@ bodyView = this; } - public void LoadPage() + /// <summary> + /// + /// </summary> + /// <param name="isStartCheckResidenceThread">鏄惁寮�鍚綇瀹呯洃鍚嚎绋嬶紝娌℃湁浣忓畢鐨勬椂鍊欏埆浜烘壂鐮佹坊鍔犱綘涓烘垚鍛樼殑鏃跺�欒皟鐢�</param> + public void LoadPage(bool isStartCheckResidenceThread = false) { bodyView.BackgroundColor = CSS_Color.BackgroundColor; new TopViewDiv(bodyView, Language.StringByID(StringId.MyQRcode)).LoadTopView(); @@ -114,8 +118,12 @@ //}; //backView.AddChidren(headImage2); - //寮�鍚娴嬩綇瀹呮槸鍚﹀凡缁忔坊鍔犱簡鐨勭嚎绋� - this.StartCheckResidenceThread(); + + if (isStartCheckResidenceThread) + { + //寮�鍚娴嬩綇瀹呮槸鍚﹀凡缁忔坊鍔犱簡鐨勭嚎绋� + this.StartCheckResidenceThread(); + } } /// <summary> @@ -136,7 +144,7 @@ var resultObj = DAL.Server.HttpUtil.RequestHttpsPost(DAL.Server.NewAPI.API_POST_Gethomepager, requestJson); if (resultObj.Code == DAL.Server.StateCode.SUCCESS) { - var homeList = Newtonsoft.Json.JsonConvert.DeserializeObject<List<RegionInfoResNew>>(resultObj.Data.ToString()); + var homeList = Newtonsoft.Json.JsonConvert.DeserializeObject<List<RegionInfoRes>>(resultObj.Data.ToString()); if (homeList == null || homeList.Count == 0) { //濡傛灉杩樻病鏈変綇瀹呯殑璇�,缁х画涓嬩竴娆℃娴� @@ -148,7 +156,7 @@ Application.RunOnMainThread(() => { //璺宠浆椤甸潰---- - MainPage.GoUserPage(false, () => + MainPage.GoUserPage(true, false, () => { //鏄剧ず娆㈣繋鍥炲鐨勫脊绐楃晫闈� var form = new WellcomToHomeForm(); -- Gitblit v1.8.0