From 3055ac3c5a7a18db21f2adc6a36f68ae0fd708c2 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 06 五月 2022 14:48:58 +0800
Subject: [PATCH] 定制
---
HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs | 128 ++++++++++++++++++++++++------------------
1 files changed, 74 insertions(+), 54 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
index e511612..ccba2be 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPage.cs
@@ -183,10 +183,10 @@
/// <summary>
/// 瑙i攣璁剧疆鍖哄煙
/// </summary>
- FrameLayout interpretationSettingsView;
- Button btnInterpretationSettingsTitle;
- Button btnInterpretationSettingsTip;
- Button btnInterpretationSettingsRight;
+ //FrameLayout interpretationSettingsView;
+ //Button btnInterpretationSettingsTitle;
+ //Button btnInterpretationSettingsTip;
+ //Button btnInterpretationSettingsRight;
#endregion
/// <summary>
@@ -560,7 +560,7 @@
btnAddResidenceText.MouseUpEventHandler = (sender, e) =>
{
- Scan.OpenScan((scanString) =>
+ Scan.Ins.OpenScan((scanString) =>
{
if (string.IsNullOrEmpty(scanString))
{
@@ -679,62 +679,62 @@
}
#endregion
-
- #region 瑙i攣璁剧疆鍖哄煙
var topPaddingView2 = new FrameLayout()
{
Height = Application.GetRealHeight(8)
};
bodyScrolView.AddChidren(topPaddingView2);
- /// <summary>
- /// 瑙i攣璁剧疆鍖哄煙
- /// </summary>
- interpretationSettingsView = new FrameLayout()
- {
- BackgroundColor = CSS_Color.MainBackgroundColor,
- Height = Application.GetRealHeight(70),
- };
- bodyScrolView.AddChidren(interpretationSettingsView);
- if(Language.CurrentLanguage != "Chinese")
- {
- interpretationSettingsView.Height = Application.GetRealHeight(80);
- }
- btnInterpretationSettingsTitle = new Button()
- {
- X = Application.GetRealWidth(16),
- Height = Application.GetRealHeight(32),
- TextAlignment = TextAlignment.BottomLeft,
- TextColor = CSS_Color.FirstLevelTitleColor,
- TextSize = CSS_FontSize.SubheadingFontSize,
- TextID = StringId.InterpretationSettings,
- };
- interpretationSettingsView.AddChidren(btnInterpretationSettingsTitle);
+ #region 瑙i攣璁剧疆鍖哄煙
+ ///// <summary>
+ ///// 瑙i攣璁剧疆鍖哄煙
+ ///// </summary>
+ //interpretationSettingsView = new FrameLayout()
+ //{
+ // BackgroundColor = CSS_Color.MainBackgroundColor,
+ // Height = Application.GetRealHeight(70),
+ //};
+ //bodyScrolView.AddChidren(interpretationSettingsView);
+ //if(Language.CurrentLanguage != "Chinese")
+ //{
+ // interpretationSettingsView.Height = Application.GetRealHeight(80);
+ //}
- btnInterpretationSettingsTip = new Button()
- {
- X = Application.GetRealWidth(16),
- Y = btnInterpretationSettingsTitle.Bottom,
- Height = Application.GetRealHeight(32),
- Width = Application.GetRealWidth(310),
- TextAlignment = TextAlignment.TopLeft,
- TextColor = CSS_Color.PromptingColor1,
- TextSize = CSS_FontSize.TextFontSize,
- TextID = StringId.AppUnlockSettingsTip,
- IsMoreLines = true,
- };
- interpretationSettingsView.AddChidren(btnInterpretationSettingsTip);
+ //btnInterpretationSettingsTitle = new Button()
+ //{
+ // X = Application.GetRealWidth(16),
+ // Height = Application.GetRealHeight(32),
+ // TextAlignment = TextAlignment.BottomLeft,
+ // TextColor = CSS_Color.FirstLevelTitleColor,
+ // TextSize = CSS_FontSize.SubheadingFontSize,
+ // TextID = StringId.InterpretationSettings,
+ //};
+ //interpretationSettingsView.AddChidren(btnInterpretationSettingsTitle);
- btnInterpretationSettingsRight = new Button()
- {
- X = Application.GetRealWidth(339),
- Gravity = Gravity.CenterVertical,
- Width = Application.GetMinRealAverage(16),
- Height = Application.GetMinRealAverage(16),
- UnSelectedImagePath = "Public/Right.png",
- };
- interpretationSettingsView.AddChidren(btnInterpretationSettingsRight);
- interpretationSettingsView.AddChidren(new LineView(interpretationSettingsView.Height));
+ //btnInterpretationSettingsTip = new Button()
+ //{
+ // X = Application.GetRealWidth(16),
+ // Y = btnInterpretationSettingsTitle.Bottom,
+ // Height = Application.GetRealHeight(32),
+ // Width = Application.GetRealWidth(310),
+ // TextAlignment = TextAlignment.TopLeft,
+ // TextColor = CSS_Color.PromptingColor1,
+ // TextSize = CSS_FontSize.TextFontSize,
+ // TextID = StringId.AppUnlockSettingsTip,
+ // IsMoreLines = true,
+ //};
+ //interpretationSettingsView.AddChidren(btnInterpretationSettingsTip);
+
+ //btnInterpretationSettingsRight = new Button()
+ //{
+ // X = Application.GetRealWidth(339),
+ // Gravity = Gravity.CenterVertical,
+ // Width = Application.GetMinRealAverage(16),
+ // Height = Application.GetMinRealAverage(16),
+ // UnSelectedImagePath = "Public/Right.png",
+ //};
+ //interpretationSettingsView.AddChidren(btnInterpretationSettingsRight);
+ //interpretationSettingsView.AddChidren(new LineView(interpretationSettingsView.Height));
#endregion
#region 鏈嶅姟鍣ㄤ俊鎭�
@@ -752,7 +752,27 @@
};
myServerInfoCellView.GoAction = selectAction;
myServerInfoCellView.BtnTilte.Text = Language.StringByID(StringId.ServerInformation);
- myServerInfoCellView.LineView.RemoveFromParent();
+ //myServerInfoCellView.LineView.RemoveFromParent();
+
+ #endregion
+
+
+ #region 娉ㄩ攢璐﹀彿
+ ListCellView logOffView = new ListCellView()
+ {
+ };
+ bodyScrolView.AddChidren(logOffView);
+ //娉ㄩ攢璐﹀彿鐣岄潰
+ Action logOffAction = () =>
+ {
+ var myServerInfoPage = new CancelAccountPage();
+ MainPage.BasePageView.AddChidren(myServerInfoPage);
+ myServerInfoPage.LoadPage();
+ MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+ };
+ logOffView.GoAction = logOffAction;
+ logOffView.BtnTilte.Text = Language.StringByID(StringId.CancelAccount);
+ logOffView.LineView.RemoveFromParent();
#endregion
--
Gitblit v1.8.0