超值礼包

PC-202302260912\Administrator 2025-04-23 18:22:51 +08:00
parent 9cf98e41dc
commit d7851eb2ba
2 changed files with 4 additions and 4 deletions

View File

@ -2153,7 +2153,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -58.5, y: 75}
m_AnchoredPosition: {x: -51.9, y: 75}
m_SizeDelta: {x: 83, y: 86}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1218788819354680729
@ -2182,7 +2182,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 2d3738e8e20045347865bcb9eb095ac6, type: 3}
m_Sprite: {fileID: 21300000, guid: ae22b417b987b6b4f9765d0e48cbafa5, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -2636,7 +2636,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -57.5, y: 97.9}
m_AnchoredPosition: {x: -72.1, y: 97.9}
m_SizeDelta: {x: 106.37, y: 70}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &490195327142356244

View File

@ -122,7 +122,7 @@ function ValuePackPanel.SetItemInfo(go, data, index)
redpoint:SetActive(true)
else
discountBg:SetActive(true)
discount.text = 100-string.format("%.0f",(data.Cost[2][4]/data.Rebate)*100).."%"
discount.text = tostring(math.floor((data.Cost[2][4]/data.Rebate)*10))
redpoint:SetActive(false)
end
if not this.ItemList[go] then