bug修改
This commit is contained in:
@@ -1660,6 +1660,7 @@ namespace BingoBrain
|
|||||||
public static bool isRDExchangeMode()
|
public static bool isRDExchangeMode()
|
||||||
{
|
{
|
||||||
// return false;//zhushi
|
// return false;//zhushi
|
||||||
|
return true;//zhushi
|
||||||
return SaveData.GetSaveobject().ExchangeModeToggle == 1;
|
return SaveData.GetSaveobject().ExchangeModeToggle == 1;
|
||||||
}
|
}
|
||||||
public static string getDesByKey(string key)
|
public static string getDesByKey(string key)
|
||||||
@@ -1686,7 +1687,7 @@ namespace BingoBrain
|
|||||||
if (GameHelper.isRDExchangeMode())
|
if (GameHelper.isRDExchangeMode())
|
||||||
{
|
{
|
||||||
string str = "<img src='ui://pmf3wbji112epi7'/>";
|
string str = "<img src='ui://pmf3wbji112epi7'/>";
|
||||||
return str + $" {ch:N0}";
|
return str + $" {ch:N}";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ using BingoBrain.Core;
|
|||||||
using BingoBrain.HotFix;
|
using BingoBrain.HotFix;
|
||||||
using FGUI.JBingoPlay;
|
using FGUI.JBingoPlay;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using DontConfuse;
|
||||||
|
|
||||||
namespace BingoBrain
|
namespace BingoBrain
|
||||||
{
|
{
|
||||||
@@ -51,6 +52,7 @@ namespace BingoBrain
|
|||||||
ui?.fx_show.Stop();
|
ui?.fx_show.Stop();
|
||||||
OnClearTween();
|
OnClearTween();
|
||||||
});
|
});
|
||||||
|
WebviewManager.Instance.SetDarkThough(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnBind()
|
protected override void OnBind()
|
||||||
@@ -77,6 +79,7 @@ namespace BingoBrain
|
|||||||
|
|
||||||
protected override void OnOpenBefore(object args)
|
protected override void OnOpenBefore(object args)
|
||||||
{
|
{
|
||||||
|
WebviewManager.Instance.SetDarkThough(false);
|
||||||
InitView();
|
InitView();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -203,6 +203,7 @@ namespace BingoBrain
|
|||||||
{
|
{
|
||||||
ui.btn_wb.visible = true;
|
ui.btn_wb.visible = true;
|
||||||
}
|
}
|
||||||
|
if (GameHelper.GetCommonModel().PiggyBankSwitch != 1) ui.btn_saveingpot.visible = false;
|
||||||
Debug.Log(JsonConvert.SerializeObject(GameHelper.GetConfig<AdRewardModel>().dataList));
|
Debug.Log(JsonConvert.SerializeObject(GameHelper.GetConfig<AdRewardModel>().dataList));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -156,7 +156,8 @@ namespace BingoBrain
|
|||||||
|
|
||||||
private void OnClickTab(int tabIndex)
|
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 == 0 ? SkinInfo.BingoHallUI_Open : SkinInfo.BingoHallUI_Close);
|
||||||
UICtrlDispatcher.Instance.Dispatch(tabIndex == 2 ? SkinInfo.BasptUI_Open : SkinInfo.BasptUI_Close);
|
UICtrlDispatcher.Instance.Dispatch(tabIndex == 2 ? SkinInfo.BasptUI_Open : SkinInfo.BasptUI_Close);
|
||||||
UICtrlDispatcher.Instance.Dispatch(tabIndex == 3 ? SkinInfo.H5UI_Open : SkinInfo.H5UI_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);
|
ui.text_condi1.text = GameHelper.getChString(vo.item_need);
|
||||||
Debug.Log(GameHelper.getChString(vo.item_need));
|
|
||||||
ui.pb_condi1.max = vo.item_need;
|
ui.pb_condi1.max = vo.item_need;
|
||||||
ui.text_ch_number.text = GameHelper.getChString(PreferencesMgr.Instance.Currency102);
|
ui.text_ch_number.text = GameHelper.getChString(PreferencesMgr.Instance.Currency102);
|
||||||
var curValue = Math.Min(PreferencesMgr.Instance.Currency102, vo.item_need);
|
var curValue = Math.Min(PreferencesMgr.Instance.Currency102, vo.item_need);
|
||||||
@@ -1025,6 +1024,14 @@ namespace BingoBrain
|
|||||||
makeupTaskData.rdData.Add(data);
|
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();
|
PreferencesMgr.Instance.SaveMakeupTaskHistory();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -541,6 +541,14 @@ namespace BingoBrain
|
|||||||
makeupTaskData.rdData.Add(data);
|
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();
|
PreferencesMgr.Instance.SaveMakeupTaskHistory();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user