diff --git a/assets/atlas/images/bg_dc_top1.png b/assets/atlas/images/bg_dc_top1.png index e42b41f..7194150 100644 Binary files a/assets/atlas/images/bg_dc_top1.png and b/assets/atlas/images/bg_dc_top1.png differ diff --git a/assets/atlas/images/bg_dc_top2.png b/assets/atlas/images/bg_dc_top2.png index a84f464..f8cef1d 100644 Binary files a/assets/atlas/images/bg_dc_top2.png and b/assets/atlas/images/bg_dc_top2.png differ diff --git a/assets/atlas/images/img_dc_bg1.png b/assets/atlas/images/img_dc_bg1.png deleted file mode 100644 index 8f1ad81..0000000 Binary files a/assets/atlas/images/img_dc_bg1.png and /dev/null differ diff --git a/assets/atlas/images/img_dc_bg1.png.meta b/assets/atlas/images/img_dc_bg1.png.meta deleted file mode 100644 index 2bb01fc..0000000 --- a/assets/atlas/images/img_dc_bg1.png.meta +++ /dev/null @@ -1,6 +0,0 @@ -{ - "uuid": "56e0b9d3-d4ea-4e9d-9052-b67612598495", - "importer": { - "textureType": 2 - } -} \ No newline at end of file diff --git a/src/constants/respath.ts b/src/constants/respath.ts index 62311d4..d90be2c 100644 --- a/src/constants/respath.ts +++ b/src/constants/respath.ts @@ -22,8 +22,7 @@ export const respath = { home_top_dc_bg_normal: "atlas/images/bg_dc_top1.png", home_top_dc_bg_finish: "atlas/images/bg_dc_top2.png", - dc_top_bg_normal: "atlas/images/img_dc_bg1.png", - dc_top_bg_day_finish: "atlas/images/img_dc_bg2.png", + dc_top_bg_normal: "atlas/images/img_dc_bg2.png", dc_top_bg_month_finish: "atlas/images/img_dc_finished.png", diff --git a/src/views/DailyChallenge.ts b/src/views/DailyChallenge.ts index bacc388..b0ae586 100644 --- a/src/views/DailyChallenge.ts +++ b/src/views/DailyChallenge.ts @@ -166,20 +166,7 @@ export class DailyChallenge extends Laya.Script { this.bg_dc.skin = respath.dc_top_bg_month_finish } else { - if (info.year == nowYear && info.month == nowMonth) {//当前月份 - var stageID = `${info.year}-${info.month}-${nowDay}` - var progress = user.get_done(stageID) - console.log("progress >>>>>>>>>>>>>", stageID, progress) - if (progress >= 1) { - this.bg_dc.skin = respath.dc_top_bg_day_finish - } - else { - this.bg_dc.skin = respath.dc_top_bg_normal - } - } - else { - this.bg_dc.skin = respath.dc_top_bg_normal - } + this.bg_dc.skin = respath.dc_top_bg_normal } this.label_year.text = info.year.toString() this.label_month.text = config.MONTH_FULLNAMES[info.month-1]