zhaoyang 2 жил өмнө
parent
commit
22643bcb54

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/LuckyBox/LuckyBoxView.cs

@@ -397,7 +397,7 @@ namespace GFGGame
         protected override void UpdateToCheckGuide(object param)
         protected override void UpdateToCheckGuide(object param)
         {
         {
             if (!ViewManager.CheckIsTopView(this.viewCom)) return;
             if (!ViewManager.CheckIsTopView(this.viewCom)) return;
-            GObject gObject = _ui.m_listBg.GetChildAt(0);
+            GObject gObject = _ui.m_listBg.GetChildAt(_curIndex);
             if (gObject == null) return;
             if (gObject == null) return;
             GButton btnBuyTen = gObject.asCom.GetChild("btnBuyTen").asButton;
             GButton btnBuyTen = gObject.asCom.GetChild("btnBuyTen").asButton;