【金钱显示】修复累计充值第一个商品显示错误

dev_chengFeng
gaoxin 2021-04-08 17:31:32 +08:00
parent 45bb99f9c7
commit 680d3e2e7d
2 changed files with 1 additions and 2 deletions

View File

@ -455,8 +455,8 @@ function this.OnPageTabChange(index)
this.PageList[i].gameObject:SetActive(false)
end
end
this.PageList[_PageInfo[index]]:OnShow(this.sortingOrder,this,tabs[index].ActType)
this.PageList[_PageInfo[index]].gameObject:SetActive(true)
this.PageList[_PageInfo[index]]:OnShow(this.sortingOrder,this,tabs[index].ActType)
this.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = tabs[index].panelType })
end

View File

@ -144,7 +144,6 @@ function this.SingleDataShow(pre,value)
-- table.insert(numList,numTextPre.transform:GetChild(i-1):GetComponent("Text"))
-- end
-- CreatNumberPrefab(tostring(sConFigData.value),numList)
pre.gameObject:SetActive(true)
if not moneyGrid[pre] then
moneyGrid[pre] = SubUIManager.Open(SubUIConfig.MoneyNumView, Util.GetGameObject(pre, "context").transform,
sConFigData.value, MoneyNumViewType.Image_Horizontal, "ArtFont_1_cfont", 42, 1, Vector2.New(46, 46), Vector2.New(0, -25), MoneyNumViewImageType.Small_1)