From a698ff62441e3c89b26d825921ef6b031bf864d4 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期三, 08 一月 2025 22:23:56 +0800 Subject: [PATCH] 10352 【BT】免费买断版本 - 小数点显示和跳转 --- System/Vip/VipInvest/ForeverCardWin.cs | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/System/Vip/VipInvest/ForeverCardWin.cs b/System/Vip/VipInvest/ForeverCardWin.cs index 66a6df1..f76d806 100644 --- a/System/Vip/VipInvest/ForeverCardWin.cs +++ b/System/Vip/VipInvest/ForeverCardWin.cs @@ -76,7 +76,7 @@ m_State.SetActive(state == 3); int needMoney = InvestModel.Instance.rechargeSumDict[InvestModel.foreverCardType] / 10000; m_Price.text = Language.Get("ForeverCard6", needMoney); - m_Process.text = Language.Get("ForeverCard7", vipModel.realRecharge / 10000, needMoney); + m_Process.text = Language.Get("ForeverCard7", UIHelper.GetMoneyFormat( vipModel.realRecharge / 10000.0), needMoney); for (int i = 0; i < itemCellList.Count; i++) { @@ -104,6 +104,12 @@ private void OnInvest() { + if (vipModel.realRecharge < InvestModel.Instance.rechargeSumDict[InvestModel.foreverCardType]) + { + WindowJumpMgr.Instance.WindowJumpToEx("VipRechargeWin"); + return; + } + CA540_tagCMGoldInvest investGold = new CA540_tagCMGoldInvest(); investGold.InvestType = 12; GameNetSystem.Instance.SendInfo(investGold); -- Gitblit v1.8.0