| | |
| | | Y = lineView.Bottom, |
| | | }; |
| | | bodyView.AddChidren(functionView); |
| | | functionView.btnTilte.TextID = StringId.FunctionIntroduced; |
| | | functionView.BtnTilte.TextID = StringId.FunctionIntroduced; |
| | | Action functionAction = () => |
| | | { |
| | | var mPage = new FunctionIntroductionPage(); |
| | |
| | | mPage.LoadPage(); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | }; |
| | | functionView.goAction = functionAction; |
| | | functionView.GoAction = functionAction; |
| | | #endregion |
| | | |
| | | #region 投诉 |
| | |
| | | Y = functionView.Bottom, |
| | | }; |
| | | bodyView.AddChidren(complaintsView); |
| | | complaintsView.btnTilte.TextID = StringId.Complaints; |
| | | complaintsView.BtnTilte.TextID = StringId.Complaints; |
| | | Action complaintsAction = () => |
| | | { |
| | | var mPage = new ComplaintsPage(); |
| | |
| | | mPage.LoadPage(); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | }; |
| | | complaintsView.goAction = complaintsAction; |
| | | complaintsView.GoAction = complaintsAction; |
| | | #endregion |
| | | |
| | | #region 版本更新 |
| | |
| | | Y = complaintsView.Bottom, |
| | | }; |
| | | bodyView.AddChidren(versionUpdateView); |
| | | versionUpdateView.btnTilte.TextID = StringId.VersionUpdate; |
| | | versionUpdateView.BtnTilte.TextID = StringId.VersionUpdate; |
| | | Action versionUpdateAction = () => |
| | | { |
| | | CheckIfNeedUpdateAsync(); |
| | | }; |
| | | versionUpdateView.goAction = versionUpdateAction; |
| | | versionUpdateView.GoAction = versionUpdateAction; |
| | | #endregion |
| | | |
| | | |
| | |
| | | |
| | | /// <summary> |
| | | /// 检测是否需要更新 |
| | | /// Android等接口实现 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | void CheckIfNeedUpdateAsync() |