样式调整(天赋道具预制件): 调整天赋道具UI的布局与显示样式

修改道具节点尺寸为125x125,更换精灵素材与图集,优化各文本控件的显示参数
This commit is contained in:
walkpan
2026-05-11 22:27:52 +08:00
parent 5220f5e075
commit 92db480baf

View File

@@ -885,8 +885,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 110, "width": 125,
"height": 110 "height": 125
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -922,7 +922,7 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@bf1f8", "__uuid__": "031877cb-0f3d-4e92-bc5d-e492a0d95a08@f8e94",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,
@@ -937,7 +937,10 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_useGrayscale": false, "_useGrayscale": false,
"_atlas": null, "_atlas": {
"__uuid__": "031877cb-0f3d-4e92-bc5d-e492a0d95a08",
"__expectedType__": "cc.SpriteAtlas"
},
"_id": "" "_id": ""
}, },
{ {
@@ -1781,7 +1784,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 59.620000000000005, "y": 50.321,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -1860,8 +1863,8 @@
"_string": "是个字长", "_string": "是个字长",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 20, "_actualFontSize": 25,
"_fontSize": 20, "_fontSize": 25,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_lineHeight": 40, "_lineHeight": 40,
"_overflow": 2, "_overflow": 2,
@@ -1940,7 +1943,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -44.741, "y": -49.504,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -1980,8 +1983,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 100, "width": 75.8515625,
"height": 40 "height": 71
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -2019,11 +2022,11 @@
"_string": "+10", "_string": "+10",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 25, "_actualFontSize": 40,
"_fontSize": 25, "_fontSize": 40,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_lineHeight": 40, "_lineHeight": 50,
"_overflow": 2, "_overflow": 0,
"_enableWrapText": true, "_enableWrapText": true,
"_font": null, "_font": null,
"_isSystemFontUsed": true, "_isSystemFontUsed": true,
@@ -2041,7 +2044,7 @@
"b": 0, "b": 0,
"a": 255 "a": 255
}, },
"_outlineWidth": 2, "_outlineWidth": 4,
"_enableShadow": false, "_enableShadow": false,
"_shadowColor": { "_shadowColor": {
"__type__": "cc.Color", "__type__": "cc.Color",
@@ -2098,7 +2101,7 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": -5.241, "x": 0,
"y": 94.777, "y": 94.777,
"z": 0 "z": 0
}, },
@@ -2139,7 +2142,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 55.123046875, "width": 67.90380859375,
"height": 54.4 "height": 54.4
}, },
"_anchorPoint": { "_anchorPoint": {
@@ -2178,8 +2181,8 @@
"_string": "等级0", "_string": "等级0",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 20, "_actualFontSize": 25,
"_fontSize": 20, "_fontSize": 25,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_lineHeight": 40, "_lineHeight": 40,
"_overflow": 0, "_overflow": 0,
@@ -2636,8 +2639,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 20,
"y": -87.729, "y": -89.09,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -2689,8 +2692,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": -39.313046875, "x": -42.09380859375,
"y": -1.855, "y": 0,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -2852,7 +2855,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 37.369140625, "width": 42.9306640625,
"height": 54.4 "height": 54.4
}, },
"_anchorPoint": { "_anchorPoint": {
@@ -2891,8 +2894,8 @@
"_string": "10", "_string": "10",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 30, "_actualFontSize": 35,
"_fontSize": 30, "_fontSize": 35,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_lineHeight": 40, "_lineHeight": 40,
"_overflow": 0, "_overflow": 0,