This commit is contained in:
2025-05-30 15:27:11 +08:00
parent 009cafe5fe
commit c8f57aebd5

View File

@@ -186,9 +186,11 @@ export class DailyChallenge extends Laya.Script {
if (starCount >= info.dayCount) { if (starCount >= info.dayCount) {
this.bg_dc.skin = respath.dc_top_bg_month_finish this.bg_dc.skin = respath.dc_top_bg_month_finish
this.trophy_light.visible = true this.trophy_light.visible = true
this.trophy_icon.gray = false
} else { } else {
this.bg_dc.skin = respath.dc_top_bg_normal this.bg_dc.skin = respath.dc_top_bg_normal
this.trophy_light.visible = false this.trophy_light.visible = false
this.trophy_icon.gray = true
} }
this.label_year.text = info.year.toString() this.label_year.text = info.year.toString()
this.label_month.text = config.MONTH_FULLNAMES[info.month - 1] this.label_month.text = config.MONTH_FULLNAMES[info.month - 1]