Commit 5720e732 authored by haiyoucuv's avatar haiyoucuv

整理一下代码1

parent dc7de0ba
...@@ -353,7 +353,7 @@ export class ChangeEquipPanel extends Panel { ...@@ -353,7 +353,7 @@ export class ChangeEquipPanel extends Panel {
if (taskCode == "bank_2201") { if (taskCode == "bank_2201") {
const descObj = taskData.desc ? JSON.parse(taskData.desc) : {}; const descObj = taskData.desc ? JSON.parse(taskData.desc) : {};
const t = descObj?.progressAmount || 0; const t = descObj?.progressAmount || 0;
this.taskBox.getChildByName("Progress").getComponent(Label).string = `累计已提升金额${t}`; this.taskBox.getChildByName("Progress").getComponent(Label).string = `7月月日均资产已提升${t}`;
} else { } else {
this.taskBox.getChildByName("Progress").getComponent(Label).string = `完成 ${completedSize}/${intervalLimitSize}`; this.taskBox.getChildByName("Progress").getComponent(Label).string = `完成 ${completedSize}/${intervalLimitSize}`;
} }
......
...@@ -60,7 +60,7 @@ export class TaskItem extends ScrollListItem { ...@@ -60,7 +60,7 @@ export class TaskItem extends ScrollListItem {
const descObj = desc ? JSON.parse(desc) : {}; const descObj = desc ? JSON.parse(desc) : {};
const t = descObj?.progressAmount || 0; const t = descObj?.progressAmount || 0;
this.title.string = strFormat(`${title}(${completedSize}/${intervalLimitSize})`, 30); this.title.string = strFormat(`${title}(${completedSize}/${intervalLimitSize})`, 30);
this.subTitle.string = strFormat(`累计已提升金额${t}元`, 38); this.subTitle.string = strFormat(`较7月月日均资产已提升${t}元`, 38);
} else { } else {
this.title.string = strFormat(title, 24); this.title.string = strFormat(title, 24);
this.subTitle.string = strFormat(subTitle, 38); this.subTitle.string = strFormat(subTitle, 38);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment