|  | @@ -96,14 +96,31 @@ namespace GFGGame
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          private void OnBtnTaskClick()
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  | +            _activityId = ActivityDataManager.Instance.GetCurOpenActiveByType(ConstLimitTimeActivityType.ActLimitLuckyBox);
 | 
	
		
			
				|  |  | +            if (_activityId <= 0) {
 | 
	
		
			
				|  |  | +                PromptController.Instance.ShowFloatTextPrompt("活动已结束");
 | 
	
		
			
				|  |  | +                return;
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  |              ViewManager.Show<ActivityThemeLuckyBoxTaskView>();
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          private void OnBtnChapterClick()
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  | +            _activityId = ActivityDataManager.Instance.GetCurOpenActiveByType(ConstLimitTimeActivityType.ActLimitLuckyBox);
 | 
	
		
			
				|  |  | +            if (_activityId <= 0)
 | 
	
		
			
				|  |  | +            {
 | 
	
		
			
				|  |  | +                PromptController.Instance.ShowFloatTextPrompt("活动已结束");
 | 
	
		
			
				|  |  | +                return;
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  |              ViewManager.Show<StudioActivityView>();
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          private void OnBtnLuckyBoxClick()
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  | +            _activityId = ActivityDataManager.Instance.GetCurOpenActiveByType(ConstLimitTimeActivityType.ActLimitLuckyBox);
 | 
	
		
			
				|  |  | +            if (_activityId <= 0)
 | 
	
		
			
				|  |  | +            {
 | 
	
		
			
				|  |  | +                PromptController.Instance.ShowFloatTextPrompt("活动已结束");
 | 
	
		
			
				|  |  | +                return;
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  |              long endTime = TimeUtil.DateTimeToTimestamp(_activityCfg.endTime);
 | 
	
		
			
				|  |  |              long curTime = TimeHelper.ServerNow();
 | 
	
		
			
				|  |  |              if (endTime < curTime) return;
 | 
	
	
		
			
				|  | @@ -112,6 +129,12 @@ namespace GFGGame
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          private void OnBtnShopClick()
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  | +            _activityId = ActivityDataManager.Instance.GetCurOpenActiveByType(ConstLimitTimeActivityType.ActLimitLuckyBox);
 | 
	
		
			
				|  |  | +            if (_activityId <= 0)
 | 
	
		
			
				|  |  | +            {
 | 
	
		
			
				|  |  | +                PromptController.Instance.ShowFloatTextPrompt("活动已结束");
 | 
	
		
			
				|  |  | +                return;
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  |              ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_EXCHANGE, ConstStoreSubId.STORE_ACTIVITY_EXCHANGE });
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 |