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