From 4de42356ff71d295be7d3bf2e0b7d218b719ad9c Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期一, 08 十二月 2025 16:47:06 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/HeroUI/HeroListWin.cs |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/Main/System/HeroUI/HeroListWin.cs b/Main/System/HeroUI/HeroListWin.cs
index 9b6bf0c..b010d65 100644
--- a/Main/System/HeroUI/HeroListWin.cs
+++ b/Main/System/HeroUI/HeroListWin.cs
@@ -19,6 +19,8 @@
     [SerializeField] Button changeHeroPosBtn; //甯冮樀鎸夐挳
     [SerializeField] Transform heroSelectBehaviour;
     HeroSelectBehaviour fiterManager;  //姝﹀皢绛涢��
+    [SerializeField] ButtonEx lineupRecommendBtn;
+
 
     SinglePack singlePack;
 
@@ -40,6 +42,10 @@
         });
 
         fiterManager = HeroSelectBehaviour.Create(heroSelectBehaviour);
+        lineupRecommendBtn.AddListener(() =>
+        {
+            UIManager.Instance.OpenWindow<LineupRecommendBaseWin>();
+        });
     }
 
 
@@ -106,7 +112,7 @@
                 continue;
             if (hero.heroId == heroID)
             {
-                return index/4 - 1;
+                return index / 4 - 1;
             }
         }
         return -1;
@@ -120,7 +126,7 @@
 
         RefreshPackCount();
 
-        
+
 
     }
 
@@ -263,7 +269,7 @@
     }
 
     void GridRefreshEvent(PackType type)
-    { 
+    {
         if (type != PackType.Hero)
             return;
 

--
Gitblit v1.8.0