From a1b0ab7044100daaa7e0f1da2d2ca45e38098963 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期一, 29 三月 2021 09:13:25 +0800
Subject: [PATCH] 2021-3-29-2
---
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
index f3f630e..6ad0dcc 100644
--- 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