少年修仙传客户端代码仓库
client_Zxw
2018-10-15 d746f7593b7cec932cb25d43a67455a99c8cbedb
4177 【前端】主界面显示限时抢购ICON
2个文件已修改
31 ■■■■■ 已修改文件
System/MainInterfacePanel/HighSettingFadeInFadeOut.cs 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/HighSettingTip.cs 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/HighSettingFadeInFadeOut.cs
@@ -636,6 +636,30 @@
                        }
                        else if (IndexOf == 4)
                        {
                            bool Isopen = OpenServerActivityCenter.Instance.IsActivityOpen(14);
                            if (!AnimationFadeOutDicLow.ContainsKey(highBtnRecord.Index) && Isopen)//限时抢购
                            {
                                if (AnimationFadeOutDicLow.Count < 6)//------第二层
                                {
                                    SelectCaseRequest selectCaseRequest = new SelectCaseRequest();
                                    selectCaseRequest.Tran = m_GroupIndex_Low.GetChild(i);
                                    selectCaseRequest.IsNagaaki = highBtnRecord.IsNagaaki;
                                    selectCaseRequest.Index = highBtnRecord.Index;
                                    AnimationFadeOutDicLow.Add(highBtnRecord.Index, selectCaseRequest);
                                }
                                else//------第三层
                                {
                                    SelectCaseRequest selectCaseRequest = new SelectCaseRequest();
                                    selectCaseRequest.Tran = m_GroupIndex_Low.GetChild(i);
                                    selectCaseRequest.IsNagaaki = highBtnRecord.IsNagaaki;
                                    selectCaseRequest.Index = highBtnRecord.Index;
                                    AnimationFadeOutDicThree.Add(highBtnRecord.Index, selectCaseRequest);
                                }
                            }
                        }
                        else if (IndexOf == 5)
                        {
                            bool Isopen = impactRankModel.IsInImpactRank;
                            if (!AnimationFadeOutDicLow.ContainsKey(highBtnRecord.Index) && Isopen)//全民冲榜
                            {
System/MainInterfacePanel/HighSettingTip.cs
@@ -50,6 +50,7 @@
        [SerializeField] Button m_FlashSaleBtn;//限时特惠
        [SerializeField] Button m_AllThePeopleBtn;//全民冲榜
        [SerializeField] Button m_FlashRushBtn;//限时抢购
        private bool _bool = true;
        private int swicthCdTime = 0;
        private bool IsFadeOut = true;
@@ -90,6 +91,7 @@
            m_ElfFestivalBtn.AddListener(OnClickElfFestivalBtn);
            m_FlashSaleBtn.AddListener(OnClickmFlashSaleBtn);
            m_AllThePeopleBtn.AddListener(OnClickmAllThePeopleBtn);
            m_FlashRushBtn.AddListener(OnClickFlashRushBtn);
            if (_bool)
            {
                ColseButton();
@@ -336,6 +338,11 @@
            OpenServerActivityCenter.Instance.selectFuncOrder = (int)OpenServerActivityCenter.OSActivityType.ImpactRank;
            WindowCenter.Instance.Open<OpenServerActivityWin>();
        }
        void OnClickFlashRushBtn()//限时抢购
        {
            WindowCenter.Instance.Close<MainInterfaceWin>();
            WindowCenter.Instance.Open<OpenServerActivityWin>(false, 14);
        }
        public void ShowButton()//向上
        {