| | |
| | | Application.MainPage.BackgroundColor = CSS_Color.MainBackgroundColor; |
| | | |
| | | |
| | | #region 测试 |
| | | var ddd = new UI.test.TestDialog(); |
| | | ddd.InitView(); |
| | | return; |
| | | #endregion |
| | | //#region 测试 |
| | | //var ddd = new UI.test.TestDialog(); |
| | | //ddd.InitView(); |
| | | //return; |
| | | //#endregion |
| | | |
| | | if (string.IsNullOrEmpty(OnAppConfig.Instance.LastLoginUserId)) |
| | | { |
| | |
| | | addResidencePage.LoadView(); |
| | | return; |
| | | } |
| | | |
| | | new System.Threading.Thread(() => |
| | | { |
| | | try |
| | |
| | | }; |
| | | BaseView.AddChidren(BasePageView); |
| | | |
| | | |
| | | //跳转页面---- |
| | | var UserBasePage = new UserPage(); |
| | | BasePageView.AddChidren(UserBasePage); |
| | | UserBasePage.LoadPage(); |
| | | BasePageView.PageIndex = 0; |
| | | |
| | | |
| | | |
| | | if (isFirstOpen) |
| | | { |
| | |
| | | { |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | |
| | | |
| | | if (downloadData) |
| | | { |
| | | ///初始化app数据 |
| | | Common.ApiUtlis.Ins.DownloadData(); |
| | | }; |
| | | |
| | | |
| | | |
| | | }); |
| | | } |
| | | }).Start(); |