少年修仙传客户端代码仓库
client_Hale
2018-09-25 f2cd8cf71a54e251e5f507c7d69c6f91f90e5074
System/Store/StoreWin.cs
@@ -130,6 +130,11 @@
                    functionOrder = _integralStoreTitle.order;
                }
            }
            if(!WindowJumpMgr.Instance.IsJumpState && m_storeModel.funcOrder != -1)
            {
                functionOrder = m_storeModel.funcOrder;
            }
            _funcBtnGroup.TriggerByOrder(functionOrder);
            GlobalTimeEvent.Instance.secondEvent += RefreshResetTime;
        }
@@ -182,8 +187,25 @@
                    AchievementGoto.guideAchievementId = 0;
                }
            }
            else
            {
                if(m_storeModel.jumpShopId != 0)
                {
                    _tagStoreModellist = StoreConfig.GetTypeStoreModel((int)m_storeModel.storeFuncType);
                    for (int i = 0; i < _tagStoreModellist.Count; i++)
                    {
                        if (_tagStoreModellist[i].ID == m_storeModel.jumpShopId)
                        {
                            int index = i / 2 ;
                            _shopCtrl.JumpIndex(index > 2 ? index - 1 : index);
                            _shopCtrl.m_Scorller.RefreshActiveCellViews();
                            break;
                        }
                    }
                    m_storeModel.ClearJumpModel();
                }
            }
        }
        private void RefreshResetTime()
        {