|
@@ -24,9 +24,12 @@ namespace GFGGame
|
|
|
{
|
|
|
UI_ComVipLv com = UI_ComVipLv.Proxy(obj);
|
|
|
com.m_txtLv.text = RoleDataManager.vipLv.ToString();
|
|
|
+ int level = RoleDataManager.vipLv;
|
|
|
+ ET.Log.Debug("vipLv:" + level);
|
|
|
VipCfg vipCfg = VipCfgArray.Instance.GetCfg(RoleDataManager.vipLv);
|
|
|
VipCfg nextVipCfg = VipCfgArray.Instance.GetCfg(RoleDataManager.vipLv + 1);
|
|
|
- com.m_txtTipsFull.visible = nextVipCfg == null;
|
|
|
+ com.m_txtTipsFull.visible = RoleDataManager.vipExp >= vipCfg.num && nextVipCfg == null;
|
|
|
+ com.m_grpTips.visible = nextVipCfg != null || RoleDataManager.vipExp < vipCfg.num;
|
|
|
if (com.m_btnRule.data == null)
|
|
|
{
|
|
|
com.m_btnRule.onClick.Add(RuleController.ShowRuleView);
|