| 
					
				 | 
			
			
				@@ -55,6 +55,18 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             UI_ComVipLv.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private List<EffectUI> _effectUIs = new List<EffectUI>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //清除商品item的特效 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public void ClearItemEff() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            for (int i = 0; i < _effectUIs.Count; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                EffectUIPool.Recycle(_effectUIs[i]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _effectUIs[i] = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _effectUIs.Clear(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //更新商品item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         public void UptadeItem(GObject obj, ShopCfg shopCfg) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -66,6 +78,11 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             item.m_icon.url = ResPathUtil.GetIconPath(itemCfg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             item.m_grpDiscount.visible = shopCfg.price < shopCfg.originalPrice; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (item.m_grpDiscount.visible) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                EffectUI _effectUI = EffectUIPool.CreateEffectUI(item.m_holderfEff, "ui_Small_parts", "store_Value"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _effectUIs.Add(_effectUI); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             item.m_txtDesc.text = shopCfg.price <= 0 ? "" : ShopDataManager.Instance.GetShopGoodsDiscount(shopCfg.id).ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             item.m_txtEndTime.SetVar("value", ShopDataManager.Instance.GetEndTime(shopCfg.id)).FlushVars(); 
			 |