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/TransferConfirmPage.cs | 141 +++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 141 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 100755
index 0000000..9013b14
--- /dev/null
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/TransferConfirmPage.cs
@@ -0,0 +1,141 @@
+锘縰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 btnPleaseNote = new Button()
+ {
+ Y = btnTip.Bottom + Application.GetRealHeight(38),
+ X = Application.GetRealWidth(16),
+ Width = Application.GetRealWidth(343),
+ Height = Application.GetRealHeight(17),
+ TextAlignment = TextAlignment.CenterLeft,
+ TextColor = CSS_Color.FirstLevelTitleColor,
+ TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
+ Text = "璇锋敞鎰忥細",
+ };
+ bodyView.AddChidren(btnPleaseNote);
+
+ //璇锋敞鎰忕殑鍐呭
+ var btnPleaseNoteStr = new Button()
+ {
+ Y = btnPleaseNote.Bottom + Application.GetRealHeight(8),
+ X = Application.GetRealWidth(16),
+ Width = Application.GetRealWidth(343),
+ Height = Application.GetRealHeight(170),
+ TextAlignment = TextAlignment.TopLeft,
+ TextColor = CSS_Color.TextualColor,
+ TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
+ IsMoreLines = true,
+ Text = "1.璇ヤ綇瀹呮偍鐨勬暟鎹紙浜戠鏁版嵁锛夊皢鍏ㄩ儴杞Щ缁欐柊鐨勬埛涓� \n\n2.杩囨埛鍚庯紝鍘熸湁鐨勬垚鍛樺皢鑷姩瑙g粦璇ヤ綇瀹� \n\n3.鏂版埛涓昏处鍙蜂负鏈夋晥鐨凥DL璐﹀彿 \n\n4.鎺ユ敹鏂硅处鍙蜂笌杞Щ鏂硅处鍙蜂笉鍙负鍚屼竴涓处鍙� (缁戝畾鐨勫叾浠栫櫥褰�)",
+ };
+ bodyView.AddChidren(btnPleaseNoteStr);
+
+ //
+ var btnConfirm = new ConfirmButton()
+ {
+ Y = Application.GetRealHeight(456),
+ Text = "纭杩囨埛",
+ };
+ bodyView.AddChidren(btnConfirm);
+
+ btnConfirm.MouseUpEventHandler = (sender, e) => {
+ //Utlis.ShowTip("鏆備笉鏀寔");
+
+ var skipPage = new TransferInputPage();
+ MainPage.BasePageView.AddChidren(skipPage);
+ skipPage.LoadPage();
+ MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+
+ };
+
+ }
+
+ }
+
+}
--
Gitblit v1.8.0