| | |
| | | Y = Application.GetRealWidth(184), |
| | | Height = Application.GetRealWidth(28), |
| | | TextAlignment = TextAlignment.Center, |
| | | Text = "ON+", |
| | | Text = "On Pro", |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.EmphasisFontSize_Secondary, |
| | | IsBold = true, |
| | |
| | | versionUpdateView.GoAction = versionUpdateAction; |
| | | #endregion |
| | | |
| | | #region 软件服务协议 |
| | | var serviceAgreementView = new ListCellView() |
| | | { |
| | | Y = versionUpdateView.Bottom, |
| | | }; |
| | | bodyView.AddChidren(serviceAgreementView); |
| | | serviceAgreementView.BtnTilte.TextID = StringId.UserAgreement; |
| | | Action serviceAgreementAction = () => { |
| | | string url = Constant.URL_PRIVACYPOLICY; |
| | | string titleStr = Language.StringByID(StringId.PrivacyPolicy); |
| | | new WebViewDialog().LoadPageWithdrawalConsent(titleStr, url); |
| | | }; |
| | | serviceAgreementView.GoAction = serviceAgreementAction; |
| | | #endregion |
| | | |
| | | #region 用户信息保护协议 |
| | | var privacyPolicyView = new ListCellView() |
| | | { |
| | | Y = serviceAgreementView.Bottom, |
| | | }; |
| | | bodyView.AddChidren(privacyPolicyView); |
| | | privacyPolicyView.BtnTilte.TextID = StringId.PrivacyPolicy; |
| | | Action privacyPolicyAction = () => { |
| | | string url = Constant.URL_USERAGREEMENT; |
| | | string titleStr = Language.StringByID(StringId.UserAgreement); |
| | | new WebViewDialog().LoadPageWithdrawalConsent(titleStr, url); |
| | | }; |
| | | #endregion |
| | | privacyPolicyView.GoAction = privacyPolicyAction; |
| | | CheckIfNeedUpdateAsync(); |
| | | } |
| | | |