竞技场弹出礼包界面
This commit is contained in:
parent
e7aa9dcb1b
commit
4a4b25e11c
@ -261,6 +261,7 @@ BIReport.PAY_UI_SHOW_TYPE = {
|
|||||||
TRIGGER_POP = "TriggerPop",
|
TRIGGER_POP = "TriggerPop",
|
||||||
CLICK_SHOW = "ClickShow",
|
CLICK_SHOW = "ClickShow",
|
||||||
SHOP_SHOW = "ShopShow",
|
SHOP_SHOW = "ShopShow",
|
||||||
|
ENTER_SHOW = "EnterShow",
|
||||||
}
|
}
|
||||||
|
|
||||||
BIReport.BOX_OPEN_BOX_TYPE = {
|
BIReport.BOX_OPEN_BOX_TYPE = {
|
||||||
|
|||||||
@ -84,8 +84,11 @@ function MainComp:refreshModule(selectModule)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if self.curModuleType == GConst.MainCityConst.MAIN_MODULE.ARENA then
|
if self.curModuleType == GConst.MainCityConst.MAIN_MODULE.ARENA then
|
||||||
if DataManager.ArenaData:needShowPopGift() and DataManager.ArenaData:getGiftId() then
|
if DataManager.ArenaData:getGiftId() then
|
||||||
local showType = BIReport.PAY_UI_SHOW_TYPE.TRIGGER_POP
|
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)
|
local mainUI = UIManager:getUIByIndex(UIManager.UI_PATH.MAINCITY_UI)
|
||||||
if mainUI and mainUI.isFirstEnter then
|
if mainUI and mainUI.isFirstEnter then
|
||||||
showType = BIReport.PAY_UI_SHOW_TYPE.LOGIN_POP
|
showType = BIReport.PAY_UI_SHOW_TYPE.LOGIN_POP
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user