| 
					
				 | 
			
			
				@@ -8,10 +8,8 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public class StudioPropertyView : StudioBaseView 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // private GList _listProperty; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GComponent com; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //private GList _listProperty; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private GLoader _bg0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GLoader _bg1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private GLoader _btnChageLine; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private Controller _croProperty; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private int _propertySelectIndex = 0; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -28,24 +26,26 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_btnBack.onClick.Add(OnClickBtnBack); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // _ui.m_listProperty.itemRenderer = ListPropertyItemRender; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // _ui.m_listProperty.onClickItem.Add(OnClickListProperty); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            com = UIPackage.CreateObject(UI_StudioUI.PACKAGE_NAME, "ComProperty").asCom; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //com = UIPackage.CreateObject(UI_StudioUI.PACKAGE_NAME, "ComProperty").asCom; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             //AddChildCom(com, false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             //list.itemRenderer = ListItemRender; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _croProperty = com.GetController("c1"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _bg0 = com.GetChild("bg0").asLoader; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _bg1 = com.GetChild("bg1").asLoader; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _btnChageLine = com.GetChild("btnChageLine").asLoader; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         protected override void OnShown() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            AddChildCom(com, false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            GComponent com = UIPackage.CreateObject(UI_StudioUI.PACKAGE_NAME, "ComProperty").asCom; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            AddChildCom(com); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _croProperty = com.GetController("c1"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _bg0 = com.GetChild("bg0").asLoader; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _btnChageLine = com.GetChild("btnChageLine").asLoader; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             list.itemRenderer = ListItemRender; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _croProperty.onChanged.Add(OnControllerChange); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _bg0.url = ResPathUtil.GetBgImgPath("bg_fhl"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _bg1.url = "ui://Studio/lm_db_chang_2"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //_bg1.url = "ui://Studio/lm_db_chang_2"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _btnChageLine.url = ResPathUtil.GetCommonGameResPath("zsx_fl"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				              
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _propertySelectIndex = this.viewData == null ? 0 : (int)this.viewData; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -75,6 +75,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				              
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             base.OnShown(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            com.height = _ui.target.height; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_loaBg.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |