Browse Source

雅集答题退出后不要弹出副本介绍页/雅集职位:显示的是设花,但雅集信息记录中文案显示的是“御史”; =》 统一改成 社花

hexiaojie 1 year ago
parent
commit
187ba0e1e2

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Data/LeagueDataManager.cs

@@ -69,7 +69,7 @@ namespace GFGGame
                     title = "副社长";
                     break;
                 case LeaguePos.Flower:
-                    title = "御史";
+                    title = "社花";
                     break;
                 case LeaguePos.Member:
                     title = "成员";

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/League/LeagueAnswerView.cs

@@ -70,7 +70,7 @@ namespace GFGGame
         private void OnBtnAnswerClick()
         {
             Hide();
-            ViewManager.Show<LeagueAnsweringView>(null, new object[] { typeof(LeagueAnswerView).FullName });
+            ViewManager.Show<LeagueAnsweringView>(null, new object[] { });
         }
 
         private void UpdateView()

+ 6 - 3
GameClient/Assets/Game/HotUpdate/Views/League/LeagueAnsweringView.cs

@@ -104,7 +104,8 @@ namespace GFGGame
             if (LeagueDataManager.Instance.LastAnswerRoleData.LastQuestionResult == LastQuestionResult.Ending)
             {
                 LeagueSproxy.ReqQuitAnswer().Coroutine();
-                ViewManager.GoBackFrom(typeof(LeagueAnsweringView).FullName);
+                // ViewManager.GoBackFrom(typeof(LeagueAnsweringView).FullName);
+                Hide();
             }
             else
             {
@@ -113,7 +114,8 @@ namespace GFGGame
                 .SetRightButton(true, "是", (object data) =>
                 {
                     LeagueSproxy.ReqQuitAnswer().Coroutine();
-                    ViewManager.GoBackFrom(typeof(LeagueAnsweringView).FullName);
+                    // ViewManager.GoBackFrom(typeof(LeagueAnsweringView).FullName);
+                    Hide();
                 });
             }
         }
@@ -156,7 +158,8 @@ namespace GFGGame
             if (endTime - curTime < 0 && LeagueDataManager.Instance.GetNumeriValue(LeagueNumericType.LeagueQuestionStatus) == LeagueQuestionStatus.End)
             {
                 Timers.inst.Remove(UpdateResultTime);
-                ViewManager.GoBackFrom(typeof(LeagueAnsweringView).FullName);
+                // ViewManager.GoBackFrom(typeof(LeagueAnsweringView).FullName);
+                Hide();
                 return;
             }
             _ui.m_txtTime.text = string.Format("{0}{1}", str, TimeUtil.FormattingTimeTo_mmss(endTime - curTime));

+ 6 - 5
GameClient/Assets/Game/HotUpdate/Views/League/LeagueSkillUpView.cs

@@ -57,7 +57,7 @@ namespace GFGGame
             _ui.m_comSkill.m_list.itemRenderer = RenderListItem;
             _ui.m_comSkill.m_list.SetVirtual();
             _ui.m_comSkill.m_list.scrollPane.decelerationRate = 0.8f;
-            _ui.m_comSkill.m_list.onTouchBegin.Add(OnDropDisSkillList);
+            // _ui.m_comSkill.m_list.onTouchBegin.Add(OnDropDisSkillList);
             _ui.m_comSkill.m_list.onTouchEnd.Add(OnTouchEndSkillList);
             _ui.m_comSkill.m_btnLeft.onClick.Add(OnBtnLeftClick);
             _ui.m_comSkill.m_btnRight.onClick.Add(OnBtnRightClick);
@@ -322,12 +322,13 @@ namespace GFGGame
 
         private void OnTouchEndSkillList(EventContext context)
         {
+            DestroySkillAni();
             _ui.m_comSkill.m_list.RefreshVirtualList();
         }
         
-        private void OnDropDisSkillList(EventContext context)
-        {
-            DestroySkillAni();
-        }
+        // private void OnDropDisSkillList(EventContext context)
+        // {
+        //    
+        // }
     }
 }