From 43b0d5870d528f23ecd6aeceb6cfd4325188b46f Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 01 七月 2021 15:50:43 +0800 Subject: [PATCH] Revert "1" --- HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/AdminMigrationInputPage.cs | 150 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 150 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/AdminMigrationInputPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/AdminMigrationInputPage.cs new file mode 100644 index 0000000..8f4c011 --- /dev/null +++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/AdminMigrationInputPage.cs @@ -0,0 +1,150 @@ +锘縰sing System; +using Shared; +using HDL_ON.UI.CSS; + +namespace HDL_ON.UI +{ + /// <summary> + /// 绠$悊鍛樿浆绉昏緭鍏ヨ处鍙风晫闈� + /// </summary> + public class AdminMigrationInputPage : FrameLayout + { + /// <summary> + /// + /// </summary> + FrameLayout bodyView; + + public AdminMigrationInputPage() + { + bodyView = this; + } + + /// <summary> + /// + /// </summary> + public void LoadPage() + { + BackgroundColor = CSS_Color.BackgroundColor; + + new TopViewDiv(bodyView, Language.StringByID(StringId.AdministratorPermissionMigration)).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); + + 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