| 
					
				 | 
			
			
				@@ -23,7 +23,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private DressUpObjDataCache _dressUpObjDataCache; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private ValueBarController _valueBarController; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private List<ShopCfg> _dataList; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private GLoader _imgSelected; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private GComponent _comSelected; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private ShopCfg _cfgSelected; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private const int MAX_COUNT = 99; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private const int INIT_COUNT = 1; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -45,10 +45,10 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 GameObject.Destroy(_scenePrefab); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 _scenePrefab = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (_imgSelected != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (_comSelected != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _imgSelected.RemoveFromParent(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _imgSelected.Dispose(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _comSelected.RemoveFromParent(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _comSelected.Dispose(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (_dressUpObjDataCache != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -73,10 +73,10 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _scenePrefab = GFGAsset.Load<GameObject>(ResPathUtil.GetPrefabPath("SceneDressUp")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _dressUpObjDataCache = new DressUpObjDataCache(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _imgSelected = new GLoader(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _imgSelected.x = -5; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _imgSelected.y = -3; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _imgSelected.url = "ui://ClothingShop/fzd_fzxzhong"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _comSelected = new GComponent(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _comSelected.x = -5; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _comSelected.y = -3; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _comSelected = UIPackage.CreateObject(UI_ClothingShopUI.PACKAGE_NAME, "ComSelect").asCom; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_listShop.itemRenderer = ListShopItemRender; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_btnBack.onClick.Add(OnClickBtnBack); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -301,6 +301,9 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void OnClickListShopItem(EventContext context) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _selectedItemId = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // UI_ShopListItemRender selectedListItem = UI_ShopListItemRender.Proxy(_selectedListItem); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // selectedListItem.m_grpSelect.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             UpdateSelectedItemInfo(context.data as GComponent, true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -309,6 +312,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             UI_ShopListItemRender listItem = UI_ShopListItemRender.Proxy(item); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ShopCfg cfg = _dataList[index]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             listItem.target.data = cfg; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // listItem.m_grpSelect.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ItemCfg itemCfg = ItemCfgArray.Instance.GetCfg(cfg.itemID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             listItem.m_icon.url = ResPathUtil.GetIconPath(itemCfg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             string itemName = itemCfg.name; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -323,7 +327,10 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void UpdateSelectedItemInfo(GComponent listItem, bool tween) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _selectedListItem = listItem; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            listItem.AddChild(_imgSelected); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            listItem.AddChild(_comSelected); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // UI_ShopListItemRender item = UI_ShopListItemRender.Proxy(listItem); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // item.m_grpSelect.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // item.target.AddChild() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ShopCfg cfg = listItem.data as ShopCfg; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _cfgSelected = cfg; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             UpdateRole(tween); 
			 |