Browse Source

领取周礼包提示

zhaoyang 2 years ago
parent
commit
b2bdf25a1e

+ 5 - 1
GameClient/Assets/Game/HotUpdate/Views/Store/StoreChargeAddUpView.cs

@@ -226,7 +226,11 @@ namespace GFGGame
                 PromptController.Instance.ShowFloatTextPrompt("会员等级不足");
                 return;
             }
-            ShopSProxy.ReqGetVipWeekGiftBag(vipLv).Coroutine();
+            AlertUI.Show("提升VIP等级能领取更高级的礼包,是否继续领取当前等级的VIP礼包?", "(该礼包每周只能领取1次)")
+             .SetLeftButton(true, "否").SetRightButton(true, "是", async (object data) =>
+             {
+                 ShopSProxy.ReqGetVipWeekGiftBag(vipLv).Coroutine();
+             });
         }
         private void OnBtnLeftClick()
         {