测试模式非本月10号通关之后即可获得奖杯

This commit is contained in:
2025-06-04 10:28:16 +08:00
parent 4c7d4b15ce
commit 81977188a2
4 changed files with 26 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ export class Home extends Laya.Script {
const find = G_getMonthInfo(nowYear, nowMonth)
if (find) {
this.icon_dc.skin = find.icon_res
if (user.get_doneCountByDate(nowYear, nowMonth) >= find.dayCount) {
if (user.get_trophyRecord(nowYear, nowMonth)) {
this.bg_dc.skin = respath.home_top_dc_bg_finish
this.label_dc_title.color = "#ffffff"
this.label_dc_date.color = "#ffffff"