| 
					
				 | 
			
			
				@@ -29,6 +29,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private EffectUI _effectUI4; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private EffectUI _effectUI5; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private EffectUI _effectUI6; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private EffectUI _effectUI7; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private GObject _consumeSelectItem;//选中的材料item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private int _consumeSelectIndex = 0;//0为减,1为加 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -523,6 +524,13 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void OnClickBtnUpLv() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (_effectUI7 != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                EffectUIPool.Recycle(_effectUI7); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _effectUI7 = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //按钮点击特效 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _effectUI7 = EffectUIPool.CreateEffectUI(_ui.m_ComFosterBottom.m_holderTouchFlower, "ui_Activity", "SX_DJ"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             int itemMoneyId = ItemCfgArray.Instance.GetCfg(upgradeCardItemsArr[0]).cardUpLvGoldsArr[_cardData.itemCfg.rarity - 1][0]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _comLvConsumeGold = UI_ComCost.Proxy(_comFosterBottom.m_ComLvConsumeGold); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -619,20 +627,39 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 ET.Log.Error("词牌:" + _cardData.id + "   无" + _cardData.star + "星升星配置"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            int index = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            for (int i = 0; i < 4; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            int wordRow = 4;  //字行数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            int wordNumber = 5;//字每行个数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            int starLevelDodge =  _cardData.star / wordNumber; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            int starLevel =  _cardData.star / wordNumber; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (starLevel >= wordRow)  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                starLevel = wordRow - 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            int index = starLevel * wordNumber; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            for (int i = 0; i < wordRow; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                UI_ComStarItem comStarItem = UI_ComStarItem.Proxy(_comFosterBottom.target.GetChild("comStarItem" + i)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                string starDesc = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                for (int j = 0; j < _cardData.itemCfg.starDescArr[i].Length; j++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    char str = _cardData.itemCfg.starDescArr[i][j]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    starDesc += index <= _cardData.star ? StringUtil.GetColorText(str.ToString(), "#D07D40") : StringUtil.GetColorText(str.ToString(), "#716660"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    index++; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                UI_ComDodgeStar dodgeStar = UI_ComDodgeStar.Proxy(_comFosterBottom.target.GetChild("dodgeStar" + i)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                dodgeStar.m_lightType.selectedIndex = (starLevelDodge > i)  ? 1 : 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                UI_ComDodgeStar.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (i == starLevel) {  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    UI_ComStarItem comStarItem = UI_ComStarItem.Proxy(_comFosterBottom.target.GetChild("comStarItem")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    string starDesc = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    for (int j = 0; j < _cardData.itemCfg.starDescArr[i].Length; j++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        index++; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        string str = _cardData.itemCfg.starDescArr[i][j].ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        if (j < _cardData.itemCfg.starDescArr[i].Length - 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            str += " /"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        starDesc += index <= _cardData.star ? StringUtil.GetColorText(str, "#E5892F") : StringUtil.GetColorText(str, "#C8B693"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    comStarItem.m_txtContent.text = starDesc; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    UI_ComStarItem.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                comStarItem.m_txtContent.text = starDesc; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                UI_ComStarItem.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (CardDataManager.isFullStar(_cardData.id, _cardData.star, false)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 _comFosterBottom.m_ctrlFullStar.selectedIndex = 1; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -656,25 +683,23 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 _comFosterBottom.m_comStarCousumeGold.visible = _cardData.lv >= cardStarCfg.needLv; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 _comFosterBottom.m_btnUpStar.grayed = int.Parse(_comFosterBottom.m_btnUpStar.data.ToString()) == 0 ? true : false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 // _comFosterBottom.m_btnUpStar.GetChild("ani").asMovieClip.visible = false;// !_comFosterBottom.m_btnUpStar.grayed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void RenderListStarConsumeItem(int index, GObject obj) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            UI_ComStarConsume listItem = UI_ComStarConsume.Proxy(obj); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            UI_ComItem listItem = UI_ComItem.Proxy(obj); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             CardStarCfg cardStarCfg = listItem.target.parent.data as CardStarCfg; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ItemCfg itemCfg = ItemCfgArray.Instance.GetCfg(cardStarCfg.materiarsArr[index][0]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            listItem.m_loaItem.url = ResPathUtil.GetIconPath(itemCfg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            listItem.m_loaIcon.url = ResPathUtil.GetIconPath(itemCfg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            listItem.m_CountType.selectedIndex = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            listItem.m_ButtonType.selectedIndex = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            listItem.m_QualityType.selectedIndex = itemCfg.rarity - 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             int needCount = cardStarCfg.materiarsArr[index][1]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             long hasCount = ItemDataManager.GetItemNum(cardStarCfg.materiarsArr[index][0]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            listItem.m_txtNeedCount.text = needCount.ToString();// StringUtil.GetColorText(needCount.ToString(), hasCount < needCount ? "#D27869" : "#FDF3D7"); ; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            listItem.m_txtHasCount.text = StringUtil.GetColorText(hasCount.ToString(), hasCount < needCount ? "#D27869" : "#716660"); //;  hasCount.ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            listItem.m_btnPlus.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            listItem.m_txtDecomCount.text = StringUtil.GetColorText(hasCount.ToString(), hasCount < needCount ? "#D27869" : "#FFFFFF");// StringUtil.GetColorText(needCount.ToString(), hasCount < needCount ? "#D27869" : "#FDF3D7"); ; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            listItem.m_txtDecomHasCount.text = "/" + needCount.ToString();   //;  hasCount.ToString();      
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (listItem.target.data == null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 listItem.target.onClick.Add(() => OnClickBtnPlusStarConsum(index)); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -687,7 +712,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (hasCount < needCount) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 //材料不足显示加号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                listItem.m_btnPlus.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                listItem.m_ButtonType.selectedIndex = 2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -725,8 +750,16 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             object[] sourceDatas = new object[] { itemId, new object[] { ViewName.CARD_FOSTER_VIEW, _cardData } }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             GoodsItemTipsController.ShowItemTips(itemId, sourceDatas); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void OnClickBtnUpStar() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (_effectUI7 != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                EffectUIPool.Recycle(_effectUI7); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _effectUI7 = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //按钮点击特效 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _effectUI7 = EffectUIPool.CreateEffectUI(_ui.m_ComFosterBottom.m_holderTouchFlower, "ui_Activity", "SX_DJ"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             CardStarCfg cardStarCfg = CardStarCfgArray.Instance.GetCfgBycardIdAndstarLvl(_cardData.id, _cardData.star); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -960,7 +993,9 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _effectUI5 = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             EffectUIPool.Recycle(_effectUI6); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _effectUI6 = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-             
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            EffectUIPool.Recycle(_effectUI7); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _effectUI7 = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             Timers.inst.Remove(CheckGuide); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             Timers.inst.Remove(OnTimedEvent); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             UI_ComCostCurrency.ProxyEnd(); 
			 |