From 0f2e0147e8990e913d16d99bc1b94fb6bc53abd7 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期四, 03 十二月 2020 15:35:42 +0800
Subject: [PATCH] 2020-12-03-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 100644
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