public void UpdateCurTab() { if (ChargeActivityLogic_SC.Instance()) { ChargeActivityLogic_SC.Instance().InitPrize(); } if (ChargeActivityLogic_SY.Instance()) { ChargeActivityLogic_SY.Instance().InitPrize(); } if (ChargeActivityLogic_CZ.Instance()) { ChargeActivityLogic_CZ.Instance().InitPage(); } if (ChargeActivityLogic_XY.Instance()) { ChargeActivityLogic_XY.Instance().InitData(); } if (CostRebateLogic.Instance()) { CostRebateLogic.Instance().InitData(); } if (SpecialTimePayRebateLogic.Instance()) { SpecialTimePayRebateLogic.Instance().InitData(); } if (ChargeActivityLogic_MT.Instance()) { ChargeActivityLogic_MT.Instance().InitPrize(); } }
void Awake() { m_Instance = this; //modified by zhang dongai [tt12776] 2015-1-17 //各个渠道版本不应该区分字典号,直接使用一个字典号,对内容本地化即可 //因为已经区分了字典号,那么大陆使用4184字典号。其他渠道全部使用4721字典号,不能再新增字典号了。 string dicTip = "#{4184}"; //如果是大陆,招财进宝的提示使用5146字典号 string dicFirstReturn = "#{5146}"; //如果不是大陆版本,使用4721字典号 if (!PlatformHelper.IsChannelMainland()) { dicTip = "#{4721}"; //如果不是大陆,使用5147字典号的成长基金提示 dicFirstReturn = "#{5147}"; } m_LabelTitle.text = StrDictionary.GetClientDictionaryString(dicTip); m_LabelSYFirstReturn.text = StrDictionary.GetClientDictionaryString(dicFirstReturn); }
public void UpdateChargeTip() { if (ChargeActivityLogic_SY.IsMonthCardCanGet() || ChargeActivityLogic_SY.IsNeedClickToday() || ChargeActivityLogic_CZ.IsGrowUpCanGet() || ChargeActivityLogic_CZ.IsNeedClickToday() || ChargeActivityLogic_XY.IsNeedShowTip() || CostRebateLogic.IsRebateCanGet() || CostRebateLogic.IsNeedClickToday() || SpecialTimePayRebateLogic.IsRebateCanGet() || SpecialTimePayRebateLogic.IsNeedClickToday() || ChargeActivityLogic_MT.IsNeedClickToday()) { m_RemainTips.gameObject.SetActive(true); } else { m_RemainTips.gameObject.SetActive(false); } }
public void UpdateRemainTips() { //月卡 if (ChargeActivityLogic_SY.IsMonthCardCanGet() || ChargeActivityLogic_SY.IsNeedClickToday()) { m_RemainMonthCardTips.gameObject.SetActive(true); } else { m_RemainMonthCardTips.gameObject.SetActive(false); } //成长基金 if (ChargeActivityLogic_CZ.IsGrowUpCanGet() || ChargeActivityLogic_CZ.IsNeedClickToday()) { m_RemainGrowUpTips.gameObject.SetActive(true); } else { m_RemainGrowUpTips.gameObject.SetActive(false); } //许愿 if (ChargeActivityLogic_XY.IsNeedShowTip()) { m_WishingWellTips.gameObject.SetActive(true); } else { m_WishingWellTips.gameObject.SetActive(false); } //消费返利 if (CostRebateLogic.IsRebateCanGet() || CostRebateLogic.IsNeedClickToday()) { m_CostRebateTips.gameObject.SetActive(true); } else { m_CostRebateTips.gameObject.SetActive(false); } //特殊时间 if (SpecialTimePayRebateLogic.IsRebateCanGet() || SpecialTimePayRebateLogic.IsNeedClickToday()) { m_SpecialTimePayRebateTips.gameObject.SetActive(true); } else { m_SpecialTimePayRebateTips.gameObject.SetActive(false); } //日卡 if (ChargeActivityLogic_MT.IsNeedClickToday()) { m_DayCardTips.gameObject.SetActive(true); } else { m_DayCardTips.gameObject.SetActive(false); } }