perf: 优化图片比例

This commit is contained in:
richarjiang
2026-05-07 10:24:21 +08:00
parent 106da584e8
commit 7500e33c76

View File

@@ -290,7 +290,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 872.21, "y": 922.9949999999999,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -567,7 +567,7 @@
"_target": null, "_target": null,
"_left": 0, "_left": 0,
"_right": 0, "_right": 0,
"_top": 135.33999999999992, "_top": 84.55500000000006,
"_bottom": 0, "_bottom": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
@@ -637,7 +637,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 217.78300000000002, "y": 259.92,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -694,7 +694,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 353.053, "y": 391.139,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -784,8 +784,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 900, "width": 907,
"height": 430 "height": 510
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -877,7 +877,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -288.073, "y": -326.168,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -917,8 +917,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 320, "width": 280,
"height": 100.8 "height": 88.2
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -956,10 +956,10 @@
"_string": "这是西瓜", "_string": "这是西瓜",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 80, "_actualFontSize": 70,
"_fontSize": 80, "_fontSize": 70,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_lineHeight": 80, "_lineHeight": 70,
"_overflow": 0, "_overflow": 0,
"_enableWrapText": true, "_enableWrapText": true,
"_font": { "_font": {
@@ -1029,8 +1029,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 900, "width": 930,
"height": 450 "height": 550
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -1165,7 +1165,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 800, "width": 900,
"height": 6 "height": 6
}, },
"_anchorPoint": { "_anchorPoint": {
@@ -1268,7 +1268,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -253.15, "y": -295.176,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -1358,8 +1358,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 900, "width": 907,
"height": 430 "height": 510
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -1451,7 +1451,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -283.973, "y": -322.065,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -1491,8 +1491,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 320, "width": 280,
"height": 100.8 "height": 88.2
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -1530,10 +1530,10 @@
"_string": "这是西瓜", "_string": "这是西瓜",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 80, "_actualFontSize": 70,
"_fontSize": 80, "_fontSize": 70,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_lineHeight": 80, "_lineHeight": 70,
"_overflow": 0, "_overflow": 0,
"_enableWrapText": true, "_enableWrapText": true,
"_font": { "_font": {
@@ -1603,8 +1603,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 900, "width": 930,
"height": 450 "height": 550
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -1689,8 +1689,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1000, "width": 1100,
"height": 1250 "height": 1400
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -1719,7 +1719,7 @@
"_target": null, "_target": null,
"_left": 0, "_left": 0,
"_right": 0, "_right": 0,
"_top": 424.717, "_top": 330.08000000000004,
"_bottom": 0, "_bottom": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
@@ -2065,7 +2065,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": -406.853, "x": -406.853,
"y": 723.199, "y": 811.433,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -2569,7 +2569,7 @@
"_target": null, "_target": null,
"_left": 83.14699999999999, "_left": 83.14699999999999,
"_right": 0, "_right": 0,
"_top": 306.80100000000004, "_top": 218.567,
"_bottom": 0, "_bottom": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
@@ -2636,7 +2636,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 303.639, "x": 303.639,
"y": 723.257, "y": 811.491,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -3140,7 +3140,7 @@
"_target": null, "_target": null,
"_left": 0, "_left": 0,
"_right": 186.361, "_right": 186.361,
"_top": 306.74300000000005, "_top": 218.50900000000001,
"_bottom": 0, "_bottom": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
@@ -3210,7 +3210,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": -33.411, "x": -33.411,
"y": -660.724, "y": -693.156,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -4498,7 +4498,7 @@
"_left": 106.589, "_left": 106.589,
"_right": 173.411, "_right": 173.411,
"_top": 0, "_top": 0,
"_bottom": 249.27599999999995, "_bottom": 216.84400000000005,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
"_isAbsLeft": true, "_isAbsLeft": true,
@@ -6453,8 +6453,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 2.1357000000000426, "x": 2.136,
"y": -295.0580000000001, "y": -316.679,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -7660,7 +7660,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -372.1350000000001, "y": -391.053,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {