From cbc156bc38d8b8eae7aef60cb186ab2b52fa701f Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 16 七月 2024 13:59:56 +0800
Subject: [PATCH] 增加全部挂断

---
 HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/VideoDoorlockUserListPage.cs |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/VideoDoorlockUserListPage.cs b/HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/VideoDoorlockUserListPage.cs
index f1b120c..136a003 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/VideoDoorlockUserListPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/VideoDoorlockUserListPage.cs
@@ -30,12 +30,27 @@
             bodyView.BackgroundColor = CSS_Color.BackgroundColor;
 
 
+
             contentView = new VerticalScrolViewLayout()
             {
                 Y = Application.GetRealHeight(64),
-                Height = Application.GetRealHeight(667 - 70),
+                Height = Application.GetRealHeight(607 - 70),
             };
             bodyView.AddChidren(contentView);
+
+            var btnTip = new Button()
+            {
+                Y = Application.GetRealHeight(667 - 70),
+                Gravity = Gravity.CenterHorizontal,
+                Width = Application.GetRealWidth(343),
+                Height = Application.GetRealHeight(60),
+                TextAlignment = TextAlignment.TopLeft,
+                TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
+                TextColor = CSS_Color.TextualColor,
+                TextID = StringId.VideoDoorlockManagerTip,
+                IsMoreLines = true,
+            };
+            bodyView.AddChidren(btnTip);
 
             var waitPage = new Loading();
             bodyView.AddChidren(waitPage);
@@ -128,6 +143,10 @@
                         userList.Remove(user);
                         initView();
                     };
+                    page.updataUserNameAction = (name) => {
+                        btnName.Text = name;
+                        user.lockUserName = name;
+                    };
                     MainPage.BasePageView.AddChidren(page);
                     page.LoadPage();
                     MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;

--
Gitblit v1.8.0