Bladeren bron

提交蓄洪概况时间对应大事件

wartheking 1 maand geleden
bovenliggende
commit
3482489f02
2 gewijzigde bestanden met toevoegingen van 9 en 4 verwijderingen
  1. 5 4
      Assets/Prefabs/UI/XHYZT/XHGK.prefab
  2. 4 0
      Assets/Scripts/UI/UIView/XHGK/XHGKLayer.cs

+ 5 - 4
Assets/Prefabs/UI/XHYZT/XHGK.prefab

@@ -3201,7 +3201,7 @@ MonoBehaviour:
   m_HandleRect: {fileID: 6219495180201940521}
   m_Direction: 2
   m_Value: 0
-  m_Size: 0.99954075
+  m_Size: 1
   m_NumberOfSteps: 0
   m_OnValueChanged:
     m_PersistentCalls:
@@ -3580,7 +3580,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 1}
   m_AnchorMax: {x: 1, y: 1}
-  m_AnchoredPosition: {x: 0.000015258789, y: -386.41946}
+  m_AnchoredPosition: {x: 0.000015258789, y: -386.4804}
   m_SizeDelta: {x: 0, y: 0}
   m_Pivot: {x: 0, y: 0.5}
 --- !u!114 &6219495181246091879
@@ -4092,8 +4092,8 @@ RectTransform:
   m_Father: {fileID: 7298729790221269523}
   m_RootOrder: 0
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
-  m_AnchorMin: {x: 0, y: 0}
-  m_AnchorMax: {x: 0, y: 0}
+  m_AnchorMin: {x: 0, y: 1}
+  m_AnchorMax: {x: 0, y: 1}
   m_AnchoredPosition: {x: 211.3655, y: 0}
   m_SizeDelta: {x: 382.731, y: 0}
   m_Pivot: {x: 0.5, y: 1}
@@ -8221,6 +8221,7 @@ MonoBehaviour:
   - {fileID: 21300000, guid: 739e5508daecc0c4ca1d9aa79b9b9e2b, type: 3}
   - {fileID: 21300000, guid: be314b6acae6d9d40abc09c87d4d8497, type: 3}
   compareText: {fileID: 7298729788572497102}
+  timeText: {fileID: 7298729790434782640}
   compareBtn: {fileID: 7298729788700406725}
   exitCompareBtn: {fileID: 7298729788714154072}
   filterContent: {fileID: 6453958623150191756}

+ 4 - 0
Assets/Scripts/UI/UIView/XHGK/XHGKLayer.cs

@@ -111,6 +111,8 @@ public class XHGKLayer : YZTRootLayer
 
     public Text compareText;
 
+    public Text timeText;
+
     public Button compareBtn;
 
     public Button exitCompareBtn;
@@ -309,6 +311,7 @@ public class XHGKLayer : YZTRootLayer
         {
             RefreshRightImage(importBtns[staticIndex].data1.year, staticIndex);
             compareText.text = importBtns[staticIndex].data1.content;
+            timeText.text = importBtns[staticIndex].data1.datatime;
         }
         
     }
@@ -391,6 +394,7 @@ public class XHGKLayer : YZTRootLayer
                 beforeImage.sprite = workImages[staticIndex];
                 RefreshRightImage(importBtns[tempI].data1.year, staticIndex);
                 compareText.text = importBtns[tempI].data1.content;
+                timeText.text = importBtns[tempI].data1.datatime;
             });
 
             importBtns.Add(btn);