|
@@ -38,7 +38,7 @@ namespace GFGGame
|
|
|
_ui.m_btnBack.onClick.Add(OnBtnBackClick);
|
|
|
_ui.m_btnCharge.onClick.Add(OnBtnChargeClick);
|
|
|
ActivityOpenCfg openCfg = ActivityOpenCfgArray.Instance.GetCfg(ActivityDataManager.Instance.actLimitChargeId);
|
|
|
- _ui.m_loaBg.url = ResPathUtil.GetBgImgPath(openCfg.res);
|
|
|
+ // _ui.m_loaBg.url = ResPathUtil.GetBgImgPath(openCfg.res);
|
|
|
|
|
|
}
|
|
|
protected override void AddEventListener()
|
|
@@ -92,8 +92,8 @@ namespace GFGGame
|
|
|
|
|
|
UI_ListChargeItem item = UI_ListChargeItem.Proxy(obj);
|
|
|
|
|
|
- item.m_txtTitle.text = string.Format("活动期间累计获得{0}会员积分({1}/{2})", _rechargeCfgs[index].value, RoleDataManager.vipExp, _rechargeCfgs[index].value);
|
|
|
- int limitChargeExp = GameGlobal.myNumericComponent.GetAsInt(NumericType.RechargeTotal);
|
|
|
+ int limitChargeExp = GameGlobal.myNumericComponent.GetAsInt(NumericType.TotalRechargeScore);
|
|
|
+ item.m_txtTitle.text = string.Format("活动期间累计获得{0}会员积分({1}/{2})", _rechargeCfgs[index].value, limitChargeExp, _rechargeCfgs[index].value);
|
|
|
if (limitChargeExp >= _rechargeCfgs[index].value)
|
|
|
{
|
|
|
item.m_c1.selectedIndex = _activityInfo.GetRewards.IndexOf(_rechargeCfgs[index].id) > 0 ? 2 : 1;
|