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

feat: 任务样式调整

parent 14584f96
...@@ -275,7 +275,7 @@ ...@@ -275,7 +275,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 180, "width": 156,
"height": 50.4 "height": 50.4
}, },
"_anchorPoint": { "_anchorPoint": {
...@@ -314,8 +314,8 @@ ...@@ -314,8 +314,8 @@
"_string": "邀请好友助力", "_string": "邀请好友助力",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 30, "_actualFontSize": 26,
"_fontSize": 30, "_fontSize": 26,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_lineHeight": 40, "_lineHeight": 40,
"_overflow": 0, "_overflow": 0,
...@@ -539,7 +539,7 @@ ...@@ -539,7 +539,7 @@
"_string": "<b>游戏机会<color=#e63323><size=28>+0</size></color></b>", "_string": "<b>游戏机会<color=#e63323><size=28>+0</size></color></b>",
"_horizontalAlign": 0, "_horizontalAlign": 0,
"_verticalAlign": 1, "_verticalAlign": 1,
"_fontSize": 24, "_fontSize": 23,
"_fontColor": { "_fontColor": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 161, "r": 161,
...@@ -607,7 +607,7 @@ ...@@ -607,7 +607,7 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 237.242, "x": 255.62099999999998,
"y": 0.5799999999999272, "y": 0.5799999999999272,
"z": 0 "z": 0
}, },
...@@ -673,9 +673,9 @@ ...@@ -673,9 +673,9 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 1, "x": 0.8,
"y": 1, "y": 0.8,
"z": 1 "z": 0.8
}, },
"_mobility": 0, "_mobility": 0,
"_layer": 33554432, "_layer": 33554432,
...@@ -868,9 +868,9 @@ ...@@ -868,9 +868,9 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 1, "x": 0.8,
"y": 1, "y": 0.8,
"z": 1 "z": 0.8
}, },
"_mobility": 0, "_mobility": 0,
"_layer": 33554432, "_layer": 33554432,
...@@ -1063,9 +1063,9 @@ ...@@ -1063,9 +1063,9 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 1, "x": 0.8,
"y": 1, "y": 0.8,
"z": 1 "z": 0.8
}, },
"_mobility": 0, "_mobility": 0,
"_layer": 33554432, "_layer": 33554432,
...@@ -1233,7 +1233,7 @@ ...@@ -1233,7 +1233,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 195.00000000000006, "width": 117.24199999999996,
"height": 60 "height": 60
}, },
"_anchorPoint": { "_anchorPoint": {
...@@ -1261,8 +1261,8 @@ ...@@ -1261,8 +1261,8 @@
}, },
"_alignFlags": 40, "_alignFlags": 40,
"_target": null, "_target": null,
"_left": 497.74199999999996, "_left": 555,
"_right": 23.257999999999967, "_right": 43.758000000000024,
"_top": 0, "_top": 0,
"_bottom": 0, "_bottom": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
......
...@@ -50,7 +50,7 @@ export class TaskItem extends ScrollListItem { ...@@ -50,7 +50,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, 27); this.title.string = strFormat(titleStr, 34);
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;
......
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