Commit eb692f80 authored by Tt's avatar Tt

移动待调试

parent f9410400
...@@ -23,7 +23,9 @@ export default class ImgAuto extends cc.Component { ...@@ -23,7 +23,9 @@ export default class ImgAuto extends cc.Component {
} }
private playVoiceCount: number; private playVoiceCount: number;
playVoiceStart() { playVoiceStart() {
if (this.playVoiceCount > 0) return; if (this.playVoiceCount > 0){
this.playVoiceEnd();
}
this.playVoiceCount = 0; this.playVoiceCount = 0;
this.schedule(this.playVoiceRunning, 0.3) this.schedule(this.playVoiceRunning, 0.3)
} }
......
...@@ -84,31 +84,31 @@ ...@@ -84,31 +84,31 @@
"__id__": 18 "__id__": 18
}, },
{ {
"__id__": 73 "__id__": 72
}, },
{ {
"__id__": 76 "__id__": 75
}, },
{ {
"__id__": 110 "__id__": 109
}, },
{ {
"__id__": 112 "__id__": 111
}, },
{ {
"__id__": 114 "__id__": 113
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 134 "__id__": 133
}, },
{ {
"__id__": 135 "__id__": 134
}, },
{ {
"__id__": 136 "__id__": 135
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -875,28 +875,19 @@ ...@@ -875,28 +875,19 @@
"__id__": 22 "__id__": 22
}, },
{ {
"__id__": 36 "__id__": 59
},
{
"__id__": 40
},
{
"__id__": 42
},
{
"__id__": 44
}, },
{ {
"__id__": 64 "__id__": 63
}, },
{ {
"__id__": 68 "__id__": 67
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 72 "__id__": 71
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1103,12 +1094,21 @@ ...@@ -1103,12 +1094,21 @@
}, },
{ {
"__id__": 31 "__id__": 31
},
{
"__id__": 35
},
{
"__id__": 37
},
{
"__id__": 39
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 35 "__id__": 58
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1735,54 +1735,18 @@ ...@@ -1735,54 +1735,18 @@
"_atlas": null, "_atlas": null,
"_id": "e1vlKw8BNPhLDdAkGI7+Id" "_id": "e1vlKw8BNPhLDdAkGI7+Id"
}, },
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": false,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "48ugU7amxDn7XhIwqaF+65"
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "item_little", "_name": "bg_number",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 18 "__id__": 22
}, },
"_children": [ "_children": [],
{ "_active": true,
"__id__": 37
}
],
"_active": false,
"_components": [ "_components": [
{ {
"__id__": 39 "__id__": 36
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1796,8 +1760,8 @@ ...@@ -1796,8 +1760,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1330, "width": 165,
"height": 655 "height": 75
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1808,8 +1772,8 @@ ...@@ -1808,8 +1772,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
2037.827, -69.389,
0, 447.256,
0, 0,
0, 0,
0, 0,
...@@ -1831,14 +1795,46 @@ ...@@ -1831,14 +1795,46 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "5eMIhW59RPRIWhL5Gs5qpO" "_id": "97cnTmZ6ZGiKLzUjO9sxZe"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b58f485f-5151-4b26-8815-d3125841475e"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c7e6/Ek/lNxquCVpBk+EJW"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "img", "_name": "label_round",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 36 "__id__": 22
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
...@@ -1851,15 +1847,15 @@ ...@@ -1851,15 +1847,15 @@
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 59,
"g": 255, "g": 128,
"b": 255, "b": 139,
"a": 255 "a": 255
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1330, "width": 77.85,
"height": 655 "height": 50.4
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1870,8 +1866,8 @@ ...@@ -1870,8 +1866,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, -75.191,
0, 447.753,
0, 0,
0, 0,
0, 0,
...@@ -1893,10 +1889,10 @@ ...@@ -1893,10 +1889,10 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "f1WINrZF1KOqZEXmT9KuDy" "_id": "d125FcUohEcKZoKT62nUbF"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Label",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
...@@ -1910,67 +1906,49 @@ ...@@ -1910,67 +1906,49 @@
], ],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_string": "1/20",
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" "_N$string": "1/20",
}, "_fontSize": 40,
"_type": 0, "_lineHeight": 40,
"_sizeMode": 0, "_enableWrapText": true,
"_fillType": 0, "_N$file": null,
"_fillCenter": { "_isSystemFontUsed": true,
"__type__": "cc.Vec2", "_spacingX": 0,
"x": 0, "_batchAsBitmap": false,
"y": 0 "_styleFlags": 0,
}, "_underlineHeight": 0,
"_fillStart": 0, "_N$horizontalAlign": 1,
"_fillRange": 0, "_N$verticalAlign": 1,
"_isTrimmedMode": true, "_N$fontFamily": "Arial",
"_atlas": null, "_N$overflow": 0,
"_id": "32wKfQOIpI1qnVXer2j4mG" "_N$cacheMode": 0,
"_id": "2eXk2K4NlA8L7Q44vz03eV"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Node",
"_name": "", "_name": "btn_voice",
"_objFlags": 0, "_objFlags": 0,
"node": { "_parent": {
"__id__": 36 "__id__": 22
}, },
"_enabled": true, "_children": [
"_materials": [
{ {
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" "__id__": 40
},
{
"__id__": 44
},
{
"__id__": 50
} }
], ],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "6f2WiuQ9VC05Krglm24PzP"
},
{
"__type__": "cc.Node",
"_name": "bg_number",
"_objFlags": 0,
"_parent": {
"__id__": 18
},
"_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 41 "__id__": 56
},
{
"__id__": 57
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1984,8 +1962,8 @@ ...@@ -1984,8 +1962,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 165, "width": 150,
"height": 75 "height": 90
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1996,8 +1974,8 @@ ...@@ -1996,8 +1974,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-69.389, 57.83400000000006,
447.256, 443.43,
0, 0,
0, 0,
0, 0,
...@@ -2019,49 +1997,21 @@ ...@@ -2019,49 +1997,21 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "97cnTmZ6ZGiKLzUjO9sxZe" "_id": "66ihHCHVtLMaclWNV/nb/s"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Node",
"_name": "", "_name": "p3",
"_objFlags": 0, "_objFlags": 0,
"node": { "_parent": {
"__id__": 40 "__id__": 39
}, },
"_enabled": true, "_children": [
"_materials": [
{ {
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" "__id__": 41
} }
], ],
"_srcBlendFactor": 770, "_active": false,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b58f485f-5151-4b26-8815-d3125841475e"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c7e6/Ek/lNxquCVpBk+EJW"
},
{
"__type__": "cc.Node",
"_name": "label_round",
"_objFlags": 0,
"_parent": {
"__id__": 18
},
"_children": [],
"_active": true,
"_components": [ "_components": [
{ {
"__id__": 43 "__id__": 43
...@@ -2071,15 +2021,15 @@ ...@@ -2071,15 +2021,15 @@
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 59, "r": 255,
"g": 128, "g": 255,
"b": 139, "b": 255,
"a": 255 "a": 255
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 77.85, "width": 171,
"height": 50.4 "height": 103
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2090,8 +2040,8 @@ ...@@ -2090,8 +2040,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-75.191, 0,
447.753, -8,
0, 0,
0, 0,
0, 0,
...@@ -2113,68 +2063,35 @@ ...@@ -2113,68 +2063,35 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "d125FcUohEcKZoKT62nUbF" "_id": "b9yXxi8KhLu41qEq+BQu0p"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "1/20",
"_N$string": "1/20",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "2eXk2K4NlA8L7Q44vz03eV"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "label_title", "_name": "icon_laba",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 18 "__id__": 40
}, },
"_children": [ "_children": [],
"_active": true,
"_components": [
{ {
"__id__": 45 "__id__": 42
} }
], ],
"_active": true,
"_components": [],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 139, "r": 255,
"g": 48, "g": 255,
"b": 17, "b": 255,
"a": 255 "a": 255
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 808.79, "width": 44,
"height": 85.68 "height": 59
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2185,8 +2102,8 @@ ...@@ -2185,8 +2102,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, -28.787,
-340.982, 9.253,
0, 0,
0, 0,
0, 0,
...@@ -2208,33 +2125,91 @@ ...@@ -2208,33 +2125,91 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "e0efSQfg1EYqtTyKVZG0r9" "_id": "0a4LHLxplEn4kuEhtCdIaU"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 41
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0c9aa769-3e58-48da-a6b9-20d05d189681"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a3dheVB01IwqRL7egjGBks"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 40
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "2eb5f6a2-cfc2-4dea-ab1b-8e720ba96f88"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "62bslXE/ZM0IF0lf/80WHu"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "btn_voice", "_name": "p2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 44 "__id__": 39
}, },
"_children": [ "_children": [
{ {
"__id__": 46 "__id__": 45
},
{
"__id__": 50
}, },
{ {
"__id__": 56 "__id__": 47
} }
], ],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 62 "__id__": 49
},
{
"__id__": 63
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2248,8 +2223,8 @@ ...@@ -2248,8 +2223,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 150, "width": 171,
"height": 90 "height": 103
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2260,8 +2235,8 @@ ...@@ -2260,8 +2235,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
63.406000000000006, 0,
784.412, -8,
0, 0,
0, 0,
0, 0,
...@@ -2283,24 +2258,20 @@ ...@@ -2283,24 +2258,20 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "66ihHCHVtLMaclWNV/nb/s" "_id": "f3md23nYRIHIsTZKEuk3sq"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "p1", "_name": "icon_laba",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 45 "__id__": 44
}, },
"_children": [ "_children": [],
{
"__id__": 47
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 49 "__id__": 46
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2314,8 +2285,8 @@ ...@@ -2314,8 +2285,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 171, "width": 44,
"height": 103 "height": 59
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2326,8 +2297,8 @@ ...@@ -2326,8 +2297,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, -28.787,
-8, 9.253,
0, 0,
0, 0,
0, 0,
...@@ -2349,14 +2320,46 @@ ...@@ -2349,14 +2320,46 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "b9yXxi8KhLu41qEq+BQu0p" "_id": "8d0sBuHYhAxppS6uCP8kJE"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0c9aa769-3e58-48da-a6b9-20d05d189681"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "8805sIjxtG8JQbLWPMS2R7"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "icon_laba", "_name": "icon_laba2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 46 "__id__": 44
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
...@@ -2376,8 +2379,8 @@ ...@@ -2376,8 +2379,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 44, "width": 14,
"height": 59 "height": 26
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2388,8 +2391,8 @@ ...@@ -2388,8 +2391,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-28.787, 4.737,
9.253, 10.421,
0, 0,
0, 0,
0, 0,
...@@ -2411,7 +2414,7 @@ ...@@ -2411,7 +2414,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "0a4LHLxplEn4kuEhtCdIaU" "_id": "6bG5wjyoNJIZ7K5FwXz83u"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -2429,7 +2432,7 @@ ...@@ -2429,7 +2432,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "0c9aa769-3e58-48da-a6b9-20d05d189681" "__uuid__": "75258b19-698a-42b9-a2ba-6502438b0c33"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -2443,14 +2446,14 @@ ...@@ -2443,14 +2446,14 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "a3dheVB01IwqRL7egjGBks" "_id": "cazgEgFPdGJbgBw0jlHH3p"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 46 "__id__": 44
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2475,14 +2478,14 @@ ...@@ -2475,14 +2478,14 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "62bslXE/ZM0IF0lf/80WHu" "_id": "bfurryBspNXrIJka5eJJem"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "p2", "_name": "p1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 45 "__id__": 39
}, },
"_children": [ "_children": [
{ {
...@@ -2492,7 +2495,7 @@ ...@@ -2492,7 +2495,7 @@
"__id__": 53 "__id__": 53
} }
], ],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 55 "__id__": 55
...@@ -2544,7 +2547,7 @@ ...@@ -2544,7 +2547,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "f3md23nYRIHIsTZKEuk3sq" "_id": "69naaahOxE/LCTJIV86ES5"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
...@@ -2606,7 +2609,7 @@ ...@@ -2606,7 +2609,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "8d0sBuHYhAxppS6uCP8kJE" "_id": "99gDeNTyxIR4Zq6WnAqkUZ"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -2638,7 +2641,7 @@ ...@@ -2638,7 +2641,7 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "8805sIjxtG8JQbLWPMS2R7" "_id": "8fGyoHr3RG3Z+5ayqPsW5E"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
...@@ -2665,8 +2668,8 @@ ...@@ -2665,8 +2668,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 14, "width": 27,
"height": 26 "height": 31
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2677,7 +2680,7 @@ ...@@ -2677,7 +2680,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
4.737, 11.558,
10.421, 10.421,
0, 0,
0, 0,
...@@ -2700,7 +2703,7 @@ ...@@ -2700,7 +2703,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "6bG5wjyoNJIZ7K5FwXz83u" "_id": "3d+1g2RJ9InZG9vGD3RxIq"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -2718,7 +2721,7 @@ ...@@ -2718,7 +2721,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "75258b19-698a-42b9-a2ba-6502438b0c33" "__uuid__": "bfa02701-99c1-4999-8e19-1bc3d22b2ce8"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -2732,7 +2735,7 @@ ...@@ -2732,7 +2735,7 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "cazgEgFPdGJbgBw0jlHH3p" "_id": "82MY9pDm1Cxpk+xxHA/+BZ"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -2764,89 +2767,93 @@ ...@@ -2764,89 +2767,93 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "bfurryBspNXrIJka5eJJem" "_id": "44b5Yd+ohBYK6xDTR4nwMM"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Widget",
"_name": "p3", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "node": {
"__id__": 45 "__id__": 39
}, },
"_children": [ "_enabled": true,
{ "alignMode": 2,
"__id__": 57 "_target": null,
}, "_alignFlags": 8,
{ "_left": 647.8340000000001,
"__id__": 59 "_right": 0,
} "_top": 938.845,
], "_bottom": 0,
"_active": false, "_verticalCenter": 0,
"_components": [ "_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "61cLwiwupLfoFMU01ql4pw"
},
{
"__type__": "bbdca8pYpRNDq6TTkfAK9cA",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 39
},
"_enabled": true,
"_id": "a0WvSneXdFbryZmBtbSwAu"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": false,
"_materials": [
{ {
"__id__": 61 "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
} }
], ],
"_prefab": null, "_srcBlendFactor": 770,
"_opacity": 255, "_dstBlendFactor": 771,
"_color": { "_spriteFrame": {
"__type__": "cc.Color", "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 171,
"height": 103
}, },
"_anchorPoint": { "_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-8,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 0, "y": 0
"z": 0
}, },
"_skewX": 0, "_fillStart": 0,
"_skewY": 0, "_fillRange": 0,
"_is3DNode": false, "_isTrimmedMode": true,
"_groupIndex": 0, "_atlas": null,
"groupIndex": 0, "_id": "48ugU7amxDn7XhIwqaF+65"
"_id": "69naaahOxE/LCTJIV86ES5"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "icon_laba", "_name": "item_little",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 56 "__id__": 18
}, },
"_children": [], "_children": [
"_active": true, {
"__id__": 60
}
],
"_active": false,
"_components": [ "_components": [
{ {
"__id__": 58 "__id__": 62
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2860,8 +2867,8 @@ ...@@ -2860,8 +2867,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 44, "width": 1330,
"height": 59 "height": 655
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2872,8 +2879,8 @@ ...@@ -2872,8 +2879,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-28.787, 2037.827,
9.253, 0,
0, 0,
0, 0,
0, 0,
...@@ -2887,60 +2894,28 @@ ...@@ -2887,60 +2894,28 @@
"_eulerAngles": { "_eulerAngles": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 0, "y": 0,
"z": 0 "z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "99gDeNTyxIR4Zq6WnAqkUZ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0c9aa769-3e58-48da-a6b9-20d05d189681"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
}, },
"_fillStart": 0, "_skewX": 0,
"_fillRange": 0, "_skewY": 0,
"_isTrimmedMode": true, "_is3DNode": false,
"_atlas": null, "_groupIndex": 0,
"_id": "8fGyoHr3RG3Z+5ayqPsW5E" "groupIndex": 0,
"_id": "5eMIhW59RPRIWhL5Gs5qpO"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "icon_laba2", "_name": "img",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 56 "__id__": 59
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 60 "__id__": 61
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2954,8 +2929,8 @@ ...@@ -2954,8 +2929,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 27, "width": 1330,
"height": 31 "height": 655
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -2966,8 +2941,8 @@ ...@@ -2966,8 +2941,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
11.558, 0,
10.421, 0,
0, 0,
0, 0,
0, 0,
...@@ -2989,14 +2964,14 @@ ...@@ -2989,14 +2964,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "3d+1g2RJ9InZG9vGD3RxIq" "_id": "f1WINrZF1KOqZEXmT9KuDy"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 59 "__id__": 60
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3007,10 +2982,10 @@ ...@@ -3007,10 +2982,10 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "bfa02701-99c1-4999-8e19-1bc3d22b2ce8" "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 0,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3021,14 +2996,14 @@ ...@@ -3021,14 +2996,14 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "82MY9pDm1Cxpk+xxHA/+BZ" "_id": "32wKfQOIpI1qnVXer2j4mG"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 56 "__id__": 59
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3039,10 +3014,10 @@ ...@@ -3039,10 +3014,10 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "2eb5f6a2-cfc2-4dea-ab1b-8e720ba96f88" "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 0,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3053,44 +3028,7 @@ ...@@ -3053,44 +3028,7 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "44b5Yd+ohBYK6xDTR4nwMM" "_id": "6f2WiuQ9VC05Krglm24PzP"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
},
"_enabled": true,
"alignMode": 2,
"_target": null,
"_alignFlags": 8,
"_left": 392.801,
"_right": 0,
"_top": 938.845,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "61cLwiwupLfoFMU01ql4pw"
},
{
"__type__": "bbdca8pYpRNDq6TTkfAK9cA",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
},
"_enabled": true,
"_id": "a0WvSneXdFbryZmBtbSwAu"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
...@@ -3103,13 +3041,13 @@ ...@@ -3103,13 +3041,13 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 65 "__id__": 64
}, },
{ {
"__id__": 66 "__id__": 65
}, },
{ {
"__id__": 67 "__id__": 66
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3165,7 +3103,7 @@ ...@@ -3165,7 +3103,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 64 "__id__": 63
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3197,7 +3135,7 @@ ...@@ -3197,7 +3135,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 64 "__id__": 63
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -3265,7 +3203,7 @@ ...@@ -3265,7 +3203,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 64 "__id__": 63
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -3298,13 +3236,13 @@ ...@@ -3298,13 +3236,13 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 69 "__id__": 68
}, },
{ {
"__id__": 70 "__id__": 69
}, },
{ {
"__id__": 71 "__id__": 70
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3360,7 +3298,7 @@ ...@@ -3360,7 +3298,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 68 "__id__": 67
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3392,7 +3330,7 @@ ...@@ -3392,7 +3330,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 68 "__id__": 67
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -3460,7 +3398,7 @@ ...@@ -3460,7 +3398,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 68 "__id__": 67
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -3520,10 +3458,10 @@ ...@@ -3520,10 +3458,10 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 74 "__id__": 73
}, },
{ {
"__id__": 75 "__id__": 74
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3579,7 +3517,7 @@ ...@@ -3579,7 +3517,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 73 "__id__": 72
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3619,7 +3557,7 @@ ...@@ -3619,7 +3557,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 73 "__id__": 72
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -3691,19 +3629,19 @@ ...@@ -3691,19 +3629,19 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 77 "__id__": 76
}, },
{ {
"__id__": 105 "__id__": 104
}, },
{ {
"__id__": 107 "__id__": 106
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 109 "__id__": 108
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3759,17 +3697,17 @@ ...@@ -3759,17 +3697,17 @@
"_name": "layout_cover", "_name": "layout_cover",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 76 "__id__": 75
}, },
"_children": [ "_children": [
{ {
"__id__": 78 "__id__": 77
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 104 "__id__": 103
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3825,23 +3763,23 @@ ...@@ -3825,23 +3763,23 @@
"_name": "btn_record", "_name": "btn_record",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 77 "__id__": 76
}, },
"_children": [ "_children": [
{ {
"__id__": 79 "__id__": 78
}, },
{ {
"__id__": 92 "__id__": 91
}, },
{ {
"__id__": 96 "__id__": 95
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 103 "__id__": 102
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3897,17 +3835,17 @@ ...@@ -3897,17 +3835,17 @@
"_name": "mask", "_name": "mask",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 78 "__id__": 77
}, },
"_children": [ "_children": [
{ {
"__id__": 80 "__id__": 79
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 91 "__id__": 90
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3963,23 +3901,23 @@ ...@@ -3963,23 +3901,23 @@
"_name": "layout_btns", "_name": "layout_btns",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 79 "__id__": 78
}, },
"_children": [ "_children": [
{ {
"__id__": 81 "__id__": 80
}, },
{ {
"__id__": 84 "__id__": 83
}, },
{ {
"__id__": 87 "__id__": 86
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 90 "__id__": 89
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4035,16 +3973,16 @@ ...@@ -4035,16 +3973,16 @@
"_name": "btn_right", "_name": "btn_right",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 80 "__id__": 79
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 82 "__id__": 81
}, },
{ {
"__id__": 83 "__id__": 82
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4100,7 +4038,7 @@ ...@@ -4100,7 +4038,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 81 "__id__": 80
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4132,7 +4070,7 @@ ...@@ -4132,7 +4070,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 81 "__id__": 80
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -4200,16 +4138,16 @@ ...@@ -4200,16 +4138,16 @@
"_name": "btn_play", "_name": "btn_play",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 80 "__id__": 79
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 85 "__id__": 84
}, },
{ {
"__id__": 86 "__id__": 85
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4265,7 +4203,7 @@ ...@@ -4265,7 +4203,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 84 "__id__": 83
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4297,7 +4235,7 @@ ...@@ -4297,7 +4235,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 84 "__id__": 83
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -4365,16 +4303,16 @@ ...@@ -4365,16 +4303,16 @@
"_name": "btn_stop", "_name": "btn_stop",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 80 "__id__": 79
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 88 "__id__": 87
}, },
{ {
"__id__": 89 "__id__": 88
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4430,7 +4368,7 @@ ...@@ -4430,7 +4368,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 87 "__id__": 86
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4462,7 +4400,7 @@ ...@@ -4462,7 +4400,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 87 "__id__": 86
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -4530,7 +4468,7 @@ ...@@ -4530,7 +4468,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 80 "__id__": 79
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4562,7 +4500,7 @@ ...@@ -4562,7 +4500,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 79 "__id__": 78
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4582,17 +4520,17 @@ ...@@ -4582,17 +4520,17 @@
"_name": "bg", "_name": "bg",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 78 "__id__": 77
}, },
"_children": [ "_children": [
{ {
"__id__": 93 "__id__": 92
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 95 "__id__": 94
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4648,13 +4586,13 @@ ...@@ -4648,13 +4586,13 @@
"_name": "ani", "_name": "ani",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 92 "__id__": 91
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 94 "__id__": 93
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4710,7 +4648,7 @@ ...@@ -4710,7 +4648,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 93 "__id__": 92
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4750,7 +4688,7 @@ ...@@ -4750,7 +4688,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 92 "__id__": 91
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4782,23 +4720,23 @@ ...@@ -4782,23 +4720,23 @@
"_name": "img_voice", "_name": "img_voice",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 78 "__id__": 77
}, },
"_children": [ "_children": [
{ {
"__id__": 97 "__id__": 96
}, },
{ {
"__id__": 98 "__id__": 97
}, },
{ {
"__id__": 100 "__id__": 99
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 102 "__id__": 101
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4854,7 +4792,7 @@ ...@@ -4854,7 +4792,7 @@
"_name": "p1", "_name": "p1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 96 "__id__": 95
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
...@@ -4912,13 +4850,13 @@ ...@@ -4912,13 +4850,13 @@
"_name": "p2", "_name": "p2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 96 "__id__": 95
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 99 "__id__": 98
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4974,7 +4912,7 @@ ...@@ -4974,7 +4912,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 98 "__id__": 97
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5006,13 +4944,13 @@ ...@@ -5006,13 +4944,13 @@
"_name": "p3", "_name": "p3",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 96 "__id__": 95
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 101 "__id__": 100
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5068,7 +5006,7 @@ ...@@ -5068,7 +5006,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 100 "__id__": 99
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5100,7 +5038,7 @@ ...@@ -5100,7 +5038,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 96 "__id__": 95
}, },
"_enabled": true, "_enabled": true,
"_id": "1b37Xp6IVLg6RciXLxM7OU" "_id": "1b37Xp6IVLg6RciXLxM7OU"
...@@ -5110,7 +5048,7 @@ ...@@ -5110,7 +5048,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 78 "__id__": 77
}, },
"_enabled": true, "_enabled": true,
"alignMode": 2, "alignMode": 2,
...@@ -5137,7 +5075,7 @@ ...@@ -5137,7 +5075,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 77 "__id__": 76
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -5164,13 +5102,13 @@ ...@@ -5164,13 +5102,13 @@
"_name": "label_word", "_name": "label_word",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 76 "__id__": 75
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 106 "__id__": 105
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5226,7 +5164,7 @@ ...@@ -5226,7 +5164,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 105 "__id__": 104
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5261,13 +5199,13 @@ ...@@ -5261,13 +5199,13 @@
"_name": "ani_good", "_name": "ani_good",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 76 "__id__": 75
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 108 "__id__": 107
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5323,7 +5261,7 @@ ...@@ -5323,7 +5261,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 107 "__id__": 106
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5363,7 +5301,7 @@ ...@@ -5363,7 +5301,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 76 "__id__": 75
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -5396,7 +5334,7 @@ ...@@ -5396,7 +5334,7 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 111 "__id__": 110
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5452,7 +5390,7 @@ ...@@ -5452,7 +5390,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 110 "__id__": 109
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5490,7 +5428,7 @@ ...@@ -5490,7 +5428,7 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 113 "__id__": 112
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5546,7 +5484,7 @@ ...@@ -5546,7 +5484,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 112 "__id__": 111
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5582,13 +5520,13 @@ ...@@ -5582,13 +5520,13 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 115 "__id__": 114
}, },
{ {
"__id__": 118 "__id__": 117
}, },
{ {
"__id__": 121 "__id__": 120
} }
], ],
"_active": false, "_active": false,
...@@ -5646,11 +5584,11 @@ ...@@ -5646,11 +5584,11 @@
"_name": "font", "_name": "font",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 114 "__id__": 113
}, },
"_children": [ "_children": [
{ {
"__id__": 116 "__id__": 115
} }
], ],
"_active": true, "_active": true,
...@@ -5708,13 +5646,13 @@ ...@@ -5708,13 +5646,13 @@
"_name": "BRLNSDB", "_name": "BRLNSDB",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 115 "__id__": 114
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 117 "__id__": 116
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5770,7 +5708,7 @@ ...@@ -5770,7 +5708,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 116 "__id__": 115
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -5801,11 +5739,11 @@ ...@@ -5801,11 +5739,11 @@
"_name": "img", "_name": "img",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 114 "__id__": 113
}, },
"_children": [ "_children": [
{ {
"__id__": 119 "__id__": 118
} }
], ],
"_active": true, "_active": true,
...@@ -5863,13 +5801,13 @@ ...@@ -5863,13 +5801,13 @@
"_name": "icon", "_name": "icon",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 118 "__id__": 117
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 120 "__id__": 119
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5925,7 +5863,7 @@ ...@@ -5925,7 +5863,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 119 "__id__": 118
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -5953,26 +5891,26 @@ ...@@ -5953,26 +5891,26 @@
"_name": "audio", "_name": "audio",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 114 "__id__": 113
}, },
"_children": [ "_children": [
{ {
"__id__": 122 "__id__": 121
}, },
{ {
"__id__": 124 "__id__": 123
}, },
{ {
"__id__": 126 "__id__": 125
}, },
{ {
"__id__": 128 "__id__": 127
}, },
{ {
"__id__": 130 "__id__": 129
}, },
{ {
"__id__": 132 "__id__": 131
} }
], ],
"_active": true, "_active": true,
...@@ -6030,13 +5968,13 @@ ...@@ -6030,13 +5968,13 @@
"_name": "btn", "_name": "btn",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 121 "__id__": 120
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 123 "__id__": 122
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6092,7 +6030,7 @@ ...@@ -6092,7 +6030,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 122 "__id__": 121
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -6111,13 +6049,13 @@ ...@@ -6111,13 +6049,13 @@
"_name": "tip", "_name": "tip",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 121 "__id__": 120
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 125 "__id__": 124
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6173,7 +6111,7 @@ ...@@ -6173,7 +6111,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 124 "__id__": 123
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -6192,13 +6130,13 @@ ...@@ -6192,13 +6130,13 @@
"_name": "tosmall", "_name": "tosmall",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 121 "__id__": 120
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 127 "__id__": 126
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6254,7 +6192,7 @@ ...@@ -6254,7 +6192,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 126 "__id__": 125
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -6273,13 +6211,13 @@ ...@@ -6273,13 +6211,13 @@
"_name": "pagenext", "_name": "pagenext",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 121 "__id__": 120
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 129 "__id__": 128
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6335,7 +6273,7 @@ ...@@ -6335,7 +6273,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 128 "__id__": 127
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -6354,13 +6292,13 @@ ...@@ -6354,13 +6292,13 @@
"_name": "arrow", "_name": "arrow",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 121 "__id__": 120
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 131 "__id__": 130
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6416,7 +6354,7 @@ ...@@ -6416,7 +6354,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 130 "__id__": 129
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -6435,13 +6373,13 @@ ...@@ -6435,13 +6373,13 @@
"_name": "right", "_name": "right",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 121 "__id__": 120
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 133 "__id__": 132
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6497,7 +6435,7 @@ ...@@ -6497,7 +6435,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 132 "__id__": 131
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -6570,34 +6508,28 @@ ...@@ -6570,34 +6508,28 @@
"__id__": 22 "__id__": 22
}, },
"layer_item_little": { "layer_item_little": {
"__id__": 36 "__id__": 59
}, },
"btn_record": { "btn_record": {
"__id__": 78 "__id__": 77
}, },
"layer_touch": { "layer_touch": {
"__id__": 15 "__id__": 15
}, },
"label_word": { "label_word": {
"__id__": 105 "__id__": 104
}, },
"ani_good": { "ani_good": {
"__id__": 107 "__id__": 106
}, },
"ani_npc": { "ani_npc": {
"__id__": 73 "__id__": 72
},
"label_round": {
"__id__": 42
}, },
"btn_last": { "btn_last": {
"__id__": 64 "__id__": 63
}, },
"btn_next": { "btn_next": {
"__id__": 68 "__id__": 67
},
"btn_voice": {
"__id__": 45
}, },
"_id": "eaTVUpqahPfZeO9+sUI7RP" "_id": "eaTVUpqahPfZeO9+sUI7RP"
} }
......
...@@ -90,7 +90,6 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -90,7 +90,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
initListener() { initListener() {
pg.view.touchOn(this.btn_last, this.preLayer, this); pg.view.touchOn(this.btn_last, this.preLayer, this);
pg.view.touchOn(this.btn_next, this.nextLayer, this); pg.view.touchOn(this.btn_next, this.nextLayer, this);
pg.view.touchOn(this.btn_voice, this.onTouchVoice, this);
pg.view.touchOn(this.btn_record, this.onTouchRecord, this); pg.view.touchOn(this.btn_record, this.onTouchRecord, this);
pg.view.touchOn(this.ani_npc, this.onPlayNpc, this); pg.view.touchOn(this.ani_npc, this.onPlayNpc, this);
...@@ -136,11 +135,11 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -136,11 +135,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.touchForbid = true; this.touchForbid = true;
this.voiceTouchForbid = true; this.voiceTouchForbid = true;
let currentLayer = this.createLayer(); let currentLayer = this.createLayer();
this.updateLayer(currentLayer, this.CurrentData) this.updateLayer(currentLayer, this.CurrentData, this.count)
this.layers.push(currentLayer) this.layers.push(currentLayer)
if (!this.NextData) return; if (!this.NextData) return;
let nextLayer = this.createLittleLayer(); let nextLayer = this.createLittleLayer();
this.updateLayer(nextLayer, this.NextData) this.updateLayer(nextLayer, this.NextData, this.count + 1)
this.layers.push(nextLayer) this.layers.push(nextLayer)
} }
startGame() { startGame() {
...@@ -153,7 +152,8 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -153,7 +152,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.recordAudio = ""; this.recordAudio = "";
this.label_word.active = false; this.label_word.active = false;
this.touchForbid = true; this.touchForbid = true;
let com = this.btn_voice.getComponent(ImgAuto); let btn_voice = pg.view.find(this.CurrentLayer, 'btn_voice')
let com = btn_voice.getComponent(ImgAuto);
com.playVoiceStart(); com.playVoiceStart();
pg.audio.playAudioByUrl(this.CurrentData.audio, () => { pg.audio.playAudioByUrl(this.CurrentData.audio, () => {
this.currentAudioId = null; this.currentAudioId = null;
...@@ -167,9 +167,6 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -167,9 +167,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
private showLastNext: number; private showLastNext: number;
updateBtns(dt) { updateBtns(dt) {
if (this.CurrentData) {
pg.view.setString(this.label_round, `${this.count + 1}/${this.list.length}`);
}
this.showLastNext -= dt; this.showLastNext -= dt;
this.btn_last.active = this.showLastNext > 0 && !!this.LastData; this.btn_last.active = this.showLastNext > 0 && !!this.LastData;
this.btn_next.active = this.showLastNext > 0 && !!this.NextData; this.btn_next.active = this.showLastNext > 0 && !!this.NextData;
...@@ -446,7 +443,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -446,7 +443,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 停止当前所有动作 // 停止当前所有动作
if (this.OutData && !this.OutLayer) { if (this.OutData && !this.OutLayer) {
let outLayer = this.createLittleLayer(); let outLayer = this.createLittleLayer();
this.updateLayer(outLayer, this.OutData) this.updateLayer(outLayer, this.OutData, this.count + 2)
outLayer.x = 3500; outLayer.x = 3500;
this.layers.push(outLayer) this.layers.push(outLayer)
} }
...@@ -523,18 +520,15 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -523,18 +520,15 @@ export default class SceneComponent extends MyCocosSceneComponent {
return layer; return layer;
} }
@property(cc.Node)
public label_round: cc.Node = null;
@property(cc.Node) @property(cc.Node)
public btn_last: cc.Node = null; public btn_last: cc.Node = null;
@property(cc.Node) @property(cc.Node)
public btn_next: cc.Node = null; public btn_next: cc.Node = null;
@property(cc.Node) updateLayer(layer, data, i) {
public btn_voice: cc.Node = null;
updateLayer(layer, data) {
if (!layer || !data) return; if (!layer || !data) return;
// 根据数据来渲染 // 根据数据来渲染
let label_round = pg.view.find(layer, 'label_round')
let itemBg1 = pg.view.find(layer, 'bg_1') let itemBg1 = pg.view.find(layer, 'bg_1')
let itemBg2 = pg.view.find(layer, 'bg_2') let itemBg2 = pg.view.find(layer, 'bg_2')
let itemBg3 = pg.view.find(layer, 'bg_3') let itemBg3 = pg.view.find(layer, 'bg_3')
...@@ -558,10 +552,15 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -558,10 +552,15 @@ export default class SceneComponent extends MyCocosSceneComponent {
img.active = true; img.active = true;
pg.view.setNetImg(img, data.image, { w: wh[0], h: wh[1] }) pg.view.setNetImg(img, data.image, { w: wh[0], h: wh[1] })
pg.view.setString(label_round, `${i + 1}/${this.list.length}`);
pg.view.touchOn(pg.view.find(layer, "btn_voice"), this.onTouchVoice, this);
} }
onTouchVoice(e) { onTouchVoice(e) {
console.log(this.voiceTouchForbid)
if (this.voiceTouchForbid) return; if (this.voiceTouchForbid) return;
let com = this.btn_voice.getComponent(ImgAuto); let btn_voice = e.target;
let com = btn_voice.getComponent(ImgAuto);
com.playVoiceStart(); com.playVoiceStart();
pg.audio.playAudioByUrl(this.CurrentData.audio, () => { pg.audio.playAudioByUrl(this.CurrentData.audio, () => {
com.playVoiceEnd(); com.playVoiceEnd();
......
export const defaultData = export const defaultData =
// {
// "recordFlag": 2,
// "title": "test",
// "questionText": "",
// "questionTextAudio": "",
// "questions": [
// {
// "questionAudio": "",
// "duration": 120,
// "options": [
// {
// "type": "img_txt_audio",
// "image": "http://staging-teach.cdn.ireadabc.com/cadf4f62024a1e932aa8c108de0d0a27.jpg",
// "audio": "http://staging-teach.cdn.ireadabc.com/f7fb9f71ab7d460ac2f78c85efba7610_l.mp3",
// "text": "This is Annie's apple tree?",
// "duration": 5,
// "content": "yes,It is Annie's apple tree.",
// "right": false,
// "imageBig": 3,
// "audioName": "btn_hy01_danci.mp3",
// npcAudio: "http://staging-teach.cdn.ireadabc.com/7f617b30a5eb2a090234920500f9c7ce_l.mp3",
// npcAudioName: "right_sn17_danci.mp3"
// }, {
// "type": "img_txt_audio",
// "image": "http://staging-teach.cdn.ireadabc.com/befdc1801d93fd95b3a8ee7c7a2d2d05.png", "audio": "http://staging-teach.cdn.ireadabc.com/43839adb578c7e01456748b8a176a0c3_l.mp3", "text": "clound in air", "duration": 10,
// "content": "clound is cloud", "right": false, "audioName": "敲碎蛋的声音.mp3", "imageBig": 2,
// npcAudio: "http://staging-teach.cdn.ireadabc.com/7f617b30a5eb2a090234920500f9c7ce_l.mp3",
// npcAudioName: "right_sn17_danci.mp3"
// }, {
// "type": "img_txt_audio", "imageBig": 1, "image": "http://staging-teach.cdn.ireadabc.com/ef1e6f871b37ad482e268809e91d20b7.png", "audio": "http://staging-teach.cdn.ireadabc.com/5f4e4c72671607bb35d1ecd1d291f238_l.mp3", "text": "", "duration": 10, "content": "", "right": false, "audioName": "excellent_dg10_ty.mp3"
// }]
// }],
// "bgAudio": "", "bgAudioName": "", "audioName": "", "npcTitle": "test",
// "npcAudio": "http://staging-teach.cdn.ireadabc.com/fd75d456ec85f8c90ffd03f1d9d8d10f_l.mp3", "npcAudioName": "tryagain_dg10_ty.mp3", "word_count": "20", "sentence_count": "11", "zi_count": "33"
// }
{ {
"recordFlag": "3", "recordFlag": 2,
"npcTitle": "一问一答", "title": "test",
"npcAudio": "http://staging-teach.cdn.ireadabc.com/b6a1ee625d8298a757e8d78bf50352ab_l.mp3",
"npcAudioName": "a apple.mp3",
"questionText": "", "questionText": "",
"questionTextAudio": "", "questionTextAudio": "",
"questions": [ "questions": [
...@@ -48,24 +11,61 @@ export const defaultData = ...@@ -48,24 +11,61 @@ export const defaultData =
"options": [ "options": [
{ {
"type": "img_txt_audio", "type": "img_txt_audio",
"imageBig": 1, "image": "http://staging-teach.cdn.ireadabc.com/cadf4f62024a1e932aa8c108de0d0a27.jpg",
"image": "http://staging-teach.cdn.ireadabc.com/6d78cd31a6d72ad30db6da53ddad47c6.jpeg", "audio": "http://staging-teach.cdn.ireadabc.com/f7fb9f71ab7d460ac2f78c85efba7610_l.mp3",
"audio": "http://staging-teach.cdn.ireadabc.com/45f046740d0172760c854babde438355_l.mp3", "text": "This is Annie's apple tree?",
"text": "", "duration": 5,
"duration": "", "content": "yes,It is Annie's apple tree.",
"content": "",
"right": false, "right": false,
"audioName": "a alligator.mp3", "imageBig": 3,
"npcAudio": "http://staging-teach.cdn.ireadabc.com/651907aeee4b61ed893657c9fd8fd83d_l.mp3", "audioName": "btn_hy01_danci.mp3",
"npcAudioName": "What festival are they having?.mp3" npcAudio: "http://staging-teach.cdn.ireadabc.com/7f617b30a5eb2a090234920500f9c7ce_l.mp3",
} npcAudioName: "right_sn17_danci.mp3"
] }, {
} "type": "img_txt_audio",
], "image": "http://staging-teach.cdn.ireadabc.com/befdc1801d93fd95b3a8ee7c7a2d2d05.png", "audio": "http://staging-teach.cdn.ireadabc.com/43839adb578c7e01456748b8a176a0c3_l.mp3", "text": "clound in air", "duration": 10,
"bgAudio": "", "content": "clound is cloud", "right": false, "audioName": "敲碎蛋的声音.mp3", "imageBig": 2,
"bgAudioName": "", npcAudio: "http://staging-teach.cdn.ireadabc.com/7f617b30a5eb2a090234920500f9c7ce_l.mp3",
"word_count": "0", npcAudioName: "right_sn17_danci.mp3"
"sentence_count": "0", }, {
"zi_count": "0", "type": "img_txt_audio", "imageBig": 1, "image": "http://staging-teach.cdn.ireadabc.com/ef1e6f871b37ad482e268809e91d20b7.png", "audio": "http://staging-teach.cdn.ireadabc.com/5f4e4c72671607bb35d1ecd1d291f238_l.mp3", "text": "", "duration": 10, "content": "", "right": false, "audioName": "excellent_dg10_ty.mp3"
"audioName": "" }]
} }],
\ No newline at end of file "bgAudio": "", "bgAudioName": "", "audioName": "", "npcTitle": "test",
"npcAudio": "http://staging-teach.cdn.ireadabc.com/fd75d456ec85f8c90ffd03f1d9d8d10f_l.mp3", "npcAudioName": "tryagain_dg10_ty.mp3", "word_count": "20", "sentence_count": "11", "zi_count": "33"
}
// {
// "recordFlag": "3",
// "npcTitle": "一问一答",
// "npcAudio": "http://staging-teach.cdn.ireadabc.com/b6a1ee625d8298a757e8d78bf50352ab_l.mp3",
// "npcAudioName": "a apple.mp3",
// "questionText": "",
// "questionTextAudio": "",
// "questions": [
// {
// "questionAudio": "",
// "duration": 120,
// "options": [
// {
// "type": "img_txt_audio",
// "imageBig": 1,
// "image": "http://staging-teach.cdn.ireadabc.com/6d78cd31a6d72ad30db6da53ddad47c6.jpeg",
// "audio": "http://staging-teach.cdn.ireadabc.com/45f046740d0172760c854babde438355_l.mp3",
// "text": "",
// "duration": "",
// "content": "",
// "right": false,
// "audioName": "a alligator.mp3",
// "npcAudio": "http://staging-teach.cdn.ireadabc.com/651907aeee4b61ed893657c9fd8fd83d_l.mp3",
// "npcAudioName": "What festival are they having?.mp3"
// }
// ]
// }
// ],
// "bgAudio": "",
// "bgAudioName": "",
// "word_count": "0",
// "sentence_count": "0",
// "zi_count": "0",
// "audioName": ""
// }
\ No newline at end of file
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