|
@@ -64,7 +64,7 @@ namespace GFGGame
|
|
|
_rechargeCfgs = ActivityRechargeCfgArray.Instance.GetCfgsByactivityId(_activityId);
|
|
|
_activityInfo = ActivityGlobalDataManager.Instance.GetActivityInfo(_activityId);
|
|
|
//RefreshList();
|
|
|
- //由于这个需要外部参数所以在onshown里面预加载
|
|
|
+ //鐢变簬杩欎釜闇€瑕佸�閮ㄥ弬鏁版墍浠ュ湪onshown閲岄潰棰勫姞杞�
|
|
|
PreloadManager.Instance.PreloadSuitRes(_rechargeCfgs[0].suitId, ResType.Both, new int[] { ConstDressUpItemType.BEI_JING }, false);
|
|
|
string name = SuitCfgArray.Instance.GetCfg(_rechargeCfgs[0].suitId).name;
|
|
|
_ui.m_packageName.text = name;
|
|
@@ -88,7 +88,7 @@ namespace GFGGame
|
|
|
_ui.m_btnRight.visible = _curSelectIndex < _rechargeCfgs.Count - 1 ? true : false;
|
|
|
_ui.m_packageName.text = SuitCfgArray.Instance.GetCfg(_rechargeCfgs[_curSelectIndex].suitId).name;
|
|
|
UpdateRedDot();
|
|
|
- //预加载套装,对于不同suitid
|
|
|
+ //棰勫姞杞藉�瑁咃紝瀵逛簬涓嶅悓suitid
|
|
|
for (int i = 1; i < _rechargeCfgs.Count; i++)
|
|
|
{
|
|
|
if (_rechargeCfgs[i].suitId != _rechargeCfgs[i - 1].suitId)
|
|
@@ -181,25 +181,25 @@ namespace GFGGame
|
|
|
bool isGet = MathUtil.isBitSet(GameGlobal.myNumericComponent.GetAsInt(NumericType.VipGetStatus), vipCfg.id);
|
|
|
long limitChargeExp = _activityInfo.CountValue;
|
|
|
//item.m_btnGetGiftBag.grayed = limitChargeExp < _rechargeCfgs[index].value;
|
|
|
- item.m_txtGiftBag.text = string.Format("活动期间累计获得{0}会员积分({1}/{2})", _rechargeCfgs[index].value, limitChargeExp, _rechargeCfgs[index].value);
|
|
|
+ item.m_txtGiftBag.text = string.Format("娲诲姩鏈熼棿绱��鑾峰緱{0}浼氬憳绉�垎({1}/{2})", _rechargeCfgs[index].value, limitChargeExp, _rechargeCfgs[index].value);
|
|
|
if (limitChargeExp >= _rechargeCfgs[index].value)
|
|
|
{
|
|
|
if (_activityInfo.GetRewards.IndexOf(_rechargeCfgs[index].id) >= 0)
|
|
|
{
|
|
|
item.m_btnGetGiftBag.grayed = true;
|
|
|
- item.m_btnGetGiftBag.title = "已领取";
|
|
|
+ item.m_btnGetGiftBag.title = "宸查�鍙�";
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
item.m_btnGetGiftBag.grayed = false;
|
|
|
- item.m_btnGetGiftBag.title = "领取";
|
|
|
+ item.m_btnGetGiftBag.title = "棰嗗彇";
|
|
|
}
|
|
|
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
item.m_btnGetGiftBag.grayed = true;
|
|
|
- item.m_btnGetGiftBag.title = "领取";
|
|
|
+ item.m_btnGetGiftBag.title = "棰嗗彇";
|
|
|
}
|
|
|
}
|
|
|
|