fix: 修复bug
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user