Merge branch 'china/dev-c' of http://60.1.1.230/gaoxin/JL_Client into china/dev-c
commit
8bdda8e1a8
|
|
@ -249,7 +249,6 @@ function EndLessMapView:BindEvent()
|
|||
end)
|
||||
end,1)
|
||||
end)
|
||||
BindRedPointObject(RedPointType.wujinMission,this.btnNoteRed)
|
||||
Util.AddClick(this.btnNote, function ()
|
||||
if this.curMission.state == 1 then
|
||||
NetManager.TakeMissionRewardRequest(TaskTypeDef.wujinfuben,this.curMission.Id,function(msg)
|
||||
|
|
@ -426,6 +425,7 @@ function EndLessMapView:RefreshTargetRoote()
|
|||
-- 0 "已领取"
|
||||
-- 1 "领取"
|
||||
-- 2 "前往"
|
||||
this.btnNoteRed.gameObject:SetActive(false)
|
||||
this.curMission = EndLessMapManager.GetRewardData()
|
||||
if this.curMission.state == 2 then
|
||||
this.TargetBtn1.gameObject:SetActive(true) --未完成
|
||||
|
|
@ -437,6 +437,7 @@ function EndLessMapView:RefreshTargetRoote()
|
|||
if this.curMission.index == #EndLessMapManager.mission and this.curMission.state == 0 then
|
||||
this.TargetRootText.text = "已完成全部任务"
|
||||
else
|
||||
this.btnNoteRed.gameObject:SetActive(true)
|
||||
this.TargetRootText.text = string.format("%s<color=#55c688>(%s/%s)</color>",this.curMission.Desc,this.curMission.value,this.curMission.value)
|
||||
end
|
||||
end
|
||||
|
|
@ -749,7 +750,6 @@ function EndLessMapView:OnClose()
|
|||
Util.ClearChild(this.selectHeroGrid.transform)
|
||||
ClearRedPointObject(RedPointType.wujinBianDui,this.btnFormatRed)
|
||||
ClearRedPointObject(RedPointType.wujinTreasure,this.endLessTreasureRed)
|
||||
ClearRedPointObject(RedPointType.wujinMission,this.btnNoteRed)
|
||||
this.heroList = {}
|
||||
this.isPanelClose = true
|
||||
EndLessMapManager.isUpdateOnClose = false
|
||||
|
|
|
|||
Loading…
Reference in New Issue