dev_chengFeng
parent
59d03efa95
commit
72fef2124a
|
@ -44,19 +44,15 @@ function this:OnShow(_parent,...)
|
||||||
sortingOrder =_parent.sortingOrder
|
sortingOrder =_parent.sortingOrder
|
||||||
local args = {...}
|
local args = {...}
|
||||||
s=lotterySetting[RecruitType.RecruitBox].CostItem[1][2]
|
s=lotterySetting[RecruitType.RecruitBox].CostItem[1][2]
|
||||||
LogBlue(s)
|
|
||||||
b=tonumber(specialConfig[49].Value)
|
b=tonumber(specialConfig[49].Value)
|
||||||
this.titleText.text=Language[11638]
|
this.titleText.text=Language[11638]
|
||||||
this.text1.text=string.format(Language[11639],s)
|
this.text1.text=string.format(Language[11639],s)
|
||||||
this.text2.text=Language[11640] --后续改成读表
|
this.text2.text=Language[11640] --后续改成读表
|
||||||
this.text3.text=string.format(Language[11641],b)
|
this.text3.text=string.format(Language[11641],b)
|
||||||
this.curNum.text=string.format(Language[11637],BagManager.GetItemCountById(94))
|
this.curNum.text=string.format(Language[11637],BagManager.GetItemCountById(94))
|
||||||
LogBlue(Language[11642]..VipManager.GetChargedNum())
|
|
||||||
|
|
||||||
Util.SetGray(this.okBtn,VipManager.GetChargedNum()<b)
|
Util.SetGray(this.okBtn,VipManager.GetChargedNum()<b)
|
||||||
this.okBtn:GetComponent("Button").interactable=VipManager.GetChargedNum()>=b
|
this.okBtn:GetComponent("Button").interactable=VipManager.GetChargedNum()>=b
|
||||||
-- this.text3.gameObject:SetActive(VipManager.GetChargedNum()<b)
|
this.text3.gameObject:SetActive(VipManager.GetChargedNum()>=0 and VipManager.GetChargedNum()<b)
|
||||||
this.text3.gameObject:SetActive(VipManager.GetChargedNum()>0)--(24暂时关闭)删掉就好了,把上面的释放
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function this:OnClose()
|
function this:OnClose()
|
||||||
|
|
Loading…
Reference in New Issue