ソースを参照

开服活动抽奖标题栏修改

huangxiaoyue 1 年間 前
コミット
c829bffcc0

+ 6 - 2
GameClient/Assets/Game/HotUpdate/Views/LuckyBox/LuckyBoxActivityView.cs

@@ -83,7 +83,7 @@ namespace GFGGame
             _activityCfg = ActivityOpenCfgArray.Instance.GetCfg(_activityId);
             _luckyBoxCfg = LuckyBoxCfgArray.Instance.GetCfg(_activityCfg.paramsArr[0]);
             _valueBarController.OnShown();
-            _valueBarController.UpdateList(new List<int>() { _luckyBoxCfg.costID });
+            _valueBarController.UpdateList(new List<int>() {  _luckyBoxCfg.costID, ConstItemID.DIAMOND_RED, ConstItemID.DIAMOND_PURPLE });
             _luckyBoxCtrl.OnShown(_luckyBoxCfg.id);
             LuckyBoxDataManager.Instance.currentBoxId = _luckyBoxCfg.id;
             LuckyBoxDataManager.Instance.luckyBoxIndex = 2;
@@ -92,6 +92,10 @@ namespace GFGGame
             UpdateListItemData();
             UpdateRedDot();
             _ui.m_comBox.m_c1.SetSelectedPage(_activityId.ToString());
+            if(_activityType == ConstLimitTimeActivityType.ActLimitStlyc)
+                _ui.m_comBox.m_c1.selectedIndex = 2;
+            else
+                _ui.m_comBox.m_c1.selectedIndex = 1;
 
             int activityId = ActivityDataManager.Instance.GetCurOpenActiveByType(_activityType);
             ActivityOpenCfg activityOpenCfg = ActivityOpenCfgArray.Instance.GetCfg(activityId);
@@ -110,7 +114,7 @@ namespace GFGGame
                 return;
             }
             TimeUtil.FormattingTime(curTime, endTime, out int num, out string str);
-            _ui.m_txtTime.text = TimeUtil.FormattingTimeTo_DDHHmm(endTime - curTime);
+            _ui.m_txtTime.text = "剩余时间:" + TimeUtil.FormattingTimeTo_DDHHmm(endTime - curTime);
 
             //=====限时礼包倒计时
             UpGiftBox();

BIN
GameClient/Assets/ResIn/UI/LuckyBox/LuckyBox_fui.bytes