Browse Source

搭配赛补充

zhangyuqian 1 year ago
parent
commit
0b8e295a86

+ 3 - 10
GameClient/Assets/Game/HotUpdate/Views/MatchingCompetition/MatchingCompetitionGatheringView.cs

@@ -56,7 +56,8 @@ namespace GFGGame
             base.OnShown();
             base.OnShown();
             _ui.m_bg.url = ResPathUtil.GetBgImgPath("gzs_fb_bj");
             _ui.m_bg.url = ResPathUtil.GetBgImgPath("gzs_fb_bj");
             _ui.m_c1.selectedIndex = 0;
             _ui.m_c1.selectedIndex = 0;
-            SuitID = 201030;
+            SuitID = JudgingRoundOpenCfgArray.Instance.dataArray[MatchingCompetitionDataManager.Instance.MatchingCompetitionSeason].ShowSuit;
+            _ui.m_titleText.text = JudgingRoundOpenCfgArray.Instance.dataArray[MatchingCompetitionDataManager.Instance.MatchingCompetitionSeason].Name;
             SuitCfg suitCfg = SuitCfgArray.Instance.GetCfg(SuitID);
             SuitCfg suitCfg = SuitCfgArray.Instance.GetCfg(SuitID);
             _ui.m_suitName.text = suitCfg.name;
             _ui.m_suitName.text = suitCfg.name;
             UpdateView();
             UpdateView();
@@ -114,15 +115,7 @@ namespace GFGGame
         }
         }
         private void OnClickBtnUpload()
         private void OnClickBtnUpload()
         {
         {
-            //ViewManager.Show<DressUpView>(2, false);
-
-            List<int> AllIdList = new List<int>() { 180004, 30486 , 30458 ,30416 };
-            //foreach (var info in MatchingOneDataManager.Instance.OneRoleInfo.JudgingInfo.CollocationInfoList)
-            //{
-            //    AllIdList.Add(info.ItemId);
-            //}
-            MatchingCompetitionDataManager.Instance.DetailNtexture = MatchingOneDataManager.Instance.OneRoleInfo.Ntexture;
-            ViewManager.Show<MatchingCompetitionDetailView>(AllIdList);
+            ViewManager.Show<DressUpView>(2, false);
         }
         }
         private async void OnClickBtnShop()
         private async void OnClickBtnShop()
         {
         {

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/MatchingCompetition/MatchingCompetitionRankView.cs

@@ -40,6 +40,7 @@ namespace GFGGame
         {
         {
             base.OnShown();
             base.OnShown();
             _ui.m_bg.url = ResPathUtil.GetBgImgPath("gzs_fb_bj");
             _ui.m_bg.url = ResPathUtil.GetBgImgPath("gzs_fb_bj");
+            _ui.m_titleText.text = JudgingRoundOpenCfgArray.Instance.dataArray[MatchingCompetitionDataManager.Instance.MatchingCompetitionSeason].Name;
             UpdateView();
             UpdateView();
             UpdateHead();
             UpdateHead();
         }
         }

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/MatchingCompetition/MatchingCompetitionSelectView.cs

@@ -41,6 +41,7 @@ namespace GFGGame
             base.OnShown();
             base.OnShown();
             _ui.m_bg.url = ResPathUtil.GetBgImgPath("gzs_fb_bj");
             _ui.m_bg.url = ResPathUtil.GetBgImgPath("gzs_fb_bj");
             _ui.m_BtnBack.touchable = true;
             _ui.m_BtnBack.touchable = true;
+            _ui.m_titleText.text = JudgingRoundOpenCfgArray.Instance.dataArray[MatchingCompetitionDataManager.Instance.MatchingCompetitionSeason].Name;
             //isRefresh = (bool)this.viewData;
             //isRefresh = (bool)this.viewData;
             UpdateView();
             UpdateView();
             UpdatePlayer();
             UpdatePlayer();

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/MatchingCompetition/MatchingCompetitionUpLoadView.cs

@@ -53,6 +53,7 @@ namespace GFGGame
             base.OnShown();
             base.OnShown();
             _ui.m_bg.url = ResPathUtil.GetBgImgPath("gzs_fb_bj");
             _ui.m_bg.url = ResPathUtil.GetBgImgPath("gzs_fb_bj");
             _ui.m_c1.selectedIndex = MatchingCompetitionDataManager.Instance.MatchingState;
             _ui.m_c1.selectedIndex = MatchingCompetitionDataManager.Instance.MatchingState;
+            _ui.m_titleText.text = JudgingRoundOpenCfgArray.Instance.dataArray[MatchingCompetitionDataManager.Instance.MatchingCompetitionSeason].Name;
             isCountTime = false;
             isCountTime = false;
             UpdateView();
             UpdateView();
             UpdateHead();
             UpdateHead();

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/MatchingCompetition/MatchingCompetitionWorkListView.cs

@@ -41,6 +41,7 @@ namespace GFGGame
         {
         {
             base.OnShown();
             base.OnShown();
             _ui.m_bg.url = ResPathUtil.GetBgImgPath("gzs_fb_bj");
             _ui.m_bg.url = ResPathUtil.GetBgImgPath("gzs_fb_bj");
+            _ui.m_titleText.text = JudgingRoundOpenCfgArray.Instance.dataArray[MatchingCompetitionDataManager.Instance.MatchingCompetitionSeason].Name;
             _seasonIndex = (int)this.viewData;
             _seasonIndex = (int)this.viewData;
             UpdateView();
             UpdateView();
         }
         }

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/MatchingCompetition/MatchingCompetitionWorksView.cs

@@ -41,6 +41,7 @@ namespace GFGGame
         {
         {
             base.OnShown();
             base.OnShown();
             _ui.m_bg.url = ResPathUtil.GetBgImgPath("gzs_fb_bj");
             _ui.m_bg.url = ResPathUtil.GetBgImgPath("gzs_fb_bj");
+            _ui.m_titleText.text = JudgingRoundOpenCfgArray.Instance.dataArray[MatchingCompetitionDataManager.Instance.MatchingCompetitionSeason].Name;
             UpdateView();
             UpdateView();
         }
         }