|  | @@ -77,8 +77,10 @@ namespace GFGGame
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          private void RenderListItem(int index, GObject obj)
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  | +            int posRedX = -130;
 | 
	
		
			
				|  |  | +            int posRedY = 30;
 | 
	
		
			
				|  |  | +            bool redVisible = false;
 | 
	
		
			
				|  |  |              UI_StoryItem item = UI_StoryItem.Proxy(obj);
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |              ActivityStoryCfg activityStoryCfg = ActivityStoryCfgArray.Instance.GetCfg(_activityCfg.params4Arr[index]);
 | 
	
		
			
				|  |  |              var storyLevelCfg = StoryLevelCfgArray.Instance.GetCfgsBytypeAndsubTypeAndchapterId(activityStoryCfg.type, activityStoryCfg.subType, _activityCfg.params4Arr[index]);
 | 
	
		
			
				|  |  |              _storyLevelCfgs.Add(index, storyLevelCfg);
 | 
	
	
		
			
				|  | @@ -93,18 +95,31 @@ namespace GFGGame
 | 
	
		
			
				|  |  |                  item.m_rewardItem.target.onClick.Add(OnClickIcon);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              item.m_rewardItem.target.data = itemCfg.id;
 | 
	
		
			
				|  |  | -            if (index > 0 && (!InstanceZonesDataManager.CheckLevelPass(_storyLevelCfgs[index - 1][0].id) || !ItemDataManager.ItemCollect.ContainsKey(activityStoryCfg.needItemsArr[0][0]) || ItemDataManager.ItemCollect[activityStoryCfg.needItemsArr[0][0]] < activityStoryCfg.needItemsArr[0][1])){
 | 
	
		
			
				|  |  | +            if (index > 0 && (!InstanceZonesDataManager.CheckLevelPass(_storyLevelCfgs[index - 1][0].id) || !ItemDataManager.ItemCollect.ContainsKey(activityStoryCfg.needItemsArr[0][0]) || ItemDataManager.ItemCollect[activityStoryCfg.needItemsArr[0][0]] < activityStoryCfg.needItemsArr[0][1]))
 | 
	
		
			
				|  |  | +            {
 | 
	
		
			
				|  |  |                  item.m_storyImageType.selectedIndex = 0;
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  | -            else
 | 
	
		
			
				|  |  | -                item.m_storyImageType.selectedIndex = index+1;
 | 
	
		
			
				|  |  | +            else { 
 | 
	
		
			
				|  |  | +                item.m_storyImageType.selectedIndex = index + 1;
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -            if (activityStoryCfg.needItemsArr.Length > 0) { 
 | 
	
		
			
				|  |  | +            if (item.m_posType.selectedIndex == 1) {
 | 
	
		
			
				|  |  | +                posRedX = -52;
 | 
	
		
			
				|  |  | +                posRedY = 30;
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +            if ((index == 0 && !InstanceZonesDataManager.CheckLevelPass(_storyLevelCfgs[index][0].id)) || (index > 0 && InstanceZonesDataManager.CheckLevelPass(_storyLevelCfgs[index - 1][0].id) && !InstanceZonesDataManager.CheckLevelPass(_storyLevelCfgs[index][0].id) && ItemDataManager.ItemCollect.ContainsKey(activityStoryCfg.needItemsArr[0][0]) && ItemDataManager.ItemCollect[activityStoryCfg.needItemsArr[0][0]] >= activityStoryCfg.needItemsArr[0][1]))
 | 
	
		
			
				|  |  | +            {
 | 
	
		
			
				|  |  | +                redVisible = true;
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            RedDotController.Instance.SetComRedDot(item.target, redVisible, "", posRedX, posRedY);
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            if (activityStoryCfg.needItemsArr.Length > 0) { 
 | 
	
		
			
				|  |  |                  item.m_txtNotOpenTitle.text = string.Format("收集{0}/{1}个", ItemDataManager.ItemCollect[activityStoryCfg.needItemsArr[0][0]], activityStoryCfg.needItemsArr[0][1]);
 | 
	
		
			
				|  |  |                  ItemCfg itemNeedCfg = ItemCfgArray.Instance.GetCfg(activityStoryCfg.needItemsArr[0][0]);
 | 
	
		
			
				|  |  |                  item.m_loaNeedIcon.url = ResPathUtil.GetIconPath(itemNeedCfg);
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |              if (item.m_loaItemBg.data == null)
 | 
	
		
			
				|  |  |                  item.m_loaItemBg.onClick.Add(OnClickBtnPlay);
 | 
	
		
			
				|  |  |  
 |