| | |
| | | public void LoadPage() |
| | | { |
| | | bodyView.BackgroundColor = CSS_Color.MainBackgroundColor; |
| | | new TopViewDiv(bodyView, memberInfo.nickName).LoadTopView(); |
| | | var topView = new TopViewDiv(bodyView, memberInfo.nickName); |
| | | topView.maginY = 10; |
| | | topView.LoadTopView(); |
| | | |
| | | #region 人脸管理 |
| | | var btnMemberFaceTitle = new Button() |
| | | { |
| | | Y = Application.GetRealHeight(80), |
| | | Y = Application.GetRealHeight(80+10), |
| | | X = Application.GetRealWidth(16), |
| | | Height = Application.GetRealHeight(32), |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.TextualColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | Text = " 为保护您的个人隐私权益,特向您通知并申请明确同意授权。请你仔细阅读", |
| | | TextID = StringId.FaceProTipText1, |
| | | IsMoreLines = true, |
| | | }; |
| | | contentView.AddChidren(btnMsg); |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.MainColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | Text = " 《On Pro人脸信息采集协议》", |
| | | TextID = StringId.FaceProTipText2, |
| | | IsMoreLines = true, |
| | | }; |
| | | |
| | | contentView.AddChidren(btnMsg1); |
| | | |
| | | Button btnMsg2 = new Button() |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.TextualColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | Text = " 若同意该协议,请点击【同意】按键,表示您已经理解并同意人脸信息采集协议。", |
| | | TextID = StringId.FaceProTipText3, |
| | | IsMoreLines = true, |
| | | }; |
| | | contentView.AddChidren(btnMsg2); |
| | |
| | | }; |
| | | btnMsg1.MouseUpEventHandler += (sender2, e2) => |
| | | { |
| | | string url = "https://developer.hdlcontrol.com/人脸信息采集协议.html"; |
| | | string url = "https://developer.hdlcontrol.com/HDLFaceProtocol.html"; |
| | | if (Language.CurrentLanguage != "Chinese") |
| | | { |
| | | url = "https://developer.hdlcontrol.com/Face information collection protocol.html"; |
| | | } |
| | | new WebViewDialog().LoadPage("人脸信息采集协议", url); |
| | | new WebViewDialog().LoadPage(Language.StringByID(StringId.GetFaceProtocol), url); |
| | | |
| | | dialog.Close(); |
| | | }; |
| | |
| | | { |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | memberInfo.userFaceUrl = ""; |
| | | btnAddFace.ImageBytes = null; |
| | | btnAddFace.UnSelectedImagePath = "PersonalCenter/FacePassage/FaceIcon.png"; |
| | | btnDeleteFaceDate.Enable = btnDeleteFaceDate.Visible = false; |