Browse Source

会员套装展示

zhaoyang 2 years ago
parent
commit
9cdcd33864

+ 3 - 1
GameClient/Assets/Game/HotUpdate/Views/FieldGuide/SuitShowView.cs

@@ -65,6 +65,8 @@ namespace GFGGame
             _suitTypeId = (int)datas[0];
             _suitId = (int)datas[1];
             List<int> suitIds = datas[2] as List<int>;
+            _ui.m_imgBonusBox.target.visible = datas.Length >= 4 ? (bool)datas[3] : true;
+
             _suitIds = new List<int>();
             foreach (int suitId in suitIds)
             {
@@ -114,7 +116,7 @@ namespace GFGGame
             SuitCfg suitCfg = SuitCfgArray.Instance.GetCfg(_suitId);
             _ui.m_txtSuitName.text = suitCfg.name;
             _dressUpObjUI.ResetSceneObj(100, false, true, null, false);
-            _dressUpObjUI.dressUpObj.PutOnSuitCfg(_suitId, isPic, new int[] { ConstDressUpItemType.BEI_JING });
+            _dressUpObjUI.dressUpObj.PutOnSuitCfg(_suitId, isPic, new int[] { ConstDressUpItemType.BEI_JING }, true, false);
             _dressUpObjUI.UpdateWrapper(_ui.m_holder);
             UpdateSuitBoxStatus();
         }

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Store/StoreChargeAddUpView.cs

@@ -185,7 +185,7 @@ namespace GFGGame
                     break;
                 }
             }
-            ViewManager.Show<SuitShowView>(new object[] { _suitTypeId, suitId, new List<int>() { suitId } });
+            ViewManager.Show<SuitShowView>(new object[] { _suitTypeId, suitId, new List<int>() { suitId }, false });
         }
         private void OnBtnGetGiftBagClick(EventContext context)
         {