Browse Source

战斗奖励展示

zhaoyang 3 years ago
parent
commit
e81351b0ca

+ 1 - 1
FGUIProject/assets/Main/StoryLevelInfoUI.xml

@@ -46,7 +46,7 @@
     <component id="n8_t8o1" name="flower" src="s2cc5k" fileName="components/CompFlower1.xml" xy="697,201">
     <component id="n8_t8o1" name="flower" src="s2cc5k" fileName="components/CompFlower1.xml" xy="697,201">
       <relation target="n7_t8o1" sidePair="left-left,top-top"/>
       <relation target="n7_t8o1" sidePair="left-left,top-top"/>
     </component>
     </component>
-    <list id="n33_t8o1" name="listBonus" xy="-33,592" pivot="0.5,0" size="1146,281" scale="0.95,0.95" layout="row" overflow="hidden" scroll="horizontal" colGap="5" defaultItem="ui://eg2y0ldpj48o98" align="center" autoClearItems="true">
+    <list id="n33_t8o1" name="listBonus" xy="43,592" pivot="0.5,0" size="992,281" scale="0.95,0.95" layout="row" overflow="scroll" scroll="horizontal" colGap="15" defaultItem="ui://eg2y0ldpj48o98" align="center" autoClearItems="true">
       <item/>
       <item/>
       <item/>
       <item/>
       <item/>
       <item/>

+ 8 - 8
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryLevelInfoView.cs

@@ -220,14 +220,14 @@ namespace GFGGame
                 _ui.m_txtUnpassTips.SetVar("count", NumberUtil.GetChiniseNumberText(fightCfg.quickFightStart)).FlushVars();
                 _ui.m_txtUnpassTips.SetVar("count", NumberUtil.GetChiniseNumberText(fightCfg.quickFightStart)).FlushVars();
             }
             }
             _ui.m_listBonus.numItems = _bonusList.Count;
             _ui.m_listBonus.numItems = _bonusList.Count;
-            if (_ui.m_listBonus.numItems > 4)
-            {
-                _ui.m_listBonus.columnGap = 40;
-            }
-            else
-            {
-                _ui.m_listBonus.columnGap = 60;
-            }
+            // if (_ui.m_listBonus.numItems > 4)
+            // {
+            //     _ui.m_listBonus.columnGap = 40;
+            // }
+            // else
+            // {
+            //     _ui.m_listBonus.columnGap = 60;
+            // }
             int score = InstanceZonesDataManager.GetScoreHighest(_levelID);
             int score = InstanceZonesDataManager.GetScoreHighest(_levelID);
             if (score > 0)
             if (score > 0)
             {
             {

BIN
GameClient/Assets/ResIn/UI/Main/Main_fui.bytes