货币单位修改
parent
bbf1b207ca
commit
82adc43da5
|
|
@ -3368,7 +3368,8 @@ PlayerTitleRideSkinRedPointTypeStr = {
|
|||
|
||||
MoneyType = {
|
||||
RMB = 1, -- 人民币
|
||||
USD = 2 -- 美元
|
||||
USD = 2, -- 美元
|
||||
MM = 9 -- 美元
|
||||
}
|
||||
|
||||
-- 金钱文字界面相关常量-----------------
|
||||
|
|
|
|||
|
|
@ -36,6 +36,12 @@ local TipConfig = {
|
|||
[3] = "s_shouchong_anniuzi200_zh",
|
||||
[4] = "s_shouchong_anniuzi500_zh",
|
||||
},
|
||||
[MoneyType.MM] = {
|
||||
[1] = "s_shouchong_anniuzi6_zh",
|
||||
[2] = "s_shouchong_anniuzi100_zh",
|
||||
[3] = "s_shouchong_anniuzi200_zh",
|
||||
[4] = "s_shouchong_anniuzi500_zh",
|
||||
},
|
||||
}
|
||||
|
||||
local heroImage={
|
||||
|
|
@ -333,7 +339,8 @@ function FirstRechargePanel:OnTabChanged(index)
|
|||
if isPay then
|
||||
self.reChargeTxt.text=Language[10491]
|
||||
else
|
||||
self.reChargeTxt.text=rechargeConfig[money].Price..Language[10856]
|
||||
--self.reChargeTxt.text=rechargeConfig[money].Price..Language[10856]
|
||||
self.reChargeTxt.text=string.format(MoneyUtil.GetMoneyUnitName(), MoneyUtil.GetMoney(rechargeConfig[money].Price))
|
||||
end
|
||||
if self.offsetIndex == 0 then
|
||||
self.offsetIndex = 1
|
||||
|
|
|
|||
|
|
@ -651,7 +651,7 @@ function this.GetMissionData(indexType,actType)
|
|||
curData.rewards[i].state = 1
|
||||
end
|
||||
end
|
||||
curData.rewards[i].title = string.format(Language[11916],curData.rewards[i].value)
|
||||
curData.rewards[i].title = string.format(Language[11916],MoneyUtil.GetMoney(curData.rewards[i].value))
|
||||
curData.rewards[i].buyInfo = string.format("(%s/%s)",curData.rewards[i].progress,curData.rewards[i].value)
|
||||
curData.rewards[i].shows = actRewardConfigs[j].Reward
|
||||
curData.rewards[i].jump = actRewardConfigs[j].Jump[1]
|
||||
|
|
|
|||
Loading…
Reference in New Issue