PC-202302260912\Administrator 2024-11-13 14:31:41 +08:00
parent 8cdea0c7fd
commit 560050ddb2
2 changed files with 3 additions and 2 deletions

View File

@ -265,7 +265,7 @@ function FightPointPassMainPanel:InitComponent()
this.OpenSeverWelfareProgressText = Util.GetGameObject(this.OpenSeverWelfare, "progressBg/progress"):GetComponent( this.OpenSeverWelfareProgressText = Util.GetGameObject(this.OpenSeverWelfare, "progressBg/progress"):GetComponent(
"Text") "Text")
this.OpenSeverWelfareProgressImage = Util.GetGameObject(this.OpenSeverWelfare, "progressBg/progressImage") this.OpenSeverWelfareProgressImage = Util.GetGameObject(this.OpenSeverWelfare, "progressBg/progressImage")
:GetComponent("Image") :GetComponent("Slider")
this.OpenSeverWelfareTimeText = Util.GetGameObject(this.OpenSeverWelfare, "time"):GetComponent("Text") this.OpenSeverWelfareTimeText = Util.GetGameObject(this.OpenSeverWelfare, "time"):GetComponent("Text")
this.OpenSeverWelfareTimeText.gameObject:SetActive(false) this.OpenSeverWelfareTimeText.gameObject:SetActive(false)
this.OpenSeverWelfareInfoText = Util.GetGameObject(this.OpenSeverWelfare, "info"):GetComponent("Text") this.OpenSeverWelfareInfoText = Util.GetGameObject(this.OpenSeverWelfare, "info"):GetComponent("Text")
@ -1265,7 +1265,7 @@ function this.UpdateOpenSeverWelfare()
end end
curPassLevelSortId = curPassLevelSortId >= getRewardLevelSortId and getRewardLevelSortId or curPassLevelSortId curPassLevelSortId = curPassLevelSortId >= getRewardLevelSortId and getRewardLevelSortId or curPassLevelSortId
this.OpenSeverWelfareProgressText.text = curPassLevelSortId .. "/" .. getRewardLevelSortId this.OpenSeverWelfareProgressText.text = curPassLevelSortId .. "/" .. getRewardLevelSortId
this.OpenSeverWelfareProgressImage.fillAmount = curPassLevelSortId / getRewardLevelSortId this.OpenSeverWelfareProgressImage.value = curPassLevelSortId / getRewardLevelSortId
this.OpenSeverWelfareInfoText.text = GetLanguageStrById(curMissionConfig.ContentsShow) this.OpenSeverWelfareInfoText.text = GetLanguageStrById(curMissionConfig.ContentsShow)
--this.RemainTimeDown(this.btnOpenSeverWelfare,this.OpenSeverWelfareTimeText,activityData.endTime - GetTimeStamp()) --this.RemainTimeDown(this.btnOpenSeverWelfare,this.OpenSeverWelfareTimeText,activityData.endTime - GetTimeStamp())
else else

View File

@ -1703,6 +1703,7 @@ function this:OnClose()
end end
function this:Dispose() function this:Dispose()
LogError("rrrrrrrrrrrrrrrrrrrrrrrrrrrr")
isFindEnemy = false isFindEnemy = false
isPlay = false isPlay = false
this:ClearDelayFunc() this:ClearDelayFunc()