Browse Source

茶话会剧情重复问题,和茶话会背景图片消失问题

huangxiaoyue 1 year ago
parent
commit
815d8fbaf2

+ 3 - 2
GameClient/Assets/Game/HotUpdate/Views/League/LeagueTeaPartyOverView.cs

@@ -32,7 +32,7 @@ namespace GFGGame
             isfullScreen = true;
             isReturnView = true;
 
-            _ui.m_loaBg.url = ResPathUtil.GetDressUpPath("chahuibg");
+            _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("chahuibg");
             _ui.m_btnBack.onClick.Add(OnBtnBackClick);
 
             teaPartyOverItemList.Add(_ui.m_TeaPartyOverItem1);
@@ -71,6 +71,7 @@ namespace GFGGame
         {
             base.OnHide();
             Timers.inst.Remove(UpdateTime);
+
         }
 
         protected override void RemoveEventListener()
@@ -94,7 +95,7 @@ namespace GFGGame
 
         private void OnBtnBackClick()
         {
-            ViewManager.GoBackFrom(typeof(LeagueTeaPartyOverView).FullName);
+            ViewManager.Show<LeagueTeaPartyView>(null,null,true);
         }
 
         private void OnBtnRewardClick()

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

@@ -33,7 +33,7 @@ namespace GFGGame
             isfullScreen = true;
             isReturnView = true;
 
-            _ui.m_loaBg.url = ResPathUtil.GetDressUpPath("chahuibg");
+            _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("chahuibg");
             _ui.m_btnBack.onClick.Add(OnBtnBackClick);
 
             teaPartyOverItemList.Add(_ui.m_TeaPartyOverItem1);