From e2d4f9314a5097f961250b5e06b66660dc247312 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期二, 11 十一月 2025 17:05:03 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/BattlePass/BattlePassCommonWin.cs |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/Main/System/BattlePass/BattlePassCommonWin.cs b/Main/System/BattlePass/BattlePassCommonWin.cs
index 6d2c03d..273c821 100644
--- a/Main/System/BattlePass/BattlePassCommonWin.cs
+++ b/Main/System/BattlePass/BattlePassCommonWin.cs
@@ -81,12 +81,7 @@
         var ctgID = BattlePassManager.Instance.GetCTGIDByType(battlePasstype);
         var config = CTGConfig.Get(ctgID);
         welfarePerText.text = config.Percentage + "%";
-        if (!config.GainItemList.IsNullOrEmpty() && config.GainItemList.Length >= 2)
-        {
-            //绾﹀畾绗簩涓墿鍝�
-            itemNameText.text = Language.Get("BattlePass8", config.GainItemList[1][1], ItemConfig.Get(config.GainItemList[1][0]).ItemName);
-        }
-
+        itemNameText.text = Language.Get("BattlePassAD" + battlePasstype);
         tabNameText.text = Language.Get("BattlePassTab" + battlePasstype);
         titleText.text = Language.Get("BattlePassTitle" + battlePasstype);
     }
@@ -99,6 +94,7 @@
         lockRect.SetActive(battlePassData.isActivite == 0);
         scroller.m_Scorller.RefreshActiveCellViews();
 
+        var _rect = scroller.GetComponent<RectTransform>();
         if (battlePassData.isActivite == 0)
         {
             rechargeRect.SetActive(true);
@@ -114,11 +110,15 @@
             {
                 ItemTipUtility.Show(itemID);
             });
+            _rect.sizeDelta = new Vector2(_rect.rect.width, 630);
         }
         else
         {
             rechargeRect.SetActive(false);
+            _rect.sizeDelta = new Vector2(_rect.rect.width, 757);
         }
+
+
     }
 
     void ShowTotalValueStr()

--
Gitblit v1.8.0