瀏覽代碼

活动商店不跳转

zhaoyang 3 年之前
父節點
當前提交
069bbc5c15
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      GameClient/Assets/Game/HotUpdate/Views/CommonGame/ApproachOfItemView.cs

+ 5 - 0
GameClient/Assets/Game/HotUpdate/Views/CommonGame/ApproachOfItemView.cs

@@ -137,6 +137,11 @@ namespace GFGGame
                     object[] temp = viewData as object[];
                     int count = temp.Length > 2 ? (int)temp[2] : 0;
                     int shopId = int.Parse(infos[1]);
+                    if (shopId == ConstStoreId.LUCKY_BOX_ACTIVITY_STORE_ID)
+                    {
+                        PromptController.Instance.ShowFloatTextPrompt("活动暂未开启");
+                        break;
+                    }
                     isJump = ViewManager.Show(ViewName.CLOTHING_SHOP_VIEW, new object[] { shopId, null, _itemId, count }, _fromeViewDatas, true, true);
                     break;
                 case ConstFunctionId.FU_ZHUANG_DECOMPOSE: