From 6d73bf6e816570291865674bef8bce8972e4de3f Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期三, 01 十二月 2021 16:32:57 +0800
Subject: [PATCH] 2021-12-01-01

---
 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/SetPir.cs |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/SetPir.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/SetPir.cs
index 6d9da0c..6a3e9c1 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/SetPir.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/SetPir.cs
@@ -45,7 +45,8 @@
             //banbenshengjiFL.frameLayout.Y = editNameFLayout.frameLayout.Bottom;
             //viewLayout.AddChidren(banbenshengjiFL.FLayoutView());
 
-            var versions = Pir.currPir.versions.Find((c)=>c.module== "fw_version");
+
+            var versions = Pir.currPir.versions.Find((c) => c.module.Contains("FW"));
             if (versions == null)
             {
                 versions = new Entity.VersionInfo();
@@ -53,9 +54,15 @@
             ///鐗堟湰鍙�:v1.3.5
             FrameLayout50 banbenhaoFLayout = new FrameLayout50();
             banbenhaoFLayout.btnNextIcon.Visible = false;
-            banbenhaoFLayout.btnText.Text = Language.StringByID(StringId.banbenhao) + ":"+ versions.version;
+            banbenhaoFLayout.btnText.Text = Language.StringByID(StringId.banbenhao) + ":";// + versions.version;
+            banbenhaoFLayout.btnEditText.Text = versions.version;
+            banbenhaoFLayout.btnEditText.TextAlignment = TextAlignment.CenterRight;
+            banbenhaoFLayout.btnEditText.X = Application.GetRealWidth(357 - 200 - 16);
+            banbenhaoFLayout.btnEditText.Width = Application.GetRealWidth(200);
+            banbenhaoFLayout.btnText.Width = Application.GetRealWidth(280);
             banbenhaoFLayout.frameLayout.Y = editNameFLayout.frameLayout.Bottom;// banbenshengjiFL.frameLayout.Bottom;
             viewLayout.AddChidren(banbenhaoFLayout.FLayoutView());
+         
             //鍒犻櫎
             FrameLayout frameLayout = new FrameLayout
             {

--
Gitblit v1.8.0