点金前端显示bug修改
parent
1495f42672
commit
dd56c24ae8
|
|
@ -81,7 +81,7 @@ function this.SetPanel()
|
||||||
|
|
||||||
local vipFactor = PrivilegeManager.GetPrivilegeNumber(PRIVILEGE_TYPE.BuyGoldAdd)
|
local vipFactor = PrivilegeManager.GetPrivilegeNumber(PRIVILEGE_TYPE.BuyGoldAdd)
|
||||||
|
|
||||||
coinNum.text= math.floor((storeData.Goods[1][2] + levelNums[i]) * vipFactor)
|
coinNum.text= math.floor((storeData.Goods[1][2] + levelNums[i]) * (vipFactor*100)/100)
|
||||||
btnIcon.sprite=this.mainPanel.spLoader:LoadSprite(GetResourcePath(itemConfig[item].ResourceID))
|
btnIcon.sprite=this.mainPanel.spLoader:LoadSprite(GetResourcePath(itemConfig[item].ResourceID))
|
||||||
btnText.text=string.format(Language[11655],num)
|
btnText.text=string.format(Language[11655],num)
|
||||||
btnIcon.gameObject:SetActive(num~=0)
|
btnIcon.gameObject:SetActive(num~=0)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue