zhaoyang 3 жил өмнө
parent
commit
11c4b6edbb

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

@@ -223,7 +223,7 @@ namespace GFGGame
             else
             {
                 startTime = monday;
-                endTime = TimeUtil.GetNextWeekTime(GlobalCfgArray.globalCfg.galleryClearingWeekTime - 1, GlobalCfgArray.globalCfg.galleryClearingEndTime);
+                endTime = TimeUtil.GetNextWeekTime(GlobalCfgArray.globalCfg.galleryClearingWeekTime);
             }
             string strStartTime = TimeUtil.FormattingTime3(startTime);
             string strEndTime = TimeUtil.FormattingTime3(endTime); ;

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/DressUp/PhotographView.cs

@@ -582,7 +582,7 @@ namespace GFGGame
                         _ui.m_txtCount.text = string.Format("{0}/{1}", PoemGalleryDataManager.Instance.MyWorksCountOfTheme, GlobalCfgArray.globalCfg.maxGalleryWorksCount);
                         ViewManager.Hide<ModalStatusView>();
                         object[] objs = ViewManager.GetGoBackDatas(typeof(DressUpView).FullName)[1] as object[];
-                        ViewManager.Show<PoemGalleryView>(objs, null, true);
+                        ViewManager.Show<PoemGalleryView>(objs, null, true, true);
                     }
                 });
             }

+ 10 - 2
GameClient/Assets/Game/HotUpdate/Views/Poem/PoemView.cs

@@ -66,11 +66,11 @@ namespace GFGGame
         }
         private void OnComPhotoClick()
         {
-            ViewManager.Show<PoemPhotoView>(null, new object[] { typeof(PoemView).FullName, this.viewData });
+            ViewManager.Show<PoemPhotoView>(null, new object[] { typeof(PoemView).FullName, this.viewData }, true);
         }
         private void OnComGalleryClick()
         {
-            ViewManager.Show<PoemGalleryView>(null, new object[] { typeof(PoemView).FullName, this.viewData });
+            ViewManager.Show<PoemGalleryView>(null, new object[] { typeof(PoemView).FullName, this.viewData }, true);
         }
 
         private void CheckGuide(object param)
@@ -93,5 +93,13 @@ namespace GFGGame
             GuideController.TryCompleteGuide(ConstGuideId.POEM, 3);
 
         }
+        protected override void TryCompleteGuide()
+        {
+            base.TryCompleteGuide();
+            GuideCfg cfg = GuideCfgArray.Instance.GetCfg(ConstGuideId.POEM);
+            GuideController.TryCompleteGuideIndex(cfg.id, 3);
+            GuideController.TryCompleteGuide(ConstGuideId.POEM, 3);
+
+        }
     }
 }