From e0b8a7e79691d6187e4ea01a5cdd1f8802f8b00c Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期三, 23 十二月 2020 09:34:43 +0800
Subject: [PATCH] 20201223-1
---
HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/TransferInputPage.cs | 127 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 126 insertions(+), 1 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/TransferInputPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/TransferInputPage.cs
old mode 100644
new mode 100755
index f3f630e..6ad0dcc
--- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/TransferInputPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/TransferInputPage.cs
@@ -24,9 +24,134 @@
/// </summary>
public void LoadPage()
{
+ BackgroundColor = CSS_Color.BackgroundColor;
+
new TopViewDiv(bodyView, Language.StringByID(StringId.Transfer)).LoadTopView();
-
+ #region 璐﹀彿濉啓
+ var accountView = new FrameLayout()
+ {
+ Y = Application.GetRealHeight(72),
+ Height = Application.GetRealHeight(50),
+ BackgroundColor = CSS_Color.MainBackgroundColor
+ };
+ bodyView.AddChidren(accountView);
+
+ var btnAccountIcon = new Button()
+ {
+ X = Application.GetRealWidth(16),
+ Gravity = Gravity.CenterVertical,
+ Width = Application.GetMinRealAverage(24),
+ Height = Application.GetMinRealAverage(24),
+ UnSelectedImagePath = "LoginIcon/AccountIcon.png",
+ };
+ accountView.AddChidren(btnAccountIcon);
+
+ var etAccount = new EditText()
+ {
+ X = Application.GetRealWidth(52),
+ Width = Application.GetRealWidth(307),
+ TextAlignment = TextAlignment.CenterLeft,
+ TextColor = CSS_Color.FirstLevelTitleColor,
+ TextSize = CSS_FontSize.TextFontSize,
+ PlaceholderTextColor = CSS_Color.PromptingColor1,
+ PlaceholderText = "璇疯緭鍏ユ帴鏀舵柟璐﹀彿",
+ };
+ accountView.AddChidren(etAccount);
+
+ var btnLine = new Button()
+ {
+ BackgroundColor = CSS_Color.DividingLineColor,
+ Height = Application.GetRealHeight(1),
+ Y = accountView.Height - Application.GetRealHeight(1),
+ X = Application.GetRealWidth(16),
+ Width = Application.GetRealWidth(343),
+ };
+ accountView.AddChidren(btnLine);
+ #endregion
+
+ #region 璐﹀彿濉啓
+ var accountConfirmView = new FrameLayout()
+ {
+ Y = accountView.Bottom,
+ Height = Application.GetRealHeight(50),
+ BackgroundColor = CSS_Color.MainBackgroundColor
+ };
+ bodyView.AddChidren(accountConfirmView);
+
+ var btnAccountConfirmIcon = new Button()
+ {
+ X = Application.GetRealWidth(16),
+ Gravity = Gravity.CenterVertical,
+ Width = Application.GetMinRealAverage(24),
+ Height = Application.GetMinRealAverage(24),
+ UnSelectedImagePath = "LoginIcon/AccountIcon.png",
+ };
+ accountConfirmView.AddChidren(btnAccountConfirmIcon);
+
+ var etAccountConfirm = new EditText()
+ {
+ X = Application.GetRealWidth(52),
+ Width = Application.GetRealWidth(307),
+ TextAlignment = TextAlignment.CenterLeft,
+ TextColor = CSS_Color.FirstLevelTitleColor,
+ TextSize = CSS_FontSize.TextFontSize,
+ PlaceholderTextColor = CSS_Color.PromptingColor1,
+ PlaceholderText = "璇峰啀娆¤緭鍏ユ帴鏀舵柟璐﹀彿",
+ };
+ accountConfirmView.AddChidren(etAccountConfirm);
+
+ //var btnLine2 = new Button()
+ //{
+ // BackgroundColor = CSS_Color.DividingLineColor,
+ // Height = Application.GetRealHeight(1),
+ // Y = accountConfirmView.Height - Application.GetRealHeight(1),
+ //};
+ //accountConfirmView.AddChidren(btnLine2);
+ #endregion
+
+ var btnTip = new Button()
+ {
+ Y = accountConfirmView.Bottom + Application.GetRealHeight(12),
+ X = Application.GetRealWidth(16),
+ Width = Application.GetRealWidth(343),
+ TextAlignment = TextAlignment.TopLeft,
+ TextColor = CSS_Color.AuxiliaryColor2,
+ TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
+ Text = "*璇风‘璁よ处鍙锋棤璇紝鍦ㄦ暟鎹浆绉昏繃绋嬩腑涓嶅彲鍙栨秷鎿嶄綔",
+ IsMoreLines = true
+
+ };
+ bodyView.AddChidren(btnTip);
+
+ var btnConfirm = new ConfirmButton()
+ {
+ Y = Application.GetRealHeight(251),
+ Text = "杩囨埛",
+ };
+ bodyView.AddChidren(btnConfirm);
+
+ btnConfirm.MouseUpEventHandler = (sender, e) => {
+ var skipPage = new TransferUserConfirmPage();
+ MainPage.BasePageView.AddChidren(skipPage);
+ skipPage.LoadPage();
+ MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+ };
+
+ Button btnEmailOption = new Button()
+ {
+ Y = btnConfirm.Bottom + Application.GetRealWidth(6),
+ Width = Application.GetRealWidth(220),
+ Height = Application.GetRealWidth(32),
+ TextSize = CSS_FontSize.TextFontSize,
+ TextColor = CSS_Color.MainColor,
+ Gravity = Gravity.CenterHorizontal,
+ TextAlignment = TextAlignment.Center,
+ Text = "鎵弿浜岀淮鐮佽繃鎴�"
+ };
+ bodyView.AddChidren(btnEmailOption);
+
+
}
}
--
Gitblit v1.8.0