十绝阵奖励】领奖阶段,未被领取的箱子可以查看到奖励
parent
54870cd601
commit
abe9d67927
|
@ -148,6 +148,9 @@ function this.SetScrollPre(root,data,index)
|
|||
end)
|
||||
end)
|
||||
if data.username=="" then
|
||||
if itemViewList[root] then
|
||||
itemViewList[root].gameObject:SetActive(false)
|
||||
end
|
||||
return
|
||||
end
|
||||
|
||||
|
@ -155,7 +158,7 @@ function this.SetScrollPre(root,data,index)
|
|||
itemViewList[root]=SubUIManager.Open(SubUIConfig.ItemView,itemRoot.transform)
|
||||
end
|
||||
itemViewList[root]:OnOpen(false,{data.itemId,data.itemCount},1.1,false,false,false)
|
||||
|
||||
itemViewList[root].gameObject:SetActive(true)
|
||||
if data.username then
|
||||
name.text=data.username
|
||||
end
|
||||
|
|
|
@ -113,7 +113,7 @@ function TenRecruitPanel:OnOpen(...)
|
|||
this.againIcon.sprite=Util.LoadSprite(artResourcesConfig[itemConfig[d[1]].ResourceID].Name)
|
||||
this.againNum.text="×"..d[2]
|
||||
maxTimesId=lotterySetting[type].MaxTimes --特权上限ID
|
||||
this.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.Main })
|
||||
this.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.Recruit })
|
||||
end
|
||||
|
||||
--界面关闭时调用(用于子类重写)
|
||||
|
|
Loading…
Reference in New Issue