Merge branch 'china/dev-c' of http://60.1.1.230/gaoxin/JL_Client into china/dev-c

dev_chengFeng
ZhangBiao 2021-06-03 20:33:18 +08:00
commit 2f6fc30733
1 changed files with 5 additions and 0 deletions

View File

@ -603,7 +603,10 @@ function this.SetAnim()
end
-- 绑定红点
this.bindred = 0
function this.BindRedPoint()
this.bindred = this.bindred + 1
LogError("++主界面绑定红点:"..this.bindred)
BindRedPointObject(RedPointType.Mail, this.mailRedPoint)
BindRedPointObject(RedPointType.DailyTaskMain, this.DailyRedPoint)
BindRedPointObject(RedPointType.Shop, this.rpShangdian)
@ -626,6 +629,8 @@ function this.BindRedPoint()
end
-- 绑定红点
function this.ClearRedPoint()
this.bindred = this.bindred - 1
LogError("--主界面解绑红点:"..this.bindred)
ClearRedPointObject(RedPointType.Mail, this.mailRedPoint)
ClearRedPointObject(RedPointType.DailyTaskMain, this.DailyRedPoint)
ClearRedPointObject(RedPointType.Shop, this.rpShangdian)