From f9181a9c8125136f597add7c30cb2ff508d54ba7 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期四, 25 七月 2024 17:34:32 +0800 Subject: [PATCH] 2024年07月25日17:33:40 --- 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