From 28af8fe24b23a958d365e40789dcf061e45056ad Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 22 九月 2023 11:25:16 +0800
Subject: [PATCH] 删除专线
---
OnPro/HDL_ON/UI/UI1-Login/RegisterPage.cs | 151 +++++++++++++++++++++++++++-----------------------
1 files changed, 82 insertions(+), 69 deletions(-)
diff --git a/OnPro/HDL_ON/UI/UI1-Login/RegisterPage.cs b/OnPro/HDL_ON/UI/UI1-Login/RegisterPage.cs
index 3441574..f69d9ae 100644
--- a/OnPro/HDL_ON/UI/UI1-Login/RegisterPage.cs
+++ b/OnPro/HDL_ON/UI/UI1-Login/RegisterPage.cs
@@ -28,34 +28,34 @@
/// </summary>
Button btnEmailLogin;
#region 鏈嶅姟鍣ㄩ�夋嫨
- /// <summary>
- /// 鏈嶅姟鍣ㄥ尯鍩�
- /// </summary>
- FrameLayout serverView;
- /// <summary>
- /// 鏈嶅姟鍣↖con鎸夐挳
- /// </summary>
- Button btnServerIcon;
- /// <summary>
- /// 鏈嶅姟鍣ㄦ枃鏈
- /// </summary>
- Button btnServerText;
+ ///// <summary>
+ ///// 鏈嶅姟鍣ㄥ尯鍩�
+ ///// </summary>
+ //FrameLayout serverView;
+ ///// <summary>
+ ///// 鏈嶅姟鍣↖con鎸夐挳
+ ///// </summary>
+ //Button btnServerIcon;
///// <summary>
///// 鏈嶅姟鍣ㄦ枃鏈
///// </summary>
- //EditText etServer;
+ //Button btnServerText;
+ /////// <summary>
+ /////// 鏈嶅姟鍣ㄦ枃鏈
+ /////// </summary>
+ ////EditText etServer;
+ /////// <summary>
+ /////// 鏈嶅姟鍣ㄥ瓙鍖哄煙閲岄潰鐨勫垎鍓茬嚎1
+ /////// </summary>
+ ////Button btnLineVertical_server;
///// <summary>
- ///// 鏈嶅姟鍣ㄥ瓙鍖哄煙閲岄潰鐨勫垎鍓茬嚎1
+ /////鏈嶅姟鍣╣o鎸夐挳
///// </summary>
- //Button btnLineVertical_server;
- /// <summary>
- ///鏈嶅姟鍣╣o鎸夐挳
- /// </summary>
- Button btnServerGo;
- /// <summary>
- /// 鏈嶅姟鍣ㄥ瓙鍖哄煙搴曢儴妯嚎
- /// </summary>
- Button btnServerBottomLine;
+ //Button btnServerGo;
+ ///// <summary>
+ ///// 鏈嶅姟鍣ㄥ瓙鍖哄煙搴曢儴妯嚎
+ ///// </summary>
+ //Button btnServerBottomLine;
#endregion
/// <summary>
/// 璐﹀彿瀛愬尯鍩�
@@ -260,7 +260,16 @@
Application.HideSoftInput();
};
- new TopViewDiv(this, bodyView, Language.StringByID(StringId.Register)).LoadTopView(backAction);
+
+ var topView = new FrameLayout()
+ {
+ Y = Application.GetRealHeight(20),
+ Height = Application.GetRealHeight(74),
+ BackgroundColor = CSS_Color.TopViewColor,
+ };
+ bodyView.AddChidren(topView);
+
+ new TopViewDiv(this, topView, Language.StringByID(StringId.Register)).LoadTopView(backAction);
//new PublicAssmebly().LoadTopView(this, bodyView, Language.StringByID(StringId.Register));
#region 娉ㄥ唽鏂瑰紡閫夋嫨
@@ -297,57 +306,57 @@
#endregion
#region 鏈嶅姟鍣ㄩ�夋嫨
- serverView = new FrameLayout()
- {
- X = Application.GetRealWidth(28),
- Y = Application.GetRealHeight(167),
- Width = Application.GetRealWidth(319),
- Height = Application.GetRealHeight(44),
- };
- bodyView.AddChidren(serverView);
+ //serverView = new FrameLayout()
+ //{
+ // X = Application.GetRealWidth(28),
+ // Y = Application.GetRealHeight(167),
+ // Width = Application.GetRealWidth(319),
+ // Height = Application.GetRealHeight(44),
+ //};
+ //bodyView.AddChidren(serverView);
- btnServerIcon = new Button()
- {
- X = Application.GetRealWidth(9),
- Gravity = Gravity.CenterVertical,
- Width = Application.GetMinRealAverage(20),
- Height = Application.GetMinRealAverage(20),
- UnSelectedImagePath = "LoginIcon/Server.png",
+ //btnServerIcon = new Button()
+ //{
+ // X = Application.GetRealWidth(9),
+ // Gravity = Gravity.CenterVertical,
+ // Width = Application.GetMinRealAverage(20),
+ // Height = Application.GetMinRealAverage(20),
+ // UnSelectedImagePath = "LoginIcon/Server.png",
- };
- serverView.AddChidren(btnServerIcon);
+ //};
+ //serverView.AddChidren(btnServerIcon);
- btnServerText = new Button()
- {
- X = Application.GetRealWidth(49),
- Width = Application.GetRealWidth(319 - 78),
- TextAlignment = TextAlignment.CenterLeft,
- TextColor = CSS_Color.PromptingColor1,
- TextSize = CSS_FontSize.TextFontSize,
- TextID = StringId.PleaseSelectCountryOrRegion,
- };
- serverView.AddChidren(btnServerText);
+ //btnServerText = new Button()
+ //{
+ // X = Application.GetRealWidth(49),
+ // Width = Application.GetRealWidth(319 - 78),
+ // TextAlignment = TextAlignment.CenterLeft,
+ // TextColor = CSS_Color.PromptingColor1,
+ // TextSize = CSS_FontSize.TextFontSize,
+ // TextID = StringId.PleaseSelectCountryOrRegion,
+ //};
+ //serverView.AddChidren(btnServerText);
#region 瀵嗙爜鐧诲綍-鎺т欢鍔犺浇
- btnServerGo = new Button()
- {
- X = Application.GetRealWidth(303),
- Gravity = Gravity.CenterVertical,
- Width = Application.GetMinRealAverage(16),
- Height = Application.GetMinRealAverage(16),
- UnSelectedImagePath = "Public/Right.png",
- };
- serverView.AddChidren(btnServerGo);
+ //btnServerGo = new Button()
+ //{
+ // X = Application.GetRealWidth(303),
+ // Gravity = Gravity.CenterVertical,
+ // Width = Application.GetMinRealAverage(16),
+ // Height = Application.GetMinRealAverage(16),
+ // UnSelectedImagePath = "Public/Right.png",
+ //};
+ //serverView.AddChidren(btnServerGo);
#endregion
- btnServerBottomLine = new Button()
- {
- Y = Application.GetRealHeight(42),
- BackgroundColor = CSS_Color.DividingLineColor,
- SelectedBackgroundColor = CSS_Color.MainColor,
- Height = Application.GetRealHeight(1),
- };
- serverView.AddChidren(btnServerBottomLine);
+ //btnServerBottomLine = new Button()
+ //{
+ // Y = Application.GetRealHeight(42),
+ // BackgroundColor = CSS_Color.DividingLineColor,
+ // SelectedBackgroundColor = CSS_Color.MainColor,
+ // Height = Application.GetRealHeight(1),
+ //};
+ //serverView.AddChidren(btnServerBottomLine);
#endregion
int topPadding = Application.GetRealHeight(12);
@@ -355,9 +364,13 @@
accountView = new FrameLayout()
{
X = Application.GetRealWidth(28),
- Y = serverView.Bottom + topPadding,
+ Y = Application.GetRealHeight(167),
Width = Application.GetRealWidth(319),
Height = Application.GetRealHeight(44),
+ //X = Application.GetRealWidth(28),
+ //Y = serverView.Bottom + topPadding,
+ //Width = Application.GetRealWidth(319),
+ //Height = Application.GetRealHeight(44),
};
bodyView.AddChidren(accountView);
--
Gitblit v1.8.0