From c44b10e4447e84dbdfa9105edf460ef364a8f2b3 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期一, 30 十一月 2020 19:53:35 +0800 Subject: [PATCH] Merge branch 'master' into WJC --- HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/TransferConfirmPage.cs | 101 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 101 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/TransferConfirmPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/TransferConfirmPage.cs new file mode 100644 index 0000000..5f8b0e6 --- /dev/null +++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/TransferConfirmPage.cs @@ -0,0 +1,101 @@ +锘縰sing System; +using Shared; +using HDL_ON.UI.CSS; + +namespace HDL_ON.UI +{ + /// <summary> + /// 杩囨埛纭鎻愰啋鐣岄潰 + /// </summary> + public class TransferConfirmPage : FrameLayout + { + /// <summary> + /// + /// </summary> + FrameLayout bodyView; + + public TransferConfirmPage() + { + bodyView = this; + } + + /// <summary> + /// + /// </summary> + public void LoadPage() + { + BackgroundColor = CSS_Color.MainBackgroundColor; + + new TopViewDiv(bodyView, Language.StringByID(StringId.Transfer)).LoadTopView(); + + #region 澶村儚 + FrameLayout headView = new FrameLayout() + { + Y = Application.GetRealHeight(72), + Height = Application.GetRealHeight(132), + }; + bodyView.AddChidren(headView); + + + ImageView myHeadImage = new ImageView() + { + X = Application.GetRealWidth(48), + Y = Application.GetRealHeight(96), + Width = Application.GetRealWidth(84), + Height = Application.GetRealWidth(84), + Radius = (uint)Application.GetRealWidth(42), + ImagePath = UserInfo.Current.headImagePagePath, + Gravity = Gravity.CenterVertical, + }; + headView.AddChidren(myHeadImage); + + ImageView transferImage = new ImageView() + { + X = Application.GetRealWidth(144), + Y = Application.GetRealHeight(96), + Width = Application.GetRealWidth(84), + Height = Application.GetRealWidth(32), + ImagePath = "PersonalCenter/Transfer.png", + Gravity = Gravity.Center, + }; + headView.AddChidren(transferImage); + + ImageView otherHeadImage = new ImageView() + { + X = Application.GetRealWidth(231), + Y = Application.GetRealHeight(96), + Width = Application.GetRealWidth(101), + Height = Application.GetRealWidth(101), + ImagePath = "PersonalCenter/Head.png", + Gravity = Gravity.CenterVertical, + }; + headView.AddChidren(otherHeadImage); + + #endregion + + var btnTip = new Button() + { + Y = headView.Bottom, + X = Application.GetRealWidth(16), + Width = Application.GetRealWidth(343), + Height = Application.GetRealHeight(22), + TextAlignment = TextAlignment.Center, + TextColor = CSS_Color.FirstLevelTitleColor, + TextSize = CSS_FontSize.SubheadingFontSize, + Text = "鎮ㄧ殑浣忓畢灏嗚繃鎴风粰鍏朵粬HDL璐﹀彿", + }; + bodyView.AddChidren(btnTip); + + // + var btnConfirm = new ConfirmButton() + { + Y = Application.GetRealHeight(456), + Text = "纭杩囨埛", + }; + bodyView.AddChidren(btnConfirm); + + } + + } + +} -- Gitblit v1.8.0