zhangyuqian 10 месяцев назад
Родитель
Сommit
8587402ced

+ 9 - 0
GameClient/Assets/Game/HotUpdate/Views/MiniGame/MergeGameMaterialTipView.cs

@@ -85,6 +85,11 @@ namespace GFGGame
             {
                 item.m_c1.selectedIndex = 2;
             }
+            if (index % 5 == 0)
+            {
+                item.m_c1.selectedIndex = 0;
+            }
+
             UI_MergeGamematerialItem.ProxyEnd();
         }
         private void RenderDouBaoList(int index,GObject obj)
@@ -116,6 +121,10 @@ namespace GFGGame
             {
                 item.m_c1.selectedIndex = 2;
             }
+            if (index % 5 == 0)
+            {
+                item.m_c1.selectedIndex = 0;
+            }
             UI_MergeGamematerialItem.ProxyEnd();
         }
         private void OnClickItem(EventContext context)

+ 6 - 1
GameClient/Assets/Game/HotUpdate/Views/MiniGame/MergeGameView.cs

@@ -69,6 +69,7 @@ namespace GFGGame
             _ui.m_sellBtn.target.onClick.Add(OnClickSellBtn);
             _ui.target.onClick.Add(OnClickHideTips);
             _ui.m_btnProp.target.onClick.Add(OnItemTips);
+            _ui.m_rewardIcon.onClick.Add(OnClickIconItem);
         }
         protected override void OnShown()
         {
@@ -304,7 +305,11 @@ namespace GFGGame
             _ui.m_sellBtn.target.GetChild("sellGetNum").text = MergeCfgArray.Instance.GetCfgByresTypeAndmaterialld(_res, id).bonusSellArr[0][1].ToString();
 
         }
-
+        private void OnClickIconItem(EventContext context)
+        {
+            int id = MergeGameArray.Instance.GetCfg(taskId).bonusWinArr[0][0];
+            GoodsItemTipsController.ShowItemTips(id);
+        }
         private async void OnClickSellBtn()
         {
             if(materialID == 0)