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/RoomEditPage.cs |  119 +++++++++++++++++++++++++++++++----------------------------
 1 files changed, 63 insertions(+), 56 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPage.cs
index 5dcb436..c74f95b 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPage.cs
@@ -5,6 +5,12 @@
 
 namespace HDL_ON.UI
 {
+
+    /*
+     鏃堕棿锛�20200915
+     鍒犻櫎鍒嗕韩鎿嶄綔锛屽垎浜搷浣滃彧鍦ㄦ垚鍛樼鐞嗙晫闈㈠疄鐜�
+     */
+
     public partial class RoomEditPage : FrameLayout
     {
         #region 鎺т欢鍒楄〃
@@ -60,22 +66,22 @@
         /// 鎴块棿妤煎眰淇敼璺宠浆鎸夐挳
         /// </summary>
         Button btnFloorRight;
-        /// <summary>
-        /// 鍒嗕韩row
-        /// </summary>
-        FrameLayout sharedView;
-        /// <summary>
-        /// 鍒嗕韩鏍囬
-        /// </summary>
-        Button btnSharedTitle;
-        /// <summary>
-        /// 鍒嗕韩鐨勪俊鎭�
-        /// </summary>
-        Button btnSharedInfo;
-        /// <summary>
-        /// 鍒嗕韩淇℃伅璺宠浆鎸夐挳
-        /// </summary>
-        Button btnSharedRight;
+        ///// <summary>
+        ///// 鍒嗕韩row
+        ///// </summary>
+        //FrameLayout sharedView;
+        ///// <summary>
+        ///// 鍒嗕韩鏍囬
+        ///// </summary>
+        //Button btnSharedTitle;
+        ///// <summary>
+        ///// 鍒嗕韩鐨勪俊鎭�
+        ///// </summary>
+        //Button btnSharedInfo;
+        ///// <summary>
+        ///// 鍒嗕韩淇℃伅璺宠浆鎸夐挳
+        ///// </summary>
+        //Button btnSharedRight;
         /// <summary>
         /// 鍔熻兘绠$悊鍖哄煙
         /// </summary>
@@ -152,7 +158,7 @@
             roomBgView = new FrameLayout()
             {
                 Y = Application.GetRealHeight(64),
-                Height = Application.GetRealHeight(224),
+                Height = Application.GetRealWidth(232),
                 BackgroundColor = CSS_Color.MainBackgroundColor,
             };
             bodyView.AddChidren(roomBgView);
@@ -162,7 +168,7 @@
                 Gravity = Gravity.CenterHorizontal,
                 Y = Application.GetRealWidth(20),
                 Width = Application.GetRealWidth(343),
-                Height = Application.GetRealHeight(184),
+                Height = Application.GetRealWidth(192),//2020-12-01 鎴块棿鍥剧墖姣斾緥鏀瑰洖16:9
                 //UnSelectedImagePath = room.backgroundImage,
                 ImagePath = room.backgroundImage,
                 Radius = (uint)Application.GetRealWidth(12),
@@ -273,44 +279,45 @@
             roomInfoView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor });
             #endregion
             #region 鍒嗕韩
-            if (pageTitleId != StringId.AddRoom)
-            {
-                sharedView = new FrameLayout()
-                {
-                    Height = Application.GetRealHeight(50),
-                };
-                roomInfoView.AddChidren(sharedView);
-                rowCount++;
-                btnSharedTitle = new Button()
-                {
-                    X = Application.GetRealWidth(16),
-                    Width = Application.GetRealWidth(120),
-                    TextAlignment = TextAlignment.CenterLeft,
-                    TextColor = CSS_Color.FirstLevelTitleColor,
-                    TextSize = CSS_FontSize.SubheadingFontSize,
-                    TextID = StringId.Shared,
-                };
-                sharedView.AddChidren(btnSharedTitle);
-                btnSharedInfo = new Button()
-                {
-                    X = Application.GetRealWidth(100),
-                    Width = Application.GetRealWidth(230),
-                    TextAlignment = TextAlignment.CenterRight,
-                    TextColor = CSS_Color.PromptingColor1,
-                    TextSize = CSS_FontSize.TextFontSize,
-                };
-                sharedView.AddChidren(btnSharedInfo);
-                btnSharedRight = new Button()
-                {
-                    X = Application.GetRealWidth(339),
-                    Gravity = Gravity.CenterVertical,
-                    Width = Application.GetMinRealAverage(16),
-                    Height = Application.GetMinRealAverage(16),
-                    UnSelectedImagePath = "Public/Right.png",
-                };
-                sharedView.AddChidren(btnSharedRight);
-                roomInfoView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor });
-            }
+            //if (pageTitleId != StringId.AddRoom)
+            //{
+            //    sharedView = new FrameLayout()
+            //    {
+            //        Height = Application.GetRealHeight(50),
+            //    };
+            //    roomInfoView.AddChidren(sharedView);
+            //    rowCount++;
+            //    btnSharedTitle = new Button()
+            //    {
+            //        X = Application.GetRealWidth(16),
+            //        Width = Application.GetRealWidth(120),
+            //        TextAlignment = TextAlignment.CenterLeft,
+            //        TextColor = CSS_Color.FirstLevelTitleColor,
+            //        TextSize = CSS_FontSize.SubheadingFontSize,
+            //        TextID = StringId.Shared,
+            //    };
+            //    sharedView.AddChidren(btnSharedTitle);
+            //    btnSharedInfo = new Button()
+            //    {
+            //        X = Application.GetRealWidth(100),
+            //        Width = Application.GetRealWidth(230),
+            //        TextAlignment = TextAlignment.CenterRight,
+            //        TextColor = CSS_Color.PromptingColor1,
+            //        TextSize = CSS_FontSize.TextFontSize,
+            //    };
+            //    sharedView.AddChidren(btnSharedInfo);
+            //    btnSharedRight = new Button()
+            //    {
+            //        X = Application.GetRealWidth(339),
+            //        Gravity = Gravity.CenterVertical,
+            //        Width = Application.GetMinRealAverage(16),
+            //        Height = Application.GetMinRealAverage(16),
+            //        UnSelectedImagePath = "Public/Right.png",
+            //    };
+            //    sharedView.AddChidren(btnSharedRight);
+            //    roomInfoView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor });
+            //}
+
             #endregion
             #region 鍔熻兘绠$悊
             functionManagemantView = new FrameLayout()

--
Gitblit v1.8.0