fix: 修复bug

This commit is contained in:
barry
2026-07-09 16:37:31 +08:00
parent 7003140acc
commit f2586d11a6
19 changed files with 19013 additions and 19002 deletions
+2 -1
View File
@@ -486,7 +486,8 @@ namespace RedHotRoast
ui.btn_vip.SetClick(onClickVip);
WebviewManager.Instance.SetDarkThough(true);
ui.btn_wv.visible = GameHelper.IsGiftSwitch();
ui.btn_wv.SetClick(() =>
{
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.H5UI_Open);
@@ -442,6 +442,7 @@ namespace RedHotRoast
ui.btn_back.SetClick(BackFunc);
ui.btn_refresh.SetClick(RefreshFunc);
ui.btn_wv.visible = GameHelper.IsGiftSwitch();
ui.btn_wv.SetClick(() =>
{
@@ -252,7 +252,8 @@ namespace RedHotRoast
item.discount.visible = !GameHelper.IsAdModelOfPay() && list[index].Discount_rate > 0;
if (list[index].Discount_rate != 0) item.off_text.text = list[index].Discount_rate + "%";
Debug.Log($"GameHelper.IsAdModelOfPay()====={GameHelper.IsAdModelOfPay()}");
if (time + list[index].receive_CD < GameHelper.GetNowTime())
{
item.btn_buy.can_buy.selectedIndex = 0;