神尊红点bug修改
parent
8533fb9a4d
commit
83df159d3f
|
@ -1313,6 +1313,9 @@ function this:OnShow()
|
||||||
JumpServerManager.CheckJumpServerhightLadderMainCityRedPoint()
|
JumpServerManager.CheckJumpServerhightLadderMainCityRedPoint()
|
||||||
--检测鸿蒙碑红点
|
--检测鸿蒙碑红点
|
||||||
HarmonyManager.CheckRedPoinStatusUpTowerMainCityRed()
|
HarmonyManager.CheckRedPoinStatusUpTowerMainCityRed()
|
||||||
|
--设置神尊特权红点
|
||||||
|
this.shenzunRedPoint:SetActive(BagManager.GetItemCountById(15)>=10)
|
||||||
|
|
||||||
--山河试炼红点
|
--山河试炼红点
|
||||||
CheckRedPointStatus(RedPointType.FightLevelTrial)
|
CheckRedPointStatus(RedPointType.FightLevelTrial)
|
||||||
CheckRedPointStatus(RedPointType.MingWangPri)
|
CheckRedPointStatus(RedPointType.MingWangPri)
|
||||||
|
|
|
@ -15,6 +15,7 @@ function this:InitComponent()
|
||||||
this.progressBar=Util.GetGameObject(self.gameObject, "topLayout/progress/progressBar"):GetComponent("Image")
|
this.progressBar=Util.GetGameObject(self.gameObject, "topLayout/progress/progressBar"):GetComponent("Image")
|
||||||
this.progressValue=Util.GetGameObject(self.gameObject, "topLayout/progress/value"):GetComponent("Text")
|
this.progressValue=Util.GetGameObject(self.gameObject, "topLayout/progress/value"):GetComponent("Text")
|
||||||
this.exchangeBtn=Util.GetGameObject(self.gameObject, "topLayout/exchangeBtn")
|
this.exchangeBtn=Util.GetGameObject(self.gameObject, "topLayout/exchangeBtn")
|
||||||
|
this.exchangeRedPoint=Util.GetGameObject(self.gameObject, "topLayout/exchangeBtn/redPoint")
|
||||||
this.tabGrid=Util.GetGameObject(self.gameObject, "layout/tabScroll/grid")
|
this.tabGrid=Util.GetGameObject(self.gameObject, "layout/tabScroll/grid")
|
||||||
this.tabBtnPre=Util.GetGameObject(self.gameObject, "layout/tabBtnPre")
|
this.tabBtnPre=Util.GetGameObject(self.gameObject, "layout/tabBtnPre")
|
||||||
this.selectBtn=Util.GetGameObject(self.gameObject, "layout/tabSelectBtn")
|
this.selectBtn=Util.GetGameObject(self.gameObject, "layout/tabSelectBtn")
|
||||||
|
@ -83,6 +84,10 @@ function this:RemoveListener()
|
||||||
end
|
end
|
||||||
|
|
||||||
function this.UpdateTopInfo()
|
function this.UpdateTopInfo()
|
||||||
|
--刷新兑换红点
|
||||||
|
local costPropNum=BagManager.GetItemCountById(15)
|
||||||
|
this.exchangeRedPoint:SetActive(costPropNum>=10)
|
||||||
|
|
||||||
curLv=GetShenzunLv()
|
curLv=GetShenzunLv()
|
||||||
local expNum=BagManager.GetItemCountById(1352)
|
local expNum=BagManager.GetItemCountById(1352)
|
||||||
local prestigeConfig=ConfigManager.GetConfigDataByDoubleKey(ConfigName.PrestigeConfig,"Type",1,"Level",curLv)
|
local prestigeConfig=ConfigManager.GetConfigDataByDoubleKey(ConfigName.PrestigeConfig,"Type",1,"Level",curLv)
|
||||||
|
|
Loading…
Reference in New Issue