Commit 0bb519c8 authored by liujiangnan's avatar liujiangnan

feat: 适配大小

parent 5b271f93
...@@ -435,8 +435,8 @@ ...@@ -435,8 +435,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-604.75, -615.405,
326.75, 334.563,
0, 0,
0, 0,
0, 0,
...@@ -539,9 +539,9 @@ ...@@ -539,9 +539,9 @@
"alignMode": 2, "alignMode": 2,
"_target": null, "_target": null,
"_alignFlags": 9, "_alignFlags": 9,
"_left": 14.5, "_left": 3.8450000000000273,
"_right": 0, "_right": 0,
"_top": 12.5, "_top": 4.687000000000012,
"_bottom": 0, "_bottom": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
...@@ -630,15 +630,15 @@ ...@@ -630,15 +630,15 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
465.177, 507.432,
325.829, 336.763,
0, 0,
0, 0,
0, 0,
0, 0,
1, 1,
0.7, 0.5,
0.7, 0.5,
1 1
] ]
}, },
...@@ -735,8 +735,8 @@ ...@@ -735,8 +735,8 @@
"_target": null, "_target": null,
"_alignFlags": 33, "_alignFlags": 33,
"_left": 20, "_left": 20,
"_right": 148.57299999999998, "_right": 113.81799999999993,
"_top": 8.271000000000015, "_top": 4.737000000000023,
"_bottom": 0, "_bottom": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
...@@ -810,8 +810,8 @@ ...@@ -810,8 +810,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 58.39, "width": 50.04,
"height": 52.92 "height": 45.36
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -822,8 +822,8 @@ ...@@ -822,8 +822,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
526.997, 560.574,
331.082, 337.56199999999995,
0, 0,
0, 0,
0, 0,
...@@ -864,8 +864,8 @@ ...@@ -864,8 +864,8 @@
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_string": "1/5", "_string": "1/5",
"_N$string": "1/5", "_N$string": "1/5",
"_fontSize": 42, "_fontSize": 36,
"_lineHeight": 42, "_lineHeight": 36,
"_enableWrapText": true, "_enableWrapText": true,
"_N$file": null, "_N$file": null,
"_isSystemFontUsed": true, "_isSystemFontUsed": true,
...@@ -892,8 +892,8 @@ ...@@ -892,8 +892,8 @@
"_target": null, "_target": null,
"_alignFlags": 33, "_alignFlags": 33,
"_left": 0, "_left": 0,
"_right": 83.80799999999999, "_right": 54.406000000000105,
"_top": 2.458000000000027, "_top": -0.24199999999999022,
"_bottom": 0, "_bottom": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
...@@ -950,15 +950,15 @@ ...@@ -950,15 +950,15 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
594.351, 614.81,
324.847, 336.96,
0, 0,
0, 0,
0, 0,
0, 0,
1, 1,
0.7, 0.5,
0.7, 0.5,
1 1
] ]
}, },
...@@ -1055,8 +1055,8 @@ ...@@ -1055,8 +1055,8 @@
"_target": null, "_target": null,
"_alignFlags": 33, "_alignFlags": 33,
"_left": 20, "_left": 20,
"_right": 19.399, "_right": 6.440000000000055,
"_top": 9.253000000000043, "_top": 4.5400000000000205,
"_bottom": 0, "_bottom": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
......
...@@ -160,7 +160,7 @@ export default class NewClass extends middleLayerBase { ...@@ -160,7 +160,7 @@ export default class NewClass extends middleLayerBase {
} else { } else {
cc.find('middleLayer/BtnRight').active = true; cc.find('middleLayer/BtnRight').active = true;
} }
}, 0.7); }, 0.5);
buttonOnClick(cc.find('middleLayer/BtnLeft'), () => { buttonOnClick(cc.find('middleLayer/BtnLeft'), () => {
if (this.isShowWaiting) { if (this.isShowWaiting) {
...@@ -177,7 +177,7 @@ export default class NewClass extends middleLayerBase { ...@@ -177,7 +177,7 @@ export default class NewClass extends middleLayerBase {
} else { } else {
cc.find('middleLayer/BtnRight').active = true; cc.find('middleLayer/BtnRight').active = true;
} }
}, 0.7); }, 0.5);
buttonOnClick(cc.find('middleLayer/activeLayer/active'), async () => { buttonOnClick(cc.find('middleLayer/activeLayer/active'), async () => {
if (this.isShowWaiting) { if (this.isShowWaiting) {
......
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