Commit d896137d authored by Li MingZhe's avatar Li MingZhe

feat: 状态按钮

parent d7f00111
......@@ -550,6 +550,9 @@ export class LrcEditorComponent implements OnInit, OnChanges, OnDestroy, AfterVi
});
}
saveUserData() {
this.checkNeedBack();
const result = [];
this.timePointData.forEach(p => {
const t = {...p};
......@@ -563,6 +566,11 @@ export class LrcEditorComponent implements OnInit, OnChanges, OnDestroy, AfterVi
this.editFinished.emit(this.LRCData);
// console.log(this.timePointData);
}
checkNeedBack() {
if (this.isScaleTimeLine) {
this.restoreTimeLine();
}
}
changePlaybackRate(val) {
this.audioObj.playbackRate = val;
}
......
......@@ -430,15 +430,21 @@ cc.Class({
} else {
btn.actionStatus = this.BUTTON_STATUS.ACTIVE;
cc.tween(button).to(dur, {scale: 1.2}).start()
this.changeBtnActive(button, true);
}
return;
}
button.actionStatus = this.BUTTON_STATUS.IDLE
cc.tween(button).to(dur, {scale: 1}).start()
this.changeBtnActive(button, false);
})
},
changeBtnActive(btn, isActive) {
btn.getChildByName('Background').active = !isActive;
btn.getChildByName('BackgroundActive').active = isActive;
},
// onButtonClick(event, index) {
// window.ttb = event.currentTarget;
......
{
"ver": "2.3.5",
"uuid": "8da89080-cd5c-4326-a424-c3bd8af670db",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 80,
"height": 80,
"platformSettings": {},
"subMetas": {
"btn1-active": {
"ver": "1.0.4",
"uuid": "0694a810-c311-4b99-96de-45d7ccad7757",
"rawTextureUuid": "8da89080-cd5c-4326-a424-c3bd8af670db",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 5,
"width": 80,
"height": 70,
"rawWidth": 80,
"rawHeight": 80,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
......@@ -19,13 +19,13 @@
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -0.5,
"trimX": 2,
"trimY": 1,
"width": 152,
"height": 131,
"rawWidth": 156,
"rawHeight": 132,
"offsetY": 0,
"trimX": 0,
"trimY": 5,
"width": 80,
"height": 70,
"rawWidth": 80,
"rawHeight": 80,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "91c31651-5030-4004-ae7c-e9421bf6883a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 80,
"height": 80,
"platformSettings": {},
"subMetas": {
"btn2-active": {
"ver": "1.0.4",
"uuid": "f02d54a4-feef-430e-957e-42268439e491",
"rawTextureUuid": "91c31651-5030-4004-ae7c-e9421bf6883a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 0,
"trimX": 2,
"trimY": 7,
"width": 75,
"height": 66,
"rawWidth": 80,
"rawHeight": 80,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 156,
"height": 132,
"width": 80,
"height": 80,
"platformSettings": {},
"subMetas": {
"btn2": {
......@@ -18,14 +18,14 @@
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -0.5,
"offsetX": -0.5,
"offsetY": 0,
"trimX": 2,
"trimY": 1,
"width": 152,
"height": 131,
"rawWidth": 156,
"rawHeight": 132,
"trimY": 7,
"width": 75,
"height": 66,
"rawWidth": 80,
"rawHeight": 80,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "fc07163d-f7db-4599-9ebf-0ef76d1517a0",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 80,
"height": 80,
"platformSettings": {},
"subMetas": {
"btn3-active": {
"ver": "1.0.4",
"uuid": "75a69cd5-83c3-4696-95a3-35a15b9105ec",
"rawTextureUuid": "fc07163d-f7db-4599-9ebf-0ef76d1517a0",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 0,
"trimX": 18,
"trimY": 1,
"width": 43,
"height": 78,
"rawWidth": 80,
"rawHeight": 80,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 75,
"height": 150,
"width": 80,
"height": 80,
"platformSettings": {
"default": {
"formats": []
......@@ -22,14 +22,14 @@
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetX": -0.5,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 75,
"height": 150,
"rawWidth": 75,
"rawHeight": 150,
"trimX": 18,
"trimY": 1,
"width": 43,
"height": 78,
"rawWidth": 80,
"rawHeight": 80,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
......@@ -18,14 +18,14 @@
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetX": -0.5,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 213,
"height": 180,
"rawWidth": 213,
"rawHeight": 180,
"trimY": 6,
"width": 79,
"height": 68,
"rawWidth": 80,
"rawHeight": 80,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 213,
"height": 180,
"width": 80,
"height": 80,
"platformSettings": {},
"subMetas": {
"play": {
......@@ -18,14 +18,14 @@
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetX": -0.5,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 213,
"height": 180,
"rawWidth": 213,
"rawHeight": 180,
"trimY": 6,
"width": 79,
"height": 68,
"rawWidth": 80,
"rawHeight": 80,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
......@@ -90,13 +90,13 @@
"_active": true,
"_components": [
{
"__id__": 119
"__id__": 140
},
{
"__id__": 120
"__id__": 141
},
{
"__id__": 121
"__id__": 142
}
],
"_prefab": null,
......@@ -1890,17 +1890,17 @@
"__id__": 62
},
{
"__id__": 98
"__id__": 119
}
],
"_active": true,
"_components": [
{
"__id__": 117
"__id__": 138
}
],
"_prefab": {
"__id__": 118
"__id__": 139
},
"_opacity": 255,
"_color": {
......@@ -2462,20 +2462,20 @@
"__id__": 63
},
{
"__id__": 74
"__id__": 81
},
{
"__id__": 85
"__id__": 99
}
],
"_active": true,
"_components": [
{
"__id__": 96
"__id__": 117
}
],
"_prefab": {
"__id__": 97
"__id__": 118
},
"_opacity": 255,
"_color": {
......@@ -2534,19 +2534,22 @@
"_children": [
{
"__id__": 64
},
{
"__id__": 71
}
],
"_active": true,
"_components": [
{
"__id__": 71
"__id__": 78
},
{
"__id__": 72
"__id__": 79
}
],
"_prefab": {
"__id__": 73
"__id__": 80
},
"_opacity": 255,
"_color": {
......@@ -2845,149 +2848,29 @@
"fileId": "2aCz44pItJSJfT9/nxkPSc",
"sync": false
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 63
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 8,
"_left": 0,
"_right": 0,
"_top": -1.5,
"_bottom": -1.5,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 45,
"_id": "28zMh0rA5BN6st0IKj/CVm"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 63
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 230,
"g": 230,
"b": 230,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 120,
"g": 120,
"b": 120,
"a": 200
},
"_N$normalSprite": {
"__uuid__": "28251373-3849-4c7e-8071-49ec26e60a5a"
},
"_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"_N$hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 64
},
"_id": "79TQIFG7FNtInZ0jMlydBa"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 46
},
"asset": {
"__uuid__": "dfda5cd6-ea60-4dcd-aec2-e7e4bb1b05e6"
},
"fileId": "01FxqwUeNKT6suSlBZRc6o",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "mode2",
"_objFlags": 0,
"_name": "BackgroundActive",
"_objFlags": 512,
"_parent": {
"__id__": 62
"__id__": 63
},
"_children": [
{
"__id__": 75
"__id__": 72
}
],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 82
"__id__": 75
},
{
"__id__": 83
"__id__": 76
}
],
"_prefab": {
"__id__": 84
"__id__": 77
},
"_opacity": 255,
"_color": {
......@@ -3007,77 +2890,6 @@
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
7.105427357601002e-15,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "c2ls7JSLtAHJ3BtTiVjhcr"
},
{
"__type__": "cc.Node",
"_name": "Background",
"_objFlags": 512,
"_parent": {
"__id__": 74
},
"_children": [
{
"__id__": 76
}
],
"_active": true,
"_components": [
{
"__id__": 79
},
{
"__id__": 80
}
],
"_prefab": {
"__id__": 81
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 230,
"g": 230,
"b": 230,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 49.99999999999999,
"height": 45
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
......@@ -3091,7 +2903,7 @@
1,
1,
1,
0
1
]
},
"_eulerAngles": {
......@@ -3105,24 +2917,24 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "558dGETe5MJIkh4iUuOXqZ"
"_id": "c5/C/b0TpIK7sOIHTQY55Q"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 75
"__id__": 71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 77
"__id__": 73
}
],
"_prefab": {
"__id__": 78
"__id__": 74
},
"_opacity": 255,
"_color": {
......@@ -3169,14 +2981,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "c8cWZrbm1Aq6g+4JVD+9Sk"
"_id": "102xzaSxNK/Kk9VnofHUzZ"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 76
"__id__": 72
},
"_enabled": true,
"_materials": [
......@@ -3203,7 +3015,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 1,
"_N$cacheMode": 1,
"_id": "24LMUNOvFPAIsf7zu3g1IQ"
"_id": "ce5l6WShpLyLN2qgZqbK3M"
},
{
"__type__": "cc.PrefabInfo",
......@@ -3213,7 +3025,7 @@
"asset": {
"__uuid__": "dfda5cd6-ea60-4dcd-aec2-e7e4bb1b05e6"
},
"fileId": "eev3CCq4xJyLsVQQlQZw6g",
"fileId": "102xzaSxNK/Kk9VnofHUzZ",
"sync": false
},
{
......@@ -3221,7 +3033,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
"__id__": 71
},
"_enabled": true,
"_materials": [
......@@ -3232,7 +3044,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "69b34d56-ac32-4539-815b-c62e0f0ab17c"
"__uuid__": "0694a810-c311-4b99-96de-45d7ccad7757"
},
"_type": 1,
"_sizeMode": 0,
......@@ -3246,21 +3058,21 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "6dvrg0kztG0r/U8SlbUC/r"
"_id": "eapM4Fu7FJZKsvYrq/QOdr"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
"__id__": 71
},
"_enabled": true,
"alignMode": 0,
"_target": null,
"_alignFlags": 45,
"_left": 3.552713678800501e-15,
"_right": 3.552713678800501e-15,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
......@@ -3273,7 +3085,7 @@
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 40,
"_id": "a54SvVwR1KZqrC2bF/PSPF"
"_id": "7enFLxA3xEtbVHlzapaDPM"
},
{
"__type__": "cc.PrefabInfo",
......@@ -3283,7 +3095,7 @@
"asset": {
"__uuid__": "dfda5cd6-ea60-4dcd-aec2-e7e4bb1b05e6"
},
"fileId": "dd+Fb68fxDDbQ1MwFVLwFH",
"fileId": "c5/C/b0TpIK7sOIHTQY55Q",
"sync": false
},
{
......@@ -3291,34 +3103,728 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 74
"__id__": 63
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 16,
"_left": 115,
"_right": 115,
"_top": 9,
"_bottom": 9,
"_alignFlags": 8,
"_left": 0,
"_right": 0,
"_top": -1.5,
"_bottom": -1.5,
"_verticalCenter": 0,
"_horizontalCenter": 7.105427357601002e-15,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 70,
"_originalHeight": 42,
"_id": "b09lJwyENF7LXIxdisJpFC"
"_originalWidth": 0,
"_originalHeight": 45,
"_id": "28zMh0rA5BN6st0IKj/CVm"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 74
"__id__": 63
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 230,
"g": 230,
"b": 230,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 120,
"g": 120,
"b": 120,
"a": 200
},
"_N$normalSprite": {
"__uuid__": "28251373-3849-4c7e-8071-49ec26e60a5a"
},
"_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"_N$hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 64
},
"_id": "79TQIFG7FNtInZ0jMlydBa"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 46
},
"asset": {
"__uuid__": "dfda5cd6-ea60-4dcd-aec2-e7e4bb1b05e6"
},
"fileId": "01FxqwUeNKT6suSlBZRc6o",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "mode2",
"_objFlags": 0,
"_parent": {
"__id__": 62
},
"_children": [
{
"__id__": 82
},
{
"__id__": 89
}
],
"_active": true,
"_components": [
{
"__id__": 96
},
{
"__id__": 97
}
],
"_prefab": {
"__id__": 98
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 50,
"height": 45
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
7.105427357601002e-15,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "c2ls7JSLtAHJ3BtTiVjhcr"
},
{
"__type__": "cc.Node",
"_name": "Background",
"_objFlags": 512,
"_parent": {
"__id__": 81
},
"_children": [
{
"__id__": 83
}
],
"_active": true,
"_components": [
{
"__id__": 86
},
{
"__id__": 87
}
],
"_prefab": {
"__id__": 88
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 230,
"g": 230,
"b": 230,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 49.99999999999999,
"height": 45
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
0
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "558dGETe5MJIkh4iUuOXqZ"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 82
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 84
}
],
"_prefab": {
"__id__": 85
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "c8cWZrbm1Aq6g+4JVD+9Sk"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 83
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_useOriginalSize": false,
"_string": "",
"_N$string": "",
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": false,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 1,
"_N$cacheMode": 1,
"_id": "24LMUNOvFPAIsf7zu3g1IQ"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 46
},
"asset": {
"__uuid__": "dfda5cd6-ea60-4dcd-aec2-e7e4bb1b05e6"
},
"fileId": "eev3CCq4xJyLsVQQlQZw6g",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "69b34d56-ac32-4539-815b-c62e0f0ab17c"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "6dvrg0kztG0r/U8SlbUC/r"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
},
"_enabled": true,
"alignMode": 0,
"_target": null,
"_alignFlags": 45,
"_left": 3.552713678800501e-15,
"_right": 3.552713678800501e-15,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 40,
"_id": "a54SvVwR1KZqrC2bF/PSPF"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 46
},
"asset": {
"__uuid__": "dfda5cd6-ea60-4dcd-aec2-e7e4bb1b05e6"
},
"fileId": "dd+Fb68fxDDbQ1MwFVLwFH",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "BackgroundActive",
"_objFlags": 512,
"_parent": {
"__id__": 81
},
"_children": [
{
"__id__": 90
}
],
"_active": false,
"_components": [
{
"__id__": 93
},
{
"__id__": 94
}
],
"_prefab": {
"__id__": 95
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 230,
"g": 230,
"b": 230,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 49.99999999999999,
"height": 45
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
0
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "518M37kJNEaJJuy70DUFH8"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 89
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 91
}
],
"_prefab": {
"__id__": 92
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "42uZOKgBBC3ZFKF+CBFSiZ"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 90
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_useOriginalSize": false,
"_string": "",
"_N$string": "",
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": false,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 1,
"_N$cacheMode": 1,
"_id": "e9bk0uGTdN3772MT9kmbOP"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 46
},
"asset": {
"__uuid__": "dfda5cd6-ea60-4dcd-aec2-e7e4bb1b05e6"
},
"fileId": "42uZOKgBBC3ZFKF+CBFSiZ",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 89
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f02d54a4-feef-430e-957e-42268439e491"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "49cLv0/FZGKZsN2P8zhZOh"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 89
},
"_enabled": true,
"alignMode": 0,
"_target": null,
"_alignFlags": 45,
"_left": 3.552713678800501e-15,
"_right": 3.552713678800501e-15,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 40,
"_id": "586kOG5YlEir26oZhgQz9S"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 46
},
"asset": {
"__uuid__": "dfda5cd6-ea60-4dcd-aec2-e7e4bb1b05e6"
},
"fileId": "518M37kJNEaJJuy70DUFH8",
"sync": false
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 81
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 16,
"_left": 115,
"_right": 115,
"_top": 9,
"_bottom": 9,
"_verticalCenter": 0,
"_horizontalCenter": 7.105427357601002e-15,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 70,
"_originalHeight": 42,
"_id": "b09lJwyENF7LXIxdisJpFC"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 81
},
"_enabled": true,
"_normalMaterial": null,
......@@ -3391,7 +3897,7 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 75
"__id__": 82
},
"_id": "924/NbXW1AnIxYpuCAWsbR"
},
......@@ -3408,27 +3914,101 @@
},
{
"__type__": "cc.Node",
"_name": "mode3",
"_objFlags": 0,
"_name": "mode3",
"_objFlags": 0,
"_parent": {
"__id__": 62
},
"_children": [
{
"__id__": 100
},
{
"__id__": 107
}
],
"_active": true,
"_components": [
{
"__id__": 114
},
{
"__id__": 115
}
],
"_prefab": {
"__id__": 116
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 55,
"height": 50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
97.5,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "7fnU6o4TFK+o1VPJLJhZ0e"
},
{
"__type__": "cc.Node",
"_name": "Background",
"_objFlags": 512,
"_parent": {
"__id__": 62
"__id__": 99
},
"_children": [
{
"__id__": 86
"__id__": 101
}
],
"_active": true,
"_components": [
{
"__id__": 93
"__id__": 104
},
{
"__id__": 94
"__id__": 105
}
],
"_prefab": {
"__id__": 95
"__id__": 106
},
"_opacity": 255,
"_color": {
......@@ -3440,7 +4020,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 55,
"width": 25,
"height": 50
},
"_anchorPoint": {
......@@ -3452,7 +4032,71 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
97.5,
0,
0,
0,
0,
0,
0,
1,
1,
1,
0
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "b3dFTAj7tCk4hBw9X4/M1f"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 100
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 102
}
],
"_prefab": {
"__id__": 103
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
......@@ -3475,31 +4119,146 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "7fnU6o4TFK+o1VPJLJhZ0e"
"_id": "92ub6nANtOMoZTkIy+X2xd"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 101
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_useOriginalSize": false,
"_string": "",
"_N$string": "",
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": false,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 1,
"_N$cacheMode": 1,
"_id": "5asbdIiU5AWJLaDOZktQ0+"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 46
},
"asset": {
"__uuid__": "dfda5cd6-ea60-4dcd-aec2-e7e4bb1b05e6"
},
"fileId": "1bdHF6rZxH7oxkOWmlP06T",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 100
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c872ce44-84c2-4812-ad2f-267eacbd0c5d"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "59/6NTCANAa6rA44M86E5e"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 100
},
"_enabled": true,
"alignMode": 0,
"_target": null,
"_alignFlags": 45,
"_left": 15,
"_right": 15,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 30,
"_originalHeight": 60,
"_id": "41M7qMpLxEwbj/dNTLTiIz"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 46
},
"asset": {
"__uuid__": "dfda5cd6-ea60-4dcd-aec2-e7e4bb1b05e6"
},
"fileId": "6ez9I4XItJAqRsr1lXBRSC",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "Background",
"_name": "BackgroundActive",
"_objFlags": 512,
"_parent": {
"__id__": 85
"__id__": 99
},
"_children": [
{
"__id__": 87
"__id__": 108
}
],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 90
"__id__": 111
},
{
"__id__": 91
"__id__": 112
}
],
"_prefab": {
"__id__": 92
"__id__": 113
},
"_opacity": 255,
"_color": {
......@@ -3546,24 +4305,24 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "b3dFTAj7tCk4hBw9X4/M1f"
"_id": "7c8bDFoXpL/rPnc6mX2GNz"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 86
"__id__": 107
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 88
"__id__": 109
}
],
"_prefab": {
"__id__": 89
"__id__": 110
},
"_opacity": 255,
"_color": {
......@@ -3610,14 +4369,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "92ub6nANtOMoZTkIy+X2xd"
"_id": "f8E9gedENLj7HHx7YW6Cqn"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 87
"__id__": 108
},
"_enabled": true,
"_materials": [
......@@ -3644,7 +4403,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 1,
"_N$cacheMode": 1,
"_id": "5asbdIiU5AWJLaDOZktQ0+"
"_id": "9cueqZLYlAtJ+AUmdehZ95"
},
{
"__type__": "cc.PrefabInfo",
......@@ -3654,7 +4413,7 @@
"asset": {
"__uuid__": "dfda5cd6-ea60-4dcd-aec2-e7e4bb1b05e6"
},
"fileId": "1bdHF6rZxH7oxkOWmlP06T",
"fileId": "f8E9gedENLj7HHx7YW6Cqn",
"sync": false
},
{
......@@ -3662,7 +4421,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 86
"__id__": 107
},
"_enabled": true,
"_materials": [
......@@ -3673,7 +4432,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c872ce44-84c2-4812-ad2f-267eacbd0c5d"
"__uuid__": "75a69cd5-83c3-4696-95a3-35a15b9105ec"
},
"_type": 1,
"_sizeMode": 0,
......@@ -3687,14 +4446,14 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "59/6NTCANAa6rA44M86E5e"
"_id": "8bvs1pEnVAE7gfN+3GbKru"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 86
"__id__": 107
},
"_enabled": true,
"alignMode": 0,
......@@ -3714,7 +4473,7 @@
"_isAbsVerticalCenter": true,
"_originalWidth": 30,
"_originalHeight": 60,
"_id": "41M7qMpLxEwbj/dNTLTiIz"
"_id": "04bS8Lcv1NypT2W9et+1dw"
},
{
"__type__": "cc.PrefabInfo",
......@@ -3724,7 +4483,7 @@
"asset": {
"__uuid__": "dfda5cd6-ea60-4dcd-aec2-e7e4bb1b05e6"
},
"fileId": "6ez9I4XItJAqRsr1lXBRSC",
"fileId": "7c8bDFoXpL/rPnc6mX2GNz",
"sync": false
},
{
......@@ -3732,7 +4491,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 85
"__id__": 99
},
"_enabled": true,
"_normalMaterial": null,
......@@ -3803,7 +4562,7 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 86
"__id__": 100
},
"_id": "57KSH0uRJASY0bWKkObOS4"
},
......@@ -3812,7 +4571,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 85
"__id__": 99
},
"_enabled": true,
"alignMode": 1,
......@@ -3897,23 +4656,23 @@
},
"_children": [
{
"__id__": 99
"__id__": 120
},
{
"__id__": 106
"__id__": 127
}
],
"_active": true,
"_components": [
{
"__id__": 113
"__id__": 134
},
{
"__id__": 115
"__id__": 136
}
],
"_prefab": {
"__id__": 116
"__id__": 137
},
"_opacity": 255,
"_color": {
......@@ -3967,24 +4726,24 @@
"_name": "active",
"_objFlags": 512,
"_parent": {
"__id__": 98
"__id__": 119
},
"_children": [
{
"__id__": 100
"__id__": 121
}
],
"_active": true,
"_components": [
{
"__id__": 103
"__id__": 124
},
{
"__id__": 104
"__id__": 125
}
],
"_prefab": {
"__id__": 105
"__id__": 126
},
"_opacity": 255,
"_color": {
......@@ -4038,17 +4797,17 @@
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 99
"__id__": 120
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 101
"__id__": 122
}
],
"_prefab": {
"__id__": 102
"__id__": 123
},
"_opacity": 255,
"_color": {
......@@ -4102,7 +4861,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 100
"__id__": 121
},
"_enabled": true,
"_materials": [
......@@ -4147,7 +4906,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 99
"__id__": 120
},
"_enabled": true,
"_materials": [
......@@ -4179,7 +4938,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 99
"__id__": 120
},
"_enabled": true,
"alignMode": 2,
......@@ -4217,24 +4976,24 @@
"_name": "idle",
"_objFlags": 512,
"_parent": {
"__id__": 98
"__id__": 119
},
"_children": [
{
"__id__": 107
"__id__": 128
}
],
"_active": true,
"_components": [
{
"__id__": 110
"__id__": 131
},
{
"__id__": 111
"__id__": 132
}
],
"_prefab": {
"__id__": 112
"__id__": 133
},
"_opacity": 255,
"_color": {
......@@ -4288,17 +5047,17 @@
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 106
"__id__": 127
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 108
"__id__": 129
}
],
"_prefab": {
"__id__": 109
"__id__": 130
},
"_opacity": 255,
"_color": {
......@@ -4352,7 +5111,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 107
"__id__": 128
},
"_enabled": true,
"_materials": [
......@@ -4397,7 +5156,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 106
"__id__": 127
},
"_enabled": true,
"_materials": [
......@@ -4429,7 +5188,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 106
"__id__": 127
},
"_enabled": true,
"alignMode": 2,
......@@ -4467,7 +5226,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 98
"__id__": 119
},
"_enabled": true,
"_normalMaterial": null,
......@@ -4476,7 +5235,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 114
"__id__": 135
}
],
"_N$interactable": true,
......@@ -4525,14 +5284,16 @@
"b": 120,
"a": 200
},
"_N$normalSprite": null,
"_N$normalSprite": {
"__uuid__": "a1b2017e-52ee-4a79-b547-33ea004017ff"
},
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 106
"__id__": 127
},
"_id": "1fzXc/fUJAHL6i5rdbHqD1"
},
......@@ -4551,7 +5312,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 98
"__id__": 119
},
"_enabled": true,
"_defaultClip": null,
......@@ -4586,7 +5347,7 @@
"__id__": 62
},
"actionButton": {
"__id__": 113
"__id__": 134
},
"_id": "25qXkMHztM84B4y/sLLQTC"
},
......
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