From e8a98f2b0c3f7fcc614898aa7df7c01fa35f9e45 Mon Sep 17 00:00:00 2001
From: Client_PangDeRong <593317293@qq.com>
Date: 星期五, 31 八月 2018 11:39:19 +0800
Subject: [PATCH] 3128 物品表增加合成字段

---
 System/Compose/New/ComposeTicketWin.cs |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/System/Compose/New/ComposeTicketWin.cs b/System/Compose/New/ComposeTicketWin.cs
index eb6a3b0..8f6aaf0 100644
--- a/System/Compose/New/ComposeTicketWin.cs
+++ b/System/Compose/New/ComposeTicketWin.cs
@@ -219,8 +219,7 @@
 
             if (secondTypeDict != null)
             {
-                if (secondTypeDict.Count >= 1 && curSecondType != 0
-                    && curThirdType == 0)
+                if (secondTypeDict.Count >= 1 && curSecondType != 0)
                 {
                     cellCtrl.JumpIndex(curSecondType - 1);
                 }
@@ -253,6 +252,7 @@
                         name.text = compoundModel.secondTypeName;
                         if (curSecondType == cell.index)
                         {
+                            preSecondType = curSecondType;
                             arrowIcon.transform.localRotation = Quaternion.Euler(0, 0, -90);
                             icon.SetSprite("ComposeFirstClassChoosebtn");
                             secondTypeDict = composeWinModel.GetSecondTypeModel((int)ComposeFuncType.Ticket, curSecondType);
@@ -334,8 +334,7 @@
         private void OnClickThirdType(int thirdType)
         {
             curThirdType = thirdType;
-            CreateCell();
-            //RefreshUI(thirdTypelist[0]);
+            cellCtrl.m_Scorller.RefreshActiveCellViews();
         }
 
         private void RefreshUI(ItemCompoundConfig compoundModel)

--
Gitblit v1.8.0