소스 검색

锦罗织造修改

zhangyuqian 1 년 전
부모
커밋
468737df5c

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Store/UI_StoreBrocadeWeavUI.cs

@@ -8,6 +8,7 @@ namespace UI.Store
     {
         public GComponent target;
         public Controller m_c1;
+        public GLoader m_Icon;
         public GTextField m_LeftTime;
         public GButton m_tip;
         public UI_ExpProcess m_LevelProcess;
@@ -68,6 +69,7 @@ namespace UI.Store
         private void Init(GComponent comp)
         {
             m_c1 = comp.GetController("c1");
+            m_Icon = (GLoader)comp.GetChild("Icon");
             m_LeftTime = (GTextField)comp.GetChild("LeftTime");
             m_tip = (GButton)comp.GetChild("tip");
             m_LevelProcess = (UI_ExpProcess)UI_ExpProcess.Create(comp.GetChild("LevelProcess"));
@@ -84,6 +86,7 @@ namespace UI.Store
         public void Dispose(bool disposeTarget = false)
         {
             m_c1 = null;
+            m_Icon = null;
             m_LeftTime = null;
             m_tip = null;
             m_LevelProcess.Dispose();

+ 16 - 0
GameClient/Assets/Game/HotUpdate/Views/Store/StoreBrocadeWeavView.cs

@@ -71,6 +71,14 @@ namespace GFGGame
             minLevel = Mathf.Max(1, minLevel);
             _ui.m_RewardList.ScrollToView(minLevel - 1);
             UpdateBtnBrocadeWeavTaskRed();
+            if (TimeHelper.ServerNow() >= 1711400400000)
+            {
+                _ui.m_Icon.visible = true;
+            }
+            else
+            {
+                _ui.m_Icon.visible = false;
+            }
         }
 
         protected override void AddEventListener()
@@ -333,6 +341,14 @@ namespace GFGGame
                 return;
             }
             _ui.m_LeftTime.text = TimeUtil.FormattingTimeTo_DDHHmm(leftTime);
+            if (TimeHelper.ServerNow() >= 1711400400000)
+            {
+                _ui.m_Icon.visible = true;
+            }
+            else
+            {
+                _ui.m_Icon.visible = false;
+            }
         }
 
         private void SetBattlePassLevel()

BIN
GameClient/Assets/ResIn/UI/Store/Store_fui.bytes