Commit 3500d4fb authored by haiyoucuv's avatar haiyoucuv

整理一下代码

parent 51ad6333
...@@ -57,7 +57,7 @@ export class TaskItem extends ScrollListItem { ...@@ -57,7 +57,7 @@ export class TaskItem extends ScrollListItem {
} else if (code === "bank_2202") { } else if (code === "bank_2202") {
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}(${~~(t / 1000)}/${intervalLimitSize})`, 30); this.title.string = strFormat(`${title}(${completedSize}/${intervalLimitSize})`, 30);
this.subTitle.string = strFormat(`累计已提升金额:${t}元`, 38); this.subTitle.string = strFormat(`累计已提升金额:${t}元`, 38);
} else { } else {
this.title.string = strFormat(title, 24); this.title.string = strFormat(title, 24);
......
...@@ -4,6 +4,21 @@ ...@@ -4,6 +4,21 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>套圈挑战赛</title> <title>套圈挑战赛</title>
<script id="monitorjs" src="//yun.duiba.com.cn/woodpecker/sdk/0.0.36/woodpecker_outer.js" ></script>
<script id="registerMonitor">
// 烽火台注入前端监控脚本,请勿修改
try {
woodpecker.setConfig({
projectId: "p7bdf2f84",
developer: [
"fa17c4667c62b5ba014f382c0802a462"
],
});
} catch (e) {
console.error(e);
}
</script>
<!--http://www.html5rocks.com/en/mobile/mobifying/--> <!--http://www.html5rocks.com/en/mobile/mobifying/-->
<meta name="viewport" <meta name="viewport"
......
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