From 4a5e9d0447aae9b264a98ea1f4c95417d0f4aa91 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期二, 01 十二月 2020 17:20:01 +0800 Subject: [PATCH] Merge branch 'master' into WJC --- HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/AdminMigrationConfirmPage.cs | 140 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 140 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/AdminMigrationConfirmPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/AdminMigrationConfirmPage.cs new file mode 100644 index 0000000..0b29974 --- /dev/null +++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/AdminMigrationConfirmPage.cs @@ -0,0 +1,140 @@ +锘縰sing System; +using Shared; +using HDL_ON.UI.CSS; + +namespace HDL_ON.UI +{ + /// <summary> + /// 绠$悊鍛樻潈闄愯縼绉荤‘璁ゆ彁閱掔晫闈� + /// </summary> + public class AdminMigrationConfirmPage : FrameLayout + { + /// <summary> + /// + /// </summary> + FrameLayout bodyView; + + public AdminMigrationConfirmPage() + { + bodyView = this; + } + + /// <summary> + /// + /// </summary> + public void LoadPage() + { + BackgroundColor = CSS_Color.MainBackgroundColor; + + new TopViewDiv(bodyView, Language.StringByID(StringId.AdministratorPermissionMigration)).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.鏂扮殑绠$悊鍛樺彲浠ラ�夋嫨涓嶄繚鐣欏師鏈変綇瀹呮垚鍛樼殑鏁版嵁,鍏朵粬鎴愬憳灏嗕細涓嶈兘浣跨敤 \n\n3.鍦ㄨ浆绉诲悗锛屾偍鑻ラ渶瑕佹垚涓哄搴垚鍛橈紝鐢辨柊鐨勭鐞嗗憳璁剧疆 \n\n4.鎺ユ敹鏂硅处鍙蜂负鏈夋晥鐨凥DL璐﹀彿 \n\n5.鎺ユ敹鏂硅处鍙蜂笌杞Щ鏂硅处鍙蜂笉鍙负鍚屼竴涓处鍙� (缁戝畾鐨勫叾浠栫櫥褰�)", + }; + bodyView.AddChidren(btnPleaseNoteStr); + + // + var btnConfirm = new ConfirmButton() + { + Y = Application.GetRealHeight(583), + Text = "纭杞Щ", + }; + bodyView.AddChidren(btnConfirm); + + btnConfirm.MouseUpEventHandler = (sender, e) => { + //Utlis.ShowTip("鏆備笉鏀寔"); + var skipPage = new AdminMigrationInputPage(); + MainPage.BasePageView.AddChidren(skipPage); + skipPage.LoadPage(); + MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; + }; + + + } + + } + +} -- Gitblit v1.8.0