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

dev_chengFeng
zhangqiang 2021-03-18 15:16:13 +08:00
commit 6cb698f147
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ function RewardBoxPanel:InitComponent()
this.btnBack = Util.GetGameObject(this.gameObject,"bg/btnBack")
this.scroll = Util.GetGameObject(this.gameObject,"bg/scroll")
this.itemPre = Util.GetGameObject(this.gameObject,"bg/scroll/itemPre2")
this.name = Util.GetGameObject(this.gameObject,"bg/bg/name"):GetComponent("Text")
this.tip = Util.GetGameObject(this.gameObject,"bg/topBar/tip")
this.selectBar = Util.GetGameObject(this.gameObject,"bg/topBar/selectBar")
this.selectBtn = Util.GetGameObject(this.gameObject,"bg/di/selectBtn")
@ -117,6 +118,7 @@ end
-- 打开,重新打开时回调
function RewardBoxPanel:OnShow()
this.name.text = itemConfig[this.itemId].Name
itemList={}
curId = nil
tagNum = 1