From c8f57aebd556d3ddd7864940b4ecd75a4ebafd1b Mon Sep 17 00:00:00 2001 From: yangwen Date: Fri, 30 May 2025 15:27:11 +0800 Subject: [PATCH] set gray --- src/views/dc/DailyChallenge.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/dc/DailyChallenge.ts b/src/views/dc/DailyChallenge.ts index 657b13d..4edfed3 100644 --- a/src/views/dc/DailyChallenge.ts +++ b/src/views/dc/DailyChallenge.ts @@ -186,9 +186,11 @@ export class DailyChallenge extends Laya.Script { if (starCount >= info.dayCount) { this.bg_dc.skin = respath.dc_top_bg_month_finish this.trophy_light.visible = true + this.trophy_icon.gray = false } else { this.bg_dc.skin = respath.dc_top_bg_normal this.trophy_light.visible = false + this.trophy_icon.gray = true } this.label_year.text = info.year.toString() this.label_month.text = config.MONTH_FULLNAMES[info.month - 1]