| System/MainInterfacePanel/HighSettingTip.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/MainInterfacePanel/RechargeBtnBehaviour.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Vip/AddUpRechargeModel.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
System/MainInterfacePanel/HighSettingTip.cs
@@ -164,6 +164,9 @@ WindowCenter.Instance.Open<FirstRechargeWin>(true); } break; case 2: WindowCenter.Instance.Open<VipRechargeWin>(false, 2); break; case 3: WindowCenter.Instance.Open<VipRechargeWin>(false, 0); break; System/MainInterfacePanel/RechargeBtnBehaviour.cs
@@ -15,6 +15,7 @@ VipModel model { get { return ModelCenter.Instance.GetModel<VipModel>(); } } //OSGiftModel osGiftModel { get { return ModelCenter.Instance.GetModel<OSGiftModel>(); } } AddUpRechargeModel addUpModel { get { return ModelCenter.Instance.GetModel<AddUpRechargeModel>(); } } public void Init() { @@ -30,10 +31,10 @@ { state = 1; } //else if (model.firstChargeRewardGet && ModelCenter.Instance.GetModel<OSGiftModel>().activate) //{ // state = 2; //} else if (!addUpModel.IsCompleteAll()) { state = 2; } else { state = 3; @@ -45,10 +46,10 @@ m_FuncIcon.SetSprite("MoneyIcon_a"); m_FuncName.SetSprite("W_ShouChong_a"); break; //case 2: // m_FuncIcon.SetSprite("ChaoZhi_a"); // m_FuncName.SetSprite("WZ_ZJM_39"); // break; case 2: m_FuncIcon.SetSprite("ChongZhi_a"); m_FuncName.SetSprite("W_CZFL_a"); break; case 3: m_FuncIcon.SetSprite("ChongZhi_a"); m_FuncName.SetSprite("W_ChongZhi_a"); System/Vip/AddUpRechargeModel.cs
@@ -148,6 +148,20 @@ redpoint.state = redable ? RedPointState.Simple : RedPointState.None; } public bool IsCompleteAll() { var isOpen = SatisfyAnyVipLevel(); var configs = AddUpRechargeConfig.GetValues(); foreach (var config in configs) { if (isOpen && GetAddUpRechargeState(config.RewardID) != 1) { return false; } } return isOpen ? true:false; } } }