Commit fc3569a5 authored by 俞嘉婷's avatar 俞嘉婷

feat: 任务标题副标题长度

parent 16ba3f5f
...@@ -473,7 +473,7 @@ ...@@ -473,7 +473,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 127.923828125, "width": 450,
"height": 37.8 "height": 37.8
}, },
"_anchorPoint": { "_anchorPoint": {
...@@ -502,7 +502,7 @@ ...@@ -502,7 +502,7 @@
"_alignFlags": 40, "_alignFlags": 40,
"_target": null, "_target": null,
"_left": 63, "_left": 63,
"_right": 525.076171875, "_right": 203,
"_top": 0, "_top": 0,
"_bottom": 0, "_bottom": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
...@@ -547,7 +547,7 @@ ...@@ -547,7 +547,7 @@
"b": 160, "b": 160,
"a": 255 "a": 255
}, },
"_maxWidth": 0, "_maxWidth": 450,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_font": null, "_font": null,
"_isSystemFontUsed": true, "_isSystemFontUsed": true,
......
...@@ -46,7 +46,7 @@ export class TaskItem extends ScrollListItem { ...@@ -46,7 +46,7 @@ export class TaskItem extends ScrollListItem {
const { taskStatus, title, subTitle, options, completedSize, intervalLimitSize } = data; const { taskStatus, title, subTitle, options, completedSize, intervalLimitSize } = data;
const titleStr = `${title}(${completedSize}/${intervalLimitSize})` const titleStr = `${title}(${completedSize}/${intervalLimitSize})`
this.title.string = strFormat(titleStr, 25); this.title.string = strFormat(titleStr, 27);
this.subTitle.string = `${subTitle || ''}<color=#e63323><b><size=28>+${options[0]?.sendCount || 0}</size></b></color>`; this.subTitle.string = `${subTitle || ''}<color=#e63323><b><size=28>+${options[0]?.sendCount || 0}</size></b></color>`;
this.doComplete.active = false; this.doComplete.active = false;
......
...@@ -106,12 +106,12 @@ ...@@ -106,12 +106,12 @@
} }
</style> </style>
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1735197746264/src/assets/plugin/zepto.min.js"></script> <script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1735568298656/src/assets/plugin/zepto.min.js"></script>
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1735197746264/src/assets/plugin/declare-process.js"></script> <script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1735568298656/src/assets/plugin/declare-process.js"></script>
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1735197746264/src/assets/plugin/SVGA.Lite.v2.1.1.js"></script> <script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1735568298656/src/assets/plugin/SVGA.Lite.v2.1.1.js"></script>
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1735197746264/src/assets/plugin/jszip.min.v3.10.1.js"></script> <script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1735568298656/src/assets/plugin/jszip.min.v3.10.1.js"></script>
<link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/1735197746264/style.css" /> <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/1735568298656/style.css" />
<link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/1735197746264/custom.css" /> <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/1735568298656/custom.css" />
<!-- <script src="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/libs/eruda.min.js"></script>--> <!-- <script src="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/libs/eruda.min.js"></script>-->
<!-- <script>eruda.init()</script>--> <!-- <script>eruda.init()</script>-->
...@@ -125,20 +125,20 @@ ...@@ -125,20 +125,20 @@
</div> </div>
<!-- Polyfills bundle. --> <!-- Polyfills bundle. -->
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1735197746264/src/polyfills.bundle.js" charset="utf-8"></script> <script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1735568298656/src/polyfills.bundle.js" charset="utf-8"></script>
<!-- SystemJS support. --> <!-- SystemJS support. -->
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1735197746264/src/system.bundle.js" charset="utf-8"></script> <script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1735568298656/src/system.bundle.js" charset="utf-8"></script>
<script src="https://yun.duiba.com.cn/aurora/assets/03cc8b25df7f900745f5db17effa0eccc2ae724e.js"></script> <script src="https://yun.duiba.com.cn/aurora/assets/03cc8b25df7f900745f5db17effa0eccc2ae724e.js"></script>
<!-- Import map --> <!-- Import map -->
<!--<script src="https://yun.duiba.com.cn/db_games/ccc_game/template3d/1735197746264/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>--> <!--<script src="https://yun.duiba.com.cn/db_games/ccc_game/template3d/1735568298656/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>-->
<script type="systemjs-importmap" charset="utf-8"> <script type="systemjs-importmap" charset="utf-8">
{"imports":{"cc":"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735197746264/cocos-js/cc.js"}} {"imports":{"cc":"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735568298656/cocos-js/cc.js"}}
</script> </script>
<script> <script>
System.import('//yun.duiba.com.cn/db_games/ccc_game/template3d/1735197746264/index.js').catch(function (err) { System.import('//yun.duiba.com.cn/db_games/ccc_game/template3d/1735568298656/index.js').catch(function (err) {
console.error(err); console.error(err);
}) })
</script> </script>
......
...@@ -152,9 +152,9 @@ ...@@ -152,9 +152,9 @@
"prizePendingCodeList": null, "prizePendingCodeList": null,
"ruleId": "spPrize@sp_join_cgbd_high@3", "ruleId": "spPrize@sp_join_cgbd_high@3",
"sendPrize": null, "sendPrize": null,
"subTitle": null, "subTitle": "可提升中奖概率,活动期间上限3次,每次游戏机会",
"taskStatus": 1, "taskStatus": 1,
"title": "单笔购买自营类理财产品,金额1万元-5万元" "title": "完成市民贷/市民e贷测额或用信1万元及以上"
}, },
{ {
"buttonText": null, "buttonText": null,
......
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