【乾坤宝盒】 修改
parent
f553b7275d
commit
680d112657
|
@ -89,6 +89,8 @@ function QianKunBox:BindEvent()
|
||||||
self.btnBack:SetActive(true)
|
self.btnBack:SetActive(true)
|
||||||
self.tabList:SetActive(true)
|
self.tabList:SetActive(true)
|
||||||
self.bottomBar:SetActive(true)
|
self.bottomBar:SetActive(true)
|
||||||
|
parent.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.QianKunBox })
|
||||||
|
QianKunBox:Refresh()
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -114,6 +116,7 @@ function QianKunBox:refreshBtnShow()
|
||||||
-- self.btnTen2:SetActive(BagManager.GetItemCountById(16)>=2000)
|
-- self.btnTen2:SetActive(BagManager.GetItemCountById(16)>=2000)
|
||||||
-- self.btnTen1:SetActive(BagManager.GetItemCountById(16)<2000)
|
-- self.btnTen1:SetActive(BagManager.GetItemCountById(16)<2000)
|
||||||
|
|
||||||
|
self.shop:SetActive(false)
|
||||||
local freeTimesId=lotterySetting[singleRecruit.Id].FreeTimes
|
local freeTimesId=lotterySetting[singleRecruit.Id].FreeTimes
|
||||||
local maxtimesId=lotterySetting[singleRecruit.Id].MaxTimes --lotterySetting表中的MaxTimes对应privilegeConfig表中的id
|
local maxtimesId=lotterySetting[singleRecruit.Id].MaxTimes --lotterySetting表中的MaxTimes对应privilegeConfig表中的id
|
||||||
local curTimes=PrivilegeManager.GetPrivilegeUsedTimes(maxtimesId)
|
local curTimes=PrivilegeManager.GetPrivilegeUsedTimes(maxtimesId)
|
||||||
|
|
Loading…
Reference in New Issue