From bd46c57c77c276014db3192a4e2cc96e23c93202 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期五, 21 二月 2020 13:08:47 +0800
Subject: [PATCH] 先上传个版本吧

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/SceneSimpleSelectControl.cs |   15 +++------------
 1 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/SceneSimpleSelectControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/SceneSimpleSelectControl.cs
index 39a74d5..5c792d1 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/SceneSimpleSelectControl.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/SceneSimpleSelectControl.cs
@@ -84,23 +84,14 @@
 
             //鍥炬爣
             var btnIcon = this.AddLeftIcon();
-            btnIcon.UnSelectedImagePath = "Item/Scene.png";
+            btnIcon.UnSelectedImagePath = "Scene/SceneIcon.png";
 
             //鍦烘櫙
-            var btnScene = this.AddLeftCaption(SceneTemp.Name, 850, 60);
-            btnScene.TextSize = 15;
-            //杩欎釜鍧愭爣鏈夌偣鐗规畩
-            btnScene.Y = Application.GetRealHeight(12) + this.chidrenYaxis;
-            this.AddChidren(btnScene, ChidrenBindMode.BindEventOnly);
+            this.AddTopView(SceneTemp.Name, 850);
 
             //鎴块棿
             string roomName = Common.Room.CurrentRoom.GetRoomNameBySceneId(SceneId);
-            var btnRoom = this.AddLeftCaption(roomName, 850, 50, true);
-            //杩欎釜鍧愭爣鏈夌偣鐗规畩
-            btnRoom.Y = Application.GetRealHeight(72) + this.chidrenYaxis;
-            btnRoom.TextSize = 12;
-            btnRoom.TextColor = UserCenterColor.Current.TextGrayColor1;
-            this.AddChidren(btnRoom, ChidrenBindMode.BindEventOnly);
+            this.AddBottomView(roomName, 850);
 
             btnSelect = this.AddMostRightEmptyIcon(58, 58);
             btnSelect.Visible = false;

--
Gitblit v1.8.0