抽卡修改提交

wangzhenxing 2024-02-22 18:48:27 +08:00
parent 7423ad965c
commit 0fffeaacd5
1 changed files with 2 additions and 0 deletions

View File

@ -403,11 +403,13 @@ function this:RefreshTabData()
this.itemList[i].titleTxt=Util.GetGameObject(this.itemList[i].go,"Text"):GetComponent("Text")
this.itemList[i].redpot = Util.GetGameObject(this.itemList[i].go, "redpot")
this.itemList[i].icon = Util.GetGameObject(this.itemList[i].go, "img/Image"):GetComponent("Image")
this.itemList[i].pageIndex = i
end
this.itemList[i].go.gameObject:SetActive(true)
this.itemList[i].tipObj:SetActive(false)
this.itemList[i].titleTxt.text=self.dicData[i].Sesc
this.itemList[i].icon.sprite=this.spLoader:LoadSprite(self.dicData[i].Icon[2])
this.itemList[i].img.sprite = this.spLoader:LoadSprite(self.dicData[i].Icon[1])
local isOpen=true
local tip=""