Browse Source

修复服装图鉴页面,服装搜索框点击饰品栏后点击重置按钮报错

leiyasi 1 year ago
parent
commit
b428e4121b

+ 2 - 0
GameClient/Assets/Game/HotUpdate/Views/DressUp/DressFilterView.cs

@@ -64,6 +64,8 @@ namespace GFGGame
         {
             base.OnShown();
 
+            _ui.m_comSearch.m_c1.selectedIndex = 0;
+
             // old
             if ((this.viewData as object[]) == null)
             {

+ 3 - 0
GameClient/Assets/Game/HotUpdate/Views/FieldGuide/DressUpGuideView.cs

@@ -215,6 +215,8 @@ namespace GFGGame
             UpdateItemListUI();
 
             ShowListType1();
+            // 饰品
+            _lastClickIndex.index = 9;
         }
 
         /// <summary>
@@ -325,6 +327,7 @@ namespace GFGGame
         private void ShowListType1()
         {
             _ui.m_c1.selectedIndex = 0;
+            _lastClickIndex.typeIndex = 1;
             _currentList2 = null;
         }
 

BIN
GameClient/Assets/ResIn/UI/DressUp/DressUp_atlas0!a.png


BIN
GameClient/Assets/ResIn/UI/DressUp/DressUp_atlas0.png


BIN
GameClient/Assets/ResIn/UI/DressUp/DressUp_fui.bytes