|
@@ -461,7 +461,9 @@ namespace GFGGame
|
|
|
GalleryThemeCfg themeCfg = GalleryThemeCfgArray.Instance.GetCfg((int)PoemGalleryDataManager.Instance.ThemeId);
|
|
|
_ui.m_comNormal.m_txtTheme.text = string.Format("本期主题:{0}", themeCfg.theme);
|
|
|
_ui.m_comNormal.m_txtRank.text = string.Format("我的排名: {0}", PoemGalleryDataManager.Instance.MyRank > 0 && !isResulting ? PoemGalleryDataManager.Instance.MyRank.ToString() : "- -");
|
|
|
- _ui.m_comNormal.m_txtRewardCount.text = string.Format("奖励次数:{0}/{1}", GameGlobal.myNumericComponent.GetAsInt(NumericType.LikeGalleryWorksCountDaily), GalleryIntegralCfgArray.Instance.dataArray.Length);
|
|
|
+ int curCount = GameGlobal.myNumericComponent.GetAsInt(NumericType.LikeGalleryWorksCountDaily);
|
|
|
+ int maxCount = GalleryIntegralCfgArray.Instance.dataArray.Length;
|
|
|
+ _ui.m_comNormal.m_txtRewardCount.text = string.Format("奖励次数:{0}/{1}", Mathf.Min(curCount, maxCount), maxCount);
|
|
|
_ui.m_comNormal.m_txtTime.text = string.Format("截止日期:{0}", PoemGalleryDataManager.Instance.GetThemeTime());
|
|
|
|
|
|
}
|