| 
					
				 | 
			
			
				@@ -14,6 +14,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private GTextField _txtTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private GTextField _txtNum; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private GButton _btnBuy; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private int _time = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         protected StudioCfg _studioCfg; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         protected List<StoryLevelCfg> storyLevelCfgs; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -79,6 +80,9 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // _valueBarController.Controller(1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("gzs_bjbj"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //add by zyq 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            UpdateItem(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             UpdateView(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             Timers.inst.Add(1, 0, UpdateShowTime); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -93,6 +97,8 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             storyLevelCfgs = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             Timers.inst.Remove(UpdateShowTime); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            Timers.inst.Remove(OnTimerUpdate); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         protected override void RemoveEventListener() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -180,5 +186,26 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ViewManager.Show<StudioBuyNumView>(this._studioCfg.limit); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private void UpdateItem() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            for (int i = 0; i < list.numChildren; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                list.GetChildAt(i).visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _time = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            Timers.inst.Add(0.2f, list.numChildren, OnTimerUpdate, 1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private void OnTimerUpdate(object param) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            list.GetChildAt(_time).visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            UI_ListItem listItem = UI_ListItem.Proxy(list.GetChildAt(_time++)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //播放动效 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (listItem.m_test != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                listItem.m_test.Play(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            UI_ListItem.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |