文字修改提交

dev_chengFeng
jiaoyangna 2021-03-13 14:25:25 +08:00
parent b260a2d0d8
commit b63d62c7f1
1 changed files with 4 additions and 4 deletions

View File

@ -200,14 +200,14 @@ function HongMengEnvoyPanel:UpdateTextColor()
local data = HarmonyManager:GetHongMengUpData()
if Gold >= data.LevelUp[1][2] then
-- 是否变色
self.TextGold.text = string.format("<color=#F1E7E7>%d</color>",PrintWanNum(data.LevelUp[1][2]))
self.TextGold.text = string.format("<color=#F1E7E7>%s</color>",PrintWanNum(data.LevelUp[1][2]))
else
self.TextGold.text = string.format("<color=#E15558>%d</color>",PrintWanNum(data.LevelUp[1][2]))
self.TextGold.text = string.format("<color=#E15558>%s</color>",PrintWanNum(data.LevelUp[1][2]))
end
if GrowthAmulet >= data.LevelUp[2][2] then
self.TextGrowthAmulet.text = string.format("<color=#F1E7E7>%d</color>",PrintWanNum(data.LevelUp[2][2]))
self.TextGrowthAmulet.text = string.format("<color=#F1E7E7>%s</color>",PrintWanNum(data.LevelUp[2][2]))
else
self.TextGrowthAmulet.text = string.format("<color=#E15558>%d</color>",PrintWanNum(data.LevelUp[2][2]))
self.TextGrowthAmulet.text = string.format("<color=#E15558>%s</color>",PrintWanNum(data.LevelUp[2][2]))
end
end
function HongMengEnvoyPanel:UpdateGoldVal()