竞技场弹出礼包界面

This commit is contained in:
xiekaidong 2023-08-14 14:52:38 +08:00
parent e7aa9dcb1b
commit 4a4b25e11c
2 changed files with 6 additions and 2 deletions

View File

@ -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 = {

View File

@ -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