| namespace vnxbqy.UI  | 
| {  | 
|     public class FlashRushToBuyNotify : OpenServerActivityNotifyBase  | 
|     {  | 
|         public FlashRushToBuyModel rushToBuyModel { get { return ModelCenter.Instance.GetModel<FlashRushToBuyModel>(); } }  | 
|         OpenServerActivityNotifyModel activityNotifyModel { get { return ModelCenter.Instance.GetModel<OpenServerActivityNotifyModel>(); } }  | 
|         private void OnEnable()  | 
|         {  | 
|             Display();  | 
|         }  | 
|   | 
|         private void OnDisable()  | 
|         {  | 
|               | 
|         }  | 
|   | 
|         protected override void Display()  | 
|         {  | 
|             base.Display();  | 
|             //titleText.text = "限时抢购";  | 
|         }  | 
|   | 
|           | 
|         protected override void ClickGotoBtn()  | 
|         {  | 
|             base.ClickGotoBtn();  | 
|             this.SetActive(false);  | 
|             activityNotifyModel.SetCloseFlashRushToBuyList();  | 
|             if (activityNotifyModel.closeflashSaleShops[activityNotifyModel.closeflashSaleShops.Count-1].ActNum == 10)  | 
|                 WindowJumpMgr.Instance.WindowJumpTo(JumpUIType.FlashRushToBuy);  | 
|             else if (activityNotifyModel.closeflashSaleShops[activityNotifyModel.closeflashSaleShops.Count - 1].ActNum == 20)  | 
|                 WindowJumpMgr.Instance.WindowJumpToEx("MergeServerActivityWin", 1, 1, 5);  | 
|             else  | 
|                 WindowJumpMgr.Instance.WindowJumpTo(JumpUIType.HolidayFlashRushToBuy);  | 
|         }  | 
|   | 
|         protected override void ClickCloseBtn()  | 
|         {  | 
|             base.ClickCloseBtn();  | 
|             activityNotifyModel.SetCloseFlashRushToBuyList();  | 
|         }  | 
|     }  | 
| }  |