Browse Source

搭配赛补充修改

zhangyuqian 1 year ago
parent
commit
c45fb1423c

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

@@ -69,11 +69,13 @@ namespace GFGGame
             JudgingRoundRoleInfo otherLeftInfo = otherLeftdata.JudgingInfo;
             RoleInfoManager.Instance.UpdateHead(_ui.m_player1.m_head, otherLeftInfo.HeadItemId, otherLeftInfo.HeadBorderItemId);
             _ui.m_player1.m_nameText.text = otherLeftInfo.RoleName.ToString();
+            _ui.m_select1.m_numText.visible = false;
             _ui.m_select1.m_numText.text = otherLeftInfo.Score.ToString();
             MatchingPhotoWorksData otherRightdata = MatchingTwoDataManager.Instance.RightRoleInfo;
             JudgingRoundRoleInfo otherRightInfo = otherRightdata.JudgingInfo;
             RoleInfoManager.Instance.UpdateHead(_ui.m_player2.m_head, otherRightInfo.HeadItemId, otherRightInfo.HeadBorderItemId);
             _ui.m_player2.m_nameText.text = otherRightInfo.RoleName.ToString();
+            _ui.m_select2.m_numText.visible = false;
             _ui.m_select2.m_numText.text = otherRightInfo.Score.ToString();
         }
         private void UpdateView()
@@ -100,6 +102,8 @@ namespace GFGGame
             if(result)
             {
                 _ui.m_select1.m_c1.selectedIndex = 1;
+                _ui.m_select1.m_numText.visible = true;
+                _ui.m_select2.m_numText.visible = true;
                 _ui.m_select1.m_numText.text = string.Format("心动值{0}", MatchingTwoDataManager.Instance.LeftRoleInfo.JudgingInfo.Score.ToString());
                 _ui.m_timeText.text = string.Format("剩余次数:{0}", MatchingCompetitionDataManager.Instance.MatchingRemainingTimes);
                 _ui.m_BtnBack.touchable = false;
@@ -120,6 +124,8 @@ namespace GFGGame
             if (result)
             {
                 _ui.m_select2.m_c1.selectedIndex = 1;
+                _ui.m_select1.m_numText.visible = true;
+                _ui.m_select2.m_numText.visible = true;
                 _ui.m_select2.m_numText.text = string.Format("心动值{0}", MatchingTwoDataManager.Instance.RightRoleInfo.JudgingInfo.Score.ToString());
                 _ui.m_timeText.text = string.Format("剩余次数:{0}", MatchingCompetitionDataManager.Instance.MatchingRemainingTimes);
                 _ui.m_BtnBack.touchable = false;