From 4a4b25e11c83bd14cf3b25cba628bf930e4b9e0a Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Mon, 14 Aug 2023 14:52:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AB=9E=E6=8A=80=E5=9C=BA=E5=BC=B9=E5=87=BA?= =?UTF-8?q?=E7=A4=BC=E5=8C=85=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/common/bi_report.lua | 1 + lua/app/ui/main_city/component/main_comp.lua | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lua/app/common/bi_report.lua b/lua/app/common/bi_report.lua index 2c6b8ec2..cc975190 100644 --- a/lua/app/common/bi_report.lua +++ b/lua/app/common/bi_report.lua @@ -261,6 +261,7 @@ BIReport.PAY_UI_SHOW_TYPE = { TRIGGER_POP = "TriggerPop", CLICK_SHOW = "ClickShow", SHOP_SHOW = "ShopShow", + ENTER_SHOW = "EnterShow", } BIReport.BOX_OPEN_BOX_TYPE = { diff --git a/lua/app/ui/main_city/component/main_comp.lua b/lua/app/ui/main_city/component/main_comp.lua index c5ab5961..a7dc9e48 100644 --- a/lua/app/ui/main_city/component/main_comp.lua +++ b/lua/app/ui/main_city/component/main_comp.lua @@ -84,8 +84,11 @@ function MainComp:refreshModule(selectModule) end if self.curModuleType == GConst.MainCityConst.MAIN_MODULE.ARENA then - if DataManager.ArenaData:needShowPopGift() and DataManager.ArenaData:getGiftId() then - local showType = BIReport.PAY_UI_SHOW_TYPE.TRIGGER_POP + if DataManager.ArenaData:getGiftId() then + local showType = BIReport.PAY_UI_SHOW_TYPE.ENTER_SHOW + if DataManager.ArenaData:needShowPopGift() then + showType = BIReport.PAY_UI_SHOW_TYPE.TRIGGER_POP + end local mainUI = UIManager:getUIByIndex(UIManager.UI_PATH.MAINCITY_UI) if mainUI and mainUI.isFirstEnter then showType = BIReport.PAY_UI_SHOW_TYPE.LOGIN_POP