【成就】点击任务,没有自动选择有红点的页签
parent
ed758d3a37
commit
e5bccae20b
|
@ -234,7 +234,7 @@ function FightPointPassMainPanel:BindEvent()
|
|||
-- 日常任务
|
||||
Util.AddClick(this.btnDailyMission, function ()
|
||||
FightPointPassManager.isBeginFight = true
|
||||
UIManager.OpenPanel(UIName.MissionDailyPanel,1)
|
||||
UIManager.OpenPanel(UIName.MissionDailyPanel)
|
||||
end)
|
||||
|
||||
-- 关卡排行
|
||||
|
|
|
@ -80,7 +80,7 @@ function MissionDailyPanel:OnOpen(popupType,...)
|
|||
if RedPointManager.GetRedPointMissionDaily() then
|
||||
index = 1
|
||||
type = 0
|
||||
elseif ActivityGiftManager.GetActivityOpenStatus(ActivityTypeDef.TreasureOfSomeBody) then
|
||||
elseif ActivityGiftManager.GetActivityOpenStatus(ActivityTypeDef.TreasureOfSomeBody) and ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.SUNLONG) then
|
||||
if QinglongSerectTreasureManager.GetQinglongSerectTreasureRedPot() then
|
||||
index = 2
|
||||
type = 1
|
||||
|
@ -96,7 +96,6 @@ function MissionDailyPanel:OnOpen(popupType,...)
|
|||
for i=1,#contentPrefabs do
|
||||
contentPrefabs[i].gameObject:SetActive(false)
|
||||
end
|
||||
LogGreen("index:"..index.." type:"..type)
|
||||
if index ~=1 and type == 0 then
|
||||
index = 4
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue