zhaoyang 2 lat temu
rodzic
commit
8c86ed103e

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Constant/ConstStoreSubId.cs

@@ -11,6 +11,7 @@ namespace GFGGame
         public const int STORE_GIFT_BAG_GREATEST = 2;//精选
         public const int STORE_GIFT_BAG_HOT = 3;//热销
         public const int STORE_EXCHANGE_GALLERY = 0;//画廊商城
+        public const int STORE_EXCHANGE_LEAGUE = 1;//雅集商城
         public const int STORE_ARENA_ITEM = 0;//竞技场
         public const int FU_ZHUANG_DIAN = 0;//服装店
 

+ 5 - 0
GameClient/Assets/Game/HotUpdate/Views/League/LeagueView.cs

@@ -93,6 +93,11 @@ namespace GFGGame
         {
             ViewManager.Show<LeaguePrayView>(null, new object[] { typeof(LeagueView).FullName, null });
         }
+        private void OnBtnShopClick()
+        {
+            ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_EXCHANGE, ConstStoreSubId.STORE_EXCHANGE_LEAGUE }, new object[] { typeof(LeaguePrayView).FullName, true }, true);
+            ViewManager.Show<LeaguePrayView>(null, new object[] { typeof(LeagueView).FullName, null });
+        }
         private void OnBtnSkillClick()
         {
             ViewManager.Show<LeagueSkillView>(null, new object[] { typeof(LeagueView).FullName, null });

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Poem/PoemGalleryView.cs

@@ -249,7 +249,7 @@ namespace GFGGame
         private void OnBtnShopClick()
         {
             object[] gobackParamDatas = new object[] { _tabIndex, _subtabIndex, _ui.m_comNormal.m_comBoBox.selectedIndex };
-            ViewManager.Show<GalleryShopView>(new object[] { ConstStoreId.GALLERY_STORE_ID }, new object[] { typeof(PoemGalleryView).FullName, gobackParamDatas }, true);
+            ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_EXCHANGE, ConstStoreSubId.STORE_EXCHANGE_GALLERY }, new object[] { typeof(PoemGalleryView).FullName, gobackParamDatas }, true);
         }
 
         /// <summary>