bug修改

This commit is contained in:
2026-06-02 15:47:38 +08:00
parent 97610ede05
commit 9a93ae4b19
9 changed files with 30 additions and 9 deletions
+2 -1
View File
@@ -1660,6 +1660,7 @@ namespace BingoBrain
public static bool isRDExchangeMode()
{
// return false;//zhushi
return true;//zhushi
return SaveData.GetSaveobject().ExchangeModeToggle == 1;
}
public static string getDesByKey(string key)
@@ -1686,7 +1687,7 @@ namespace BingoBrain
if (GameHelper.isRDExchangeMode())
{
string str = "<img src='ui://pmf3wbji112epi7'/>";
return str + $" {ch:N0}";
return str + $" {ch:N}";
}
else
{
@@ -5,6 +5,7 @@ using BingoBrain.Core;
using BingoBrain.HotFix;
using FGUI.JBingoPlay;
using System.Collections.Generic;
using DontConfuse;
namespace BingoBrain
{
@@ -51,6 +52,7 @@ namespace BingoBrain
ui?.fx_show.Stop();
OnClearTween();
});
WebviewManager.Instance.SetDarkThough(true);
}
protected override void OnBind()
@@ -77,6 +79,7 @@ namespace BingoBrain
protected override void OnOpenBefore(object args)
{
WebviewManager.Instance.SetDarkThough(false);
InitView();
}
@@ -203,6 +203,7 @@ namespace BingoBrain
{
ui.btn_wb.visible = true;
}
if (GameHelper.GetCommonModel().PiggyBankSwitch != 1) ui.btn_saveingpot.visible = false;
Debug.Log(JsonConvert.SerializeObject(GameHelper.GetConfig<AdRewardModel>().dataList));
}
@@ -156,7 +156,8 @@ namespace BingoBrain
private void OnClickTab(int tabIndex)
{
UICtrlDispatcher.Instance.Dispatch(tabIndex == 1 ? SkinInfo.ExchangeUI_Open : SkinInfo.ExchangeUI_Close);
if (GameHelper.IsGiftSwitch()) UICtrlDispatcher.Instance.Dispatch(tabIndex == 1 ? SkinInfo.ExchangeUI_Open : SkinInfo.ExchangeUI_Close);
else UICtrlDispatcher.Instance.Dispatch(tabIndex == 1 ? SkinInfo.JMallUI_Open : SkinInfo.JMallUI_Close);
UICtrlDispatcher.Instance.Dispatch(tabIndex == 0 ? SkinInfo.BingoHallUI_Open : SkinInfo.BingoHallUI_Close);
UICtrlDispatcher.Instance.Dispatch(tabIndex == 2 ? SkinInfo.BasptUI_Open : SkinInfo.BasptUI_Close);
UICtrlDispatcher.Instance.Dispatch(tabIndex == 3 ? SkinInfo.H5UI_Open : SkinInfo.H5UI_Close);
@@ -626,7 +626,6 @@ namespace BingoBrain
}
ui.text_condi1.text = GameHelper.getChString(vo.item_need);
Debug.Log(GameHelper.getChString(vo.item_need));
ui.pb_condi1.max = vo.item_need;
ui.text_ch_number.text = GameHelper.getChString(PreferencesMgr.Instance.Currency102);
var curValue = Math.Min(PreferencesMgr.Instance.Currency102, vo.item_need);
@@ -1025,6 +1024,14 @@ namespace BingoBrain
makeupTaskData.rdData.Add(data);
}
}
if (remainValue > 0)
{
makeupRdData data = new makeupRdData();
data.code = GameHelper.GenerateUniqueKey();
data.coupon_mount = remainValue; // 面额就是剩余值
data.isClaimed = false;
makeupTaskData.rdData.Add(data);
}
PreferencesMgr.Instance.SaveMakeupTaskHistory();
}
@@ -541,6 +541,14 @@ namespace BingoBrain
makeupTaskData.rdData.Add(data);
}
}
if (remainValue > 0)
{
SaveingPotRdData data = new SaveingPotRdData();
data.code = GameHelper.GenerateUniqueKey();
data.coupon_mount = remainValue; // 面额就是剩余值
data.isClaimed = false;
makeupTaskData.rdData.Add(data);
}
PreferencesMgr.Instance.SaveMakeupTaskHistory();
}
Binary file not shown.
Binary file not shown.
Binary file not shown.