Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
ngt10_tydh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
ngt10_tydh
Commits
88e32403
Commit
88e32403
authored
Nov 17, 2022
by
yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增图片类型
parent
1bad1dfe
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
2047 additions
and
389 deletions
+2047
-389
ngt10_tydh.fire
assets/ngt10_tydh/scene/ngt10_tydh.fire
+1749
-365
ngt10_tydh.ts
assets/ngt10_tydh/scene/ngt10_tydh.ts
+86
-11
Game.ts
assets/ngt10_tydh/scene/tool/Game.ts
+4
-2
defaultData.ts
assets/ngt10_tydh/script/defaultData.ts
+3
-3
bg3.png
assets/ngt10_tydh/textures/bg3.png
+0
-0
bg3.png.meta
assets/ngt10_tydh/textures/bg3.png.meta
+36
-0
bg_text.png
assets/ngt10_tydh/textures/bg_text.png
+0
-0
bg_text.png.meta
assets/ngt10_tydh/textures/bg_text.png.meta
+36
-0
btn_close.png
assets/ngt10_tydh/textures/btn_close.png
+0
-0
btn_close.png.meta
assets/ngt10_tydh/textures/btn_close.png.meta
+36
-0
pic.jpg
assets/ngt10_tydh/textures/pic.jpg
+0
-0
pic.jpg.meta
assets/ngt10_tydh/textures/pic.jpg.meta
+36
-0
pic_box.png
assets/ngt10_tydh/textures/pic_box.png
+0
-0
pic_box.png.meta
assets/ngt10_tydh/textures/pic_box.png.meta
+36
-0
form.component.html
form/src/app/form/form.component.html
+21
-7
form.component.ts
form/src/app/form/form.component.ts
+4
-1
No files found.
assets/ngt10_tydh/scene/ngt10_tydh.fire
View file @
88e32403
...
...
@@ -105,31 +105,34 @@
"__id__": 131
},
{
"__id__": 1
33
"__id__": 1
40
},
{
"__id__": 1
35
"__id__": 1
53
},
{
"__id__": 1
53
"__id__": 1
71
},
{
"__id__": 1
55
"__id__": 1
81
},
{
"__id__": 169
"__id__": 183
},
{
"__id__": 197
}
],
"_active": true,
"_components": [
{
"__id__":
177
"__id__":
205
},
{
"__id__":
178
"__id__":
206
},
{
"__id__":
179
"__id__":
207
}
],
"_prefab": null,
...
...
@@ -6015,7 +6018,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
1dd9d6bd-29e4-4815-972e-012a2320dfdc
"
"__uuid__": "
3f24ea61-fd4e-47c5-92fb-101bf0bd77f7
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -6091,18 +6094,27 @@
},
{
"__type__": "cc.Node",
"_name": "
record
_word",
"_name": "
layout
_word",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
"_children": [
{
"__id__": 132
},
{
"__id__": 134
},
{
"__id__": 136
},
{
"__id__": 138
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
...
...
@@ -6114,8 +6126,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
85
0,
"height":
69.3
"width":
100
0,
"height":
360
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -6126,8 +6138,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
9
5,
0
,
86.25
5,
70.572
,
0,
0,
0,
...
...
@@ -6149,55 +6161,20 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "a2q85/CvlDQqY3j+MB/RQi"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 131
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 55,
"_lineHeight": 55,
"_enableWrapText": false,
"_N$file": {
"__uuid__": "6ffefcae-12ff-4a0c-96ee-a733506360f1"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 2,
"_N$cacheMode": 0,
"_id": "1fh0hf05JP/5i6ufwXIIIr"
"_id": "f2u1azK35Gwq/l5FG1nnOT"
},
{
"__type__": "cc.Node",
"_name": "
question_word
",
"_name": "
bg_text
",
"_objFlags": 0,
"_parent": {
"__id__":
2
"__id__":
131
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
4
"__id__": 13
3
}
],
"_prefab": null,
...
...
@@ -6211,8 +6188,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
850
,
"height":
69.3
"width":
911
,
"height":
107
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -6223,8 +6200,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
95
,
146.214
,
0
,
75
,
0,
0,
0,
...
...
@@ -6246,14 +6223,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
b7BdK3pndLe5NJ8QTkC5EA
"
"_id": "
e0WShgpWhIZ45B2b3od/uf
"
},
{
"__type__": "cc.
Label
",
"__type__": "cc.
Sprite
",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
3
"__id__": 13
2
},
"_enabled": true,
"_materials": [
...
...
@@ -6263,48 +6240,35 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 55,
"_lineHeight": 55,
"_enableWrapText": false,
"_N$file": {
"__uuid__": "6ffefcae-12ff-4a0c-96ee-a733506360f1"
"_spriteFrame": {
"__uuid__": "d9143143-15c2-4f19-ab93-79f11b0fde4a"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 2,
"_N$cacheMode": 0,
"_id": "02Drw6z41A9qPET8CRXsWn"
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "00Uedvra9OIKelcjaOeizG"
},
{
"__type__": "cc.Node",
"_name": "
layout_top
",
"_name": "
bg_text
",
"_objFlags": 0,
"_parent": {
"__id__":
2
"__id__":
131
},
"_children": [
{
"__id__": 136
},
{
"__id__": 139
}
],
"_children": [],
"_active": true,
"_components": [
{
"__id__": 151
},
{
"__id__": 152
"__id__": 135
}
],
"_prefab": null,
...
...
@@ -6318,8 +6282,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
1920
,
"height":
94
"width":
911
,
"height":
107
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -6331,7 +6295,7 @@
"ctor": "Float64Array",
"array": [
0,
493
,
-72.15
,
0,
0,
0,
...
...
@@ -6353,23 +6317,52 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "ad7QI1YydNoaDFdHhubKGc"
"_id": "16xhgI7NlFpIqqjQJ75f1W"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 134
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d9143143-15c2-4f19-ab93-79f11b0fde4a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "7etkoeI9BDObL9oEEg6AYH"
},
{
"__type__": "cc.Node",
"_name": "
label_title
",
"_name": "
record_word
",
"_objFlags": 0,
"_parent": {
"__id__": 13
5
"__id__": 13
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 137
},
{
"__id__": 138
}
],
"_prefab": null,
...
...
@@ -6383,20 +6376,20 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
90.53
,
"height":
57.96
"width":
850
,
"height":
69.3
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"x": 0
.5
,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-840
,
0
,
8.745
,
-70.572
,
0,
0,
0,
...
...
@@ -6418,7 +6411,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
580ASwtcJOb4kHAieQgFvD
"
"_id": "
a2q85/CvlDQqY3j+MB/RQi
"
},
{
"__type__": "cc.Label",
...
...
@@ -6435,11 +6428,11 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "
标题
",
"_N$string": "
标题
",
"_fontSize":
46
,
"_lineHeight":
46
,
"_enableWrapText":
tru
e,
"_string": "",
"_N$string": "",
"_fontSize":
55
,
"_lineHeight":
55
,
"_enableWrapText":
fals
e,
"_N$file": {
"__uuid__": "6ffefcae-12ff-4a0c-96ee-a733506360f1"
},
...
...
@@ -6451,56 +6444,22 @@
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow":
0
,
"_N$overflow":
2
,
"_N$cacheMode": 0,
"_id": "4017Tt6XNHDbKgw5lUHTeZ"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 136
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 8,
"_left": 120,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "aeEbHdwC5J3Kjm8v5Pb9FC"
"_id": "1fh0hf05JP/5i6ufwXIIIr"
},
{
"__type__": "cc.Node",
"_name": "
layout_mouse
",
"_name": "
question_word
",
"_objFlags": 0,
"_parent": {
"__id__": 13
5
"__id__": 13
1
},
"_children": [
{
"__id__": 140
}
],
"_children": [],
"_active": true,
"_components": [
{
"__id__": 149
},
{
"__id__": 150
"__id__": 139
}
],
"_prefab": null,
...
...
@@ -6514,20 +6473,20 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height":
0
"width":
85
0,
"height":
69.3
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x":
1
,
"x":
0.5
,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0
,
-493
,
8.745
,
75.642
,
0,
0,
0,
...
...
@@ -6549,31 +6508,1537 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
653l8hjqBPpbwg26KpAFhg
"
"_id": "
b7BdK3pndLe5NJ8QTkC5EA
"
},
{
"__type__": "cc.
Node
",
"_name": "
img
",
"__type__": "cc.
Label
",
"_name": "",
"_objFlags": 0,
"
_parent
": {
"__id__": 13
9
"
node
": {
"__id__": 13
8
},
"_children": [
{
"__id__": 141
},
{
"__id__": 143
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 55,
"_lineHeight": 55,
"_enableWrapText": false,
"_N$file": {
"__uuid__": "6ffefcae-12ff-4a0c-96ee-a733506360f1"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 2,
"_N$cacheMode": 0,
"_id": "02Drw6z41A9qPET8CRXsWn"
},
{
"__type__": "cc.Node",
"_name": "layout_pic",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 141
},
{
"__id__": 143
},
{
"__id__": 145
},
{
"__id__": 147
"__id__": 147
},
{
"__id__": 149
},
{
"__id__": 151
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1000,
"height": 360
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
86.255,
70.572,
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": "dfdOz8tR5HzaNMNkSWrF+Z"
},
{
"__type__": "cc.Node",
"_name": "bg_text",
"_objFlags": 0,
"_parent": {
"__id__": 140
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 142
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 600,
"height": 107
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
143.363,
75,
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": "6c6r9+14tJYogMxU1A54kR"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 141
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d9143143-15c2-4f19-ab93-79f11b0fde4a"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "4dFMRc4OVEDYUp4Ja4vvOc"
},
{
"__type__": "cc.Node",
"_name": "bg_text",
"_objFlags": 0,
"_parent": {
"__id__": 140
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 144
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 600,
"height": 107
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
143.363,
-72.15,
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": "a2B00ZQrlIpIk9OYEcLvCX"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 143
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d9143143-15c2-4f19-ab93-79f11b0fde4a"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "6efRymVRhFn51pKm7ph3um"
},
{
"__type__": "cc.Node",
"_name": "record_word",
"_objFlags": 0,
"_parent": {
"__id__": 140
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 146
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 550,
"height": 69.3
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
144.612,
-69.572,
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": "7d0otOQT9L4ZEHSVjAQ4GM"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 145
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 55,
"_lineHeight": 55,
"_enableWrapText": false,
"_N$file": {
"__uuid__": "6ffefcae-12ff-4a0c-96ee-a733506360f1"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 2,
"_N$cacheMode": 0,
"_id": "15UGNRektJobX29gzGofX4"
},
{
"__type__": "cc.Node",
"_name": "question_word",
"_objFlags": 0,
"_parent": {
"__id__": 140
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 148
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 550,
"height": 69.3
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
144.612,
76.642,
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": "3bo3RmPdNBvJmU57oGoY//"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 147
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 55,
"_lineHeight": 55,
"_enableWrapText": false,
"_N$file": {
"__uuid__": "6ffefcae-12ff-4a0c-96ee-a733506360f1"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 2,
"_N$cacheMode": 0,
"_id": "84a9FwK31EvpgLLEdaZmEd"
},
{
"__type__": "cc.Node",
"_name": "pic_box",
"_objFlags": 0,
"_parent": {
"__id__": 140
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 150
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 252,
"height": 252
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-318.584,
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": "4bj61FgcNLE4FNfuIQQJc/"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 149
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c6d5765b-730f-4f41-b95e-8241655ad3a2"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "c5UEEGI7JBRqWYSe9EH0Jw"
},
{
"__type__": "cc.Node",
"_name": "pic",
"_objFlags": 0,
"_parent": {
"__id__": 140
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 152
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 242,
"height": 242
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-318.332,
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": "d4hn+AXSpHbKLA83ciBE2e"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 151
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "5byeGhi5lJzp4zZBNuhL/d"
},
{
"__type__": "cc.Node",
"_name": "layout_top",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 154
},
{
"__id__": 157
}
],
"_active": true,
"_components": [
{
"__id__": 169
},
{
"__id__": 170
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 94
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
493,
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": "ad7QI1YydNoaDFdHhubKGc"
},
{
"__type__": "cc.Node",
"_name": "label_title",
"_objFlags": 0,
"_parent": {
"__id__": 153
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 155
},
{
"__id__": 156
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 90.53,
"height": 57.96
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-840,
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": "580ASwtcJOb4kHAieQgFvD"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "标题",
"_N$string": "标题",
"_fontSize": 46,
"_lineHeight": 46,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "6ffefcae-12ff-4a0c-96ee-a733506360f1"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "4017Tt6XNHDbKgw5lUHTeZ"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 8,
"_left": 120,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "aeEbHdwC5J3Kjm8v5Pb9FC"
},
{
"__type__": "cc.Node",
"_name": "layout_mouse",
"_objFlags": 0,
"_parent": {
"__id__": 153
},
"_children": [
{
"__id__": 158
}
],
"_active": true,
"_components": [
{
"__id__": 167
},
{
"__id__": 168
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 1,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-493,
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": "653l8hjqBPpbwg26KpAFhg"
},
{
"__type__": "cc.Node",
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 157
},
"_children": [
{
"__id__": 159
},
{
"__id__": 161
},
{
"__id__": 163
},
{
"__id__": 165
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_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": "9b8EZ8e3hK+7fuCGMCHFL3"
},
{
"__type__": "cc.Node",
"_name": "star_bg",
"_objFlags": 0,
"_parent": {
"__id__": 158
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 160
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 54,
"height": 66
},
"_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": "4fet/xI55MFIbVdcOdFLlR"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 159
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b60b5ec2-365a-4e92-8efb-a6752d4c96dd"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "d1GxbLOFVMoZjDnKgn9YZl"
},
{
"__type__": "cc.Node",
"_name": "star",
"_objFlags": 0,
"_parent": {
"__id__": 158
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 162
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 54,
"height": 66
},
"_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": "2cpSPmAW1KXbHna2OmR/fz"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 161
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f2e30c82-5b8f-45fe-aa5e-6a0e6e8646aa"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "f2wM3O0WtAAbIqUNVhxIo4"
},
{
"__type__": "cc.Node",
"_name": "icon_bigstar",
"_objFlags": 0,
"_parent": {
"__id__": 158
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 164
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 150
},
"_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": "c5Zsgh6WpFGIHpd2I5zAXW"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 163
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f4ddb69d-5089-4a2d-b0fd-1002f178ca34"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "675FBpAsRNxYhlirgQxWAb"
},
{
"__type__": "cc.Node",
"_name": "star_wrong",
"_objFlags": 0,
"_parent": {
"__id__": 158
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 166
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 54,
"height": 66
},
"_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": "12PydWrvBAPJGKT6mL0/Ww"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 165
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "81ede1c0-8cd6-4e2c-a432-1ff8b49d864c"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "79yjJFpSRA1aMO3VoxqFwk"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 157
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 1,
"_left": 0,
"_right": 0,
"_top": 540,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "9f5sfYn1dOVbnLoe8lBcsK"
},
{
"__type__": "85458/66cdENrZQhCqeYyUf",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 157
},
"_enabled": true,
"position": {
"__type__": "cc.Vec2",
"x": 650,
"y": 495
},
"bigStarClip": {
"__uuid__": "96b233f5-2d7f-442a-bb1e-f3fe807aa2be"
},
"starCountClip": {
"__uuid__": "96b233f5-2d7f-442a-bb1e-f3fe807aa2be"
},
"_id": "55ikzBt/RDXbj9S9ZjH7e8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 153
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "de68101c-0ee4-4cd7-81f2-6d04ce62b462"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "e1gEmi1pBOiqL2v9zm12XF"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 153
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 41,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1920,
"_originalHeight": 0,
"_id": "54N7GujG5CYbAesBetw49x"
},
{
"__type__": "cc.Node",
"_name": "layout_img",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 172
},
{
"__id__": 174
},
{
"__id__": 176
},
{
"__id__": 178
}
],
"_active": false,
"_components": [],
"_components": [
{
"__id__": 180
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
...
...
@@ -6585,8 +8050,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width":
192
0,
"height":
108
0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -6620,35 +8085,35 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
9b8EZ8e3hK+7fuCGMCHFL3
"
"_id": "
82kIndH1ZNM6++8bdCKT29
"
},
{
"__type__": "cc.Node",
"_name": "
star_bg
",
"_name": "
New Sprite(Splash)
",
"_objFlags": 0,
"_parent": {
"__id__": 1
40
"__id__": 1
71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
42
"__id__": 1
73
}
],
"_prefab": null,
"_opacity":
255
,
"_opacity":
120
,
"_color": {
"__type__": "cc.Color",
"r":
255
,
"g":
255
,
"b":
255
,
"r":
0
,
"g":
0
,
"b":
0
,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width":
54
,
"height":
66
"width":
1920
,
"height":
1080
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -6682,14 +8147,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
4fet/xI55MFIbVdcOdFLlR
"
"_id": "
3159941cFJvYARPC+XaFmC
"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
41
"__id__": 1
72
},
"_enabled": true,
"_materials": [
...
...
@@ -6700,10 +8165,10 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
b60b5ec2-365a-4e92-8efb-a6752d4c96dd
"
"__uuid__": "
a23235d1-15db-4b95-8439-a2e005bfff91
"
},
"_type": 0,
"_sizeMode":
2
,
"_sizeMode":
0
,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
...
...
@@ -6712,22 +8177,22 @@
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode":
fals
e,
"_isTrimmedMode":
tru
e,
"_atlas": null,
"_id": "
d1GxbLOFVMoZjDnKgn9YZl
"
"_id": "
f0n37e2mJBaLtvOSCX4PMg
"
},
{
"__type__": "cc.Node",
"_name": "s
tar
",
"_name": "s
mall_pic
",
"_objFlags": 0,
"_parent": {
"__id__": 1
40
"__id__": 1
71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
44
"__id__": 1
75
}
],
"_prefab": null,
...
...
@@ -6741,8 +8206,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
54
,
"height":
66
"width":
242
,
"height":
242
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -6753,8 +8218,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0
,
0
,
-232.077
,
70.572
,
0,
0,
0,
...
...
@@ -6776,14 +8241,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
2cpSPmAW1KXbHna2OmR/fz
"
"_id": "
97cKx92mFBL4f9cvnDFP5e
"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
43
"__id__": 1
74
},
"_enabled": true,
"_materials": [
...
...
@@ -6793,11 +8258,9 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f2e30c82-5b8f-45fe-aa5e-6a0e6e8646aa"
},
"_spriteFrame": null,
"_type": 0,
"_sizeMode":
2
,
"_sizeMode":
0
,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
...
...
@@ -6806,22 +8269,22 @@
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode":
fals
e,
"_isTrimmedMode":
tru
e,
"_atlas": null,
"_id": "
f2wM3O0WtAAbIqUNVhxIo4
"
"_id": "
3dK+h1zsRI2qnjh8nxPgkZ
"
},
{
"__type__": "cc.Node",
"_name": "
icon_bigstar
",
"_name": "
big_pic
",
"_objFlags": 0,
"_parent": {
"__id__": 1
40
"__id__": 1
71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
46
"__id__": 1
77
}
],
"_prefab": null,
...
...
@@ -6835,8 +8298,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
15
0,
"height":
15
0
"width":
72
0,
"height":
72
0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -6870,14 +8333,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
c5Zsgh6WpFGIHpd2I5zAXW
"
"_id": "
500V+XWGRF4quC2fVIuTHd
"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
45
"__id__": 1
76
},
"_enabled": true,
"_materials": [
...
...
@@ -6887,11 +8350,9 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f4ddb69d-5089-4a2d-b0fd-1002f178ca34"
},
"_spriteFrame": null,
"_type": 0,
"_sizeMode":
2
,
"_sizeMode":
0
,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
...
...
@@ -6900,22 +8361,22 @@
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode":
fals
e,
"_isTrimmedMode":
tru
e,
"_atlas": null,
"_id": "67
5FBpAsRNxYhlirgQxWAb
"
"_id": "67
9C+MmoxHhY3KmWoz92ww
"
},
{
"__type__": "cc.Node",
"_name": "
star_wrong
",
"_name": "
btn_close
",
"_objFlags": 0,
"_parent": {
"__id__": 1
40
"__id__": 1
71
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
48
"__id__": 1
79
}
],
"_prefab": null,
...
...
@@ -6929,8 +8390,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
54
,
"height": 6
6
"width":
60
,
"height": 6
0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -6941,8 +8402,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0
,
0
,
407.244
,
358.318
,
0,
0,
0,
...
...
@@ -6964,94 +8425,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "12PydWrvBAPJGKT6mL0/Ww"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 147
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "81ede1c0-8cd6-4e2c-a432-1ff8b49d864c"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "79yjJFpSRA1aMO3VoxqFwk"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 139
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 1,
"_left": 0,
"_right": 0,
"_top": 540,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "9f5sfYn1dOVbnLoe8lBcsK"
},
{
"__type__": "85458/66cdENrZQhCqeYyUf",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 139
},
"_enabled": true,
"position": {
"__type__": "cc.Vec2",
"x": 650,
"y": 495
},
"bigStarClip": {
"__uuid__": "96b233f5-2d7f-442a-bb1e-f3fe807aa2be"
},
"starCountClip": {
"__uuid__": "96b233f5-2d7f-442a-bb1e-f3fe807aa2be"
},
"_id": "55ikzBt/RDXbj9S9ZjH7e8"
"_id": "daZESUOshId4xi2FSNKijs"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
35
"__id__": 1
78
},
"_enabled": true,
"_materials": [
...
...
@@ -7062,10 +8443,10 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
de68101c-0ee4-4cd7-81f2-6d04ce62b462
"
"__uuid__": "
61e4ee90-b002-4136-a69e-d680cb74b360
"
},
"_type": 0,
"_sizeMode":
2
,
"_sizeMode":
1
,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
...
...
@@ -7074,21 +8455,21 @@
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode":
fals
e,
"_isTrimmedMode":
tru
e,
"_atlas": null,
"_id": "
e1gEmi1pBOiqL2v9zm12XF
"
"_id": "
53OntbAolNSKe9JGV5+Ezq
"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
35
"__id__": 1
71
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 4
1
,
"_alignFlags": 4
5
,
"_left": 0,
"_right": 0,
"_top": 0,
...
...
@@ -7102,8 +8483,8 @@
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1920,
"_originalHeight": 0,
"_id": "
54N7GujG5CYbAesBetw49x
"
"_originalHeight":
108
0,
"_id": "
acAyZPWvBFt5TtqfXH7akn
"
},
{
"__type__": "cc.Node",
...
...
@@ -7116,7 +8497,7 @@
"_active": true,
"_components": [
{
"__id__": 1
54
"__id__": 1
82
}
],
"_prefab": null,
...
...
@@ -7172,7 +8553,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
53
"__id__": 1
81
},
"_enabled": true,
"_materials": [
...
...
@@ -7208,22 +8589,22 @@
},
"_children": [
{
"__id__": 1
56
"__id__": 1
84
},
{
"__id__": 1
60
"__id__": 1
88
},
{
"__id__": 1
62
"__id__": 1
90
},
{
"__id__": 1
65
"__id__": 1
93
}
],
"_active": false,
"_components": [
{
"__id__": 1
68
"__id__": 1
96
}
],
"_prefab": null,
...
...
@@ -7279,19 +8660,19 @@
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_parent": {
"__id__": 1
55
"__id__": 1
83
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
57
"__id__": 1
85
},
{
"__id__": 1
58
"__id__": 1
86
},
{
"__id__": 1
59
"__id__": 1
87
}
],
"_prefab": null,
...
...
@@ -7347,7 +8728,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
56
"__id__": 1
84
},
"_enabled": true,
"_materials": [
...
...
@@ -7379,7 +8760,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
56
"__id__": 1
84
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -7406,7 +8787,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
56
"__id__": 1
84
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -7474,13 +8855,13 @@
"_name": "finish_db",
"_objFlags": 0,
"_parent": {
"__id__": 1
55
"__id__": 1
83
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
61
"__id__": 1
89
}
],
"_prefab": null,
...
...
@@ -7536,7 +8917,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
60
"__id__": 1
88
},
"_enabled": true,
"_materials": [
...
...
@@ -7576,16 +8957,16 @@
"_name": "btn_again",
"_objFlags": 0,
"_parent": {
"__id__": 1
55
"__id__": 1
83
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
63
"__id__": 1
91
},
{
"__id__": 1
64
"__id__": 1
92
}
],
"_prefab": null,
...
...
@@ -7641,7 +9022,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
62
"__id__": 1
90
},
"_enabled": true,
"_materials": [
...
...
@@ -7673,7 +9054,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
62
"__id__": 1
90
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -7741,16 +9122,16 @@
"_name": "btn_next",
"_objFlags": 0,
"_parent": {
"__id__": 1
55
"__id__": 1
83
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
66
"__id__": 1
94
},
{
"__id__": 1
67
"__id__": 1
95
}
],
"_prefab": null,
...
...
@@ -7806,7 +9187,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
65
"__id__": 1
93
},
"_enabled": true,
"_materials": [
...
...
@@ -7838,7 +9219,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
65
"__id__": 1
93
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -7906,7 +9287,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
55
"__id__": 1
83
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -7937,16 +9318,16 @@
},
"_children": [
{
"__id__": 1
70
"__id__": 1
98
},
{
"__id__":
174
"__id__":
202
}
],
"_active": false,
"_components": [
{
"__id__":
176
"__id__":
204
}
],
"_prefab": null,
...
...
@@ -8002,19 +9383,19 @@
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_parent": {
"__id__": 1
69
"__id__": 1
97
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
71
"__id__": 1
99
},
{
"__id__":
172
"__id__":
200
},
{
"__id__":
173
"__id__":
201
}
],
"_prefab": null,
...
...
@@ -8070,7 +9451,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
70
"__id__": 1
98
},
"_enabled": true,
"_materials": [
...
...
@@ -8102,7 +9483,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
70
"__id__": 1
98
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -8170,7 +9551,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
70
"__id__": 1
98
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -8197,13 +9578,13 @@
"_name": "start_ske",
"_objFlags": 0,
"_parent": {
"__id__": 1
69
"__id__": 1
97
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
175
"__id__":
203
}
],
"_prefab": null,
...
...
@@ -8259,7 +9640,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
174
"__id__":
202
},
"_enabled": true,
"_materials": [
...
...
@@ -8295,7 +9676,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
69
"__id__": 1
97
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -8370,10 +9751,10 @@
},
"_enabled": true,
"layout_start": {
"__id__": 1
69
"__id__": 1
97
},
"layout_finish": {
"__id__": 1
55
"__id__": 1
83
},
"btn_laba": {
"__id__": 57
...
...
@@ -8387,15 +9768,18 @@
"img_record": {
"__id__": 68
},
"
record_word
": {
"__id__": 1
31
"
layout_pic
": {
"__id__": 1
40
},
"
question
_word": {
"__id__": 13
3
"
layout
_word": {
"__id__": 13
1
},
"box2d": {
"__id__": 80
},
"layout_img": {
"__id__": 171
},
"_id": "45CXemIxhH4YIC4kX1oyBq"
}
]
\ No newline at end of file
assets/ngt10_tydh/scene/ngt10_tydh.ts
View file @
88e32403
...
...
@@ -37,11 +37,13 @@ export default class SceneComponent extends MyCocosSceneComponent {
@
property
(
cc
.
Node
)
img_record
:
cc
.
Node
=
null
;
@
property
(
cc
.
Node
)
record_word
:
cc
.
Node
=
null
;
layout_pic
:
cc
.
Node
=
null
;
@
property
(
cc
.
Node
)
question
_word
:
cc
.
Node
=
null
;
layout
_word
:
cc
.
Node
=
null
;
@
property
(
cc
.
Node
)
box2d
:
cc
.
Node
=
null
;
@
property
(
cc
.
Node
)
layout_img
:
cc
.
Node
=
null
;
onLoadEnd
()
{
// TODO 加载完成后的逻辑写在这里, 下面的代码仅供参考
...
...
@@ -69,6 +71,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
btn_record
.
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
this
.
onRecord
,
this
);
this
.
btn_laba
.
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
this
.
showLaba
,
this
);
this
.
img_record
.
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
this
.
onTouchRecordEnd
,
this
);
cc
.
find
(
"
btn_close
"
,
this
.
layout_img
).
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
this
.
onCloseTips
,
this
);
pg
.
event
.
on
(
"
game_start
"
,
()
=>
{
this
.
gameStart
();
});
...
...
@@ -88,7 +91,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
gameStart
(
isPlayAudio
=
true
)
{
Game
.
getIns
().
state
=
GAME_STATE
.
RUNNING
;
this
.
showQuestion
();
this
.
showQuestion
(
isPlayAudio
);
isPlayAudio
&&
this
.
showLaba
();
}
...
...
@@ -98,8 +101,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
zjz_ske
.
active
=
false
;
this
.
playLocalAudio
(
"
again
"
);
this
.
initData
();
this
.
record_word
.
getComponent
(
cc
.
Label
).
string
=
""
;
this
.
question_word
.
getComponent
(
cc
.
Label
).
string
=
""
;
//
this.record_word.getComponent(cc.Label).string = "";
//
this.question_word.getComponent(cc.Label).string = "";
pg
.
event
.
emit
(
"
mouse_10_num
"
,
Game
.
getIns
().
total
);
pg
.
event
.
emit
(
'
box2d_init
'
,
Game
.
getIns
().
getTotalPageNum
());
this
.
gameStart
();
...
...
@@ -111,14 +114,84 @@ export default class SceneComponent extends MyCocosSceneComponent {
// let item = this.node.getChildByName("item");
// item.y -= 5;
}
private
showQuestion
()
{
private
showQuestion
(
showImg
=
true
)
{
let
question
=
Game
.
getIns
().
getCurrentPage
();
this
.
question_word
.
getComponent
(
cc
.
Label
).
string
=
question
.
text
;
if
(
question
.
type
==
"
txt
"
)
{
let
question_word
=
cc
.
find
(
"
question_word
"
,
this
.
layout_word
);
question_word
.
getComponent
(
cc
.
Label
).
string
=
question
.
text
;
let
record_word
=
cc
.
find
(
"
record_word
"
,
this
.
layout_word
);
record_word
.
getComponent
(
cc
.
Label
).
string
=
""
;
this
.
layout_word
.
active
=
true
;
this
.
layout_pic
.
active
=
false
;
}
else
{
let
question_word
=
cc
.
find
(
"
question_word
"
,
this
.
layout_pic
);
question_word
.
getComponent
(
cc
.
Label
).
string
=
question
.
text
;
let
record_word
=
cc
.
find
(
"
record_word
"
,
this
.
layout_pic
);
record_word
.
getComponent
(
cc
.
Label
).
string
=
""
;
let
pic
=
cc
.
find
(
"
pic
"
,
this
.
layout_pic
);
pg
.
view
.
setNetImg
(
pic
,
question
.
picUrl
,
{
w
:
242
,
h
:
242
});
this
.
layout_word
.
active
=
false
;
this
.
layout_pic
.
active
=
true
;
pic
.
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
this
.
showBigPic
,
this
);
showImg
&&
this
.
showLayoutImg
();
}
}
private
showRecordWord
(
word
)
{
let
question
=
Game
.
getIns
().
getCurrentPage
();
if
(
question
.
type
==
"
txt
"
)
{
let
record_word
=
cc
.
find
(
"
record_word
"
,
this
.
layout_word
);
record_word
.
getComponent
(
cc
.
Label
).
string
=
word
||
""
;
}
else
{
let
record_word
=
cc
.
find
(
"
record_word
"
,
this
.
layout_pic
);
record_word
.
getComponent
(
cc
.
Label
).
string
=
word
||
""
;
}
}
private
showLayoutImg
(
hide
=
true
)
{
let
question
=
Game
.
getIns
().
getCurrentPage
();
if
(
question
.
type
!=
"
img
"
)
return
;
let
big_pic
=
cc
.
find
(
"
big_pic
"
,
this
.
layout_img
);
big_pic
.
setPosition
(
0
,
0
);
big_pic
.
scale
=
1
;
pg
.
view
.
setNetImg
(
big_pic
,
question
.
picUrl
,
{
w
:
720
,
h
:
720
});
this
.
layout_img
.
active
=
true
;
hide
&&
this
.
tipsActionHide
();
}
private
tipsActionHide
(
isAction
=
true
)
{
let
big_pic
=
cc
.
find
(
"
big_pic
"
,
this
.
layout_img
);
let
small_pic
=
cc
.
find
(
"
small_pic
"
,
this
.
layout_img
);
let
scaleX
=
small_pic
.
width
/
big_pic
.
width
;
let
scaleY
=
small_pic
.
height
/
big_pic
.
height
;
let
t
=
isAction
?
4
:
0
;
let
btn
=
cc
.
find
(
"
btn_close
"
,
this
.
layout_img
);
btn
.
active
=
false
;
cc
.
tween
(
big_pic
).
delay
(
t
).
to
(
0.3
,
{
scaleX
:
scaleX
,
scaleY
:
scaleY
,
x
:
small_pic
.
x
,
y
:
small_pic
.
y
})
.
call
(()
=>
{
this
.
layout_img
.
active
=
false
;
})
.
start
();
}
private
showBigPic
()
{
let
big_pic
=
cc
.
find
(
"
big_pic
"
,
this
.
layout_img
);
let
small_pic
=
cc
.
find
(
"
small_pic
"
,
this
.
layout_img
);
let
scaleX
=
small_pic
.
width
/
big_pic
.
width
;
let
scaleY
=
small_pic
.
height
/
big_pic
.
height
;
big_pic
.
x
=
small_pic
.
x
;
big_pic
.
y
=
small_pic
.
y
;
small_pic
.
scaleX
=
scaleX
;
small_pic
.
scaleY
=
scaleY
;
this
.
layout_img
.
active
=
true
;
let
btn
=
cc
.
find
(
"
btn_close
"
,
this
.
layout_img
);
cc
.
tween
(
big_pic
).
to
(
0.3
,
{
scaleX
:
1
,
scaleY
:
1
,
x
:
0
,
y
:
0
})
.
call
(()
=>
{
btn
.
active
=
true
;
})
.
start
();
}
private
onCloseTips
()
{
this
.
tipsActionHide
(
false
);
}
private
showTip
(
show
=
true
)
{
let
tip_bg
=
cc
.
find
(
"
btn_record/tip_bg
"
,
this
.
node
);
...
...
@@ -224,7 +297,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
if
(
this
.
recordIntervalId
)
clearInterval
(
this
.
recordIntervalId
);
this
.
btn_record
.
active
=
true
;
this
.
img_record
.
active
=
false
;
this
.
record_word
.
getComponent
(
cc
.
Label
).
string
=
data
.
text
;
this
.
showRecordWord
(
data
.
text
)
if
(
data
.
text
==
Game
.
getIns
().
getCurrentPage
().
word
)
{
this
.
playLocalAudio
(
"
right
"
).
then
(()
=>
{
this
.
playLocalAudio
(
"
diaoluo
"
);
...
...
@@ -288,7 +361,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
pg
.
event
.
emit
(
"
box2d_roll
"
)
}
else
{
this
.
playLocalAudio
(
"
next
"
);
this
.
record_word
.
getComponent
(
cc
.
Label
).
string
=
""
;
this
.
showRecordWord
(
""
)
this
.
gameStart
();
}
}
...
...
@@ -332,12 +405,14 @@ export default class SceneComponent extends MyCocosSceneComponent {
cc
.
tween
(
start_ske
).
delay
(
1
).
by
(
0.5
,
{
x
:
500
}).
call
(()
=>
{
this
.
layout_start
.
active
=
false
;
this
.
showLaba
(
true
);
this
.
showLayoutImg
();
}).
start
();
});
}).
start
();
}
else
{
this
.
layout_start
.
active
=
false
;
this
.
showLaba
(
true
);
this
.
showLayoutImg
();
}
})
}
...
...
assets/ngt10_tydh/scene/tool/Game.ts
View file @
88e32403
...
...
@@ -45,16 +45,18 @@ export class Item {
public
audio
;
public
duration
;
public
optionList
;
public
bgItem
;
public
hotZoneItemArr
;
public
word
;
public
picUrl
;
public
type
;
public
text
:
string
;
public
isClick
:
boolean
;
constructor
(
data
,
page
)
{
this
.
audio
=
data
.
audio
;
this
.
text
=
data
.
text
;
this
.
word
=
data
.
word
;
this
.
type
=
data
.
type
;
this
.
duration
=
data
.
time
;
this
.
picUrl
=
data
.
image
;
this
.
page
=
page
;
// this.optionList = data.options.map((o, idx) => {
...
...
assets/ngt10_tydh/script/defaultData.ts
View file @
88e32403
...
...
@@ -23,13 +23,13 @@ export const defaultData =
"
type
"
:
"
img
"
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/449e65975d358514cc3494f9f67bc012_l.mp3
"
,
"
text
"
:
"
what are you kettle ?
"
,
"
image
"
:
""
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/95c760f287a3c55bacc6c12ea47259ea.jpg
"
,
"
time
"
:
10
,
"
audioName
"
:
"
cape.mp3
"
,
"
word
"
:
"
oh no
"
},
{
"
type
"
:
"
img
"
,
"
type
"
:
"
txt
"
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/944ae51b57fb9390dd03104d9651e5f4_l.mp3
"
,
"
text
"
:
"
what your name ?
"
,
"
image
"
:
""
,
...
...
@@ -38,7 +38,7 @@ export const defaultData =
"
word
"
:
"
join
"
},
{
"
type
"
:
"
img
"
,
"
type
"
:
"
txt
"
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/36067f9e2415d59fa37c3795a3929087_l.mp3
"
,
"
text
"
:
"
what are you disdain?
"
,
"
image
"
:
""
,
...
...
assets/ngt10_tydh/textures/bg3.png
0 → 100644
View file @
88e32403
13.5 KB
assets/ngt10_tydh/textures/bg3.png.meta
0 → 100644
View file @
88e32403
{
"ver": "2.3.5",
"uuid": "f2e561fb-156c-4edc-9137-5dc6ef1b3f7f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1096,
"height": 424,
"platformSettings": {},
"subMetas": {
"bg3": {
"ver": "1.0.4",
"uuid": "3f24ea61-fd4e-47c5-92fb-101bf0bd77f7",
"rawTextureUuid": "f2e561fb-156c-4edc-9137-5dc6ef1b3f7f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1096,
"height": 424,
"rawWidth": 1096,
"rawHeight": 424,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/ngt10_tydh/textures/bg_text.png
0 → 100644
View file @
88e32403
4.91 KB
assets/ngt10_tydh/textures/bg_text.png.meta
0 → 100644
View file @
88e32403
{
"ver": "2.3.5",
"uuid": "cb5ae762-1e06-4f54-b95a-ee1b84c36a7c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 911,
"height": 107,
"platformSettings": {},
"subMetas": {
"bg_text": {
"ver": "1.0.4",
"uuid": "d9143143-15c2-4f19-ab93-79f11b0fde4a",
"rawTextureUuid": "cb5ae762-1e06-4f54-b95a-ee1b84c36a7c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 911,
"height": 107,
"rawWidth": 911,
"rawHeight": 107,
"borderTop": 30,
"borderBottom": 30,
"borderLeft": 60,
"borderRight": 60,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/ngt10_tydh/textures/btn_close.png
0 → 100644
View file @
88e32403
1.75 KB
assets/ngt10_tydh/textures/btn_close.png.meta
0 → 100644
View file @
88e32403
{
"ver": "2.3.5",
"uuid": "1f5ec521-15a2-49f0-8237-747efff6f487",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 60,
"height": 60,
"platformSettings": {},
"subMetas": {
"btn_close": {
"ver": "1.0.4",
"uuid": "61e4ee90-b002-4136-a69e-d680cb74b360",
"rawTextureUuid": "1f5ec521-15a2-49f0-8237-747efff6f487",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 60,
"height": 60,
"rawWidth": 60,
"rawHeight": 60,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/ngt10_tydh/textures/pic.jpg
0 → 100644
View file @
88e32403
15.3 KB
assets/ngt10_tydh/textures/pic.jpg.meta
0 → 100644
View file @
88e32403
{
"ver": "2.3.5",
"uuid": "846774ad-b6a9-4f31-9ac7-6ccc8d505d6e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 250,
"height": 250,
"platformSettings": {},
"subMetas": {
"pic": {
"ver": "1.0.4",
"uuid": "38b63c37-4f15-441d-b599-8804e758545f",
"rawTextureUuid": "846774ad-b6a9-4f31-9ac7-6ccc8d505d6e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 250,
"height": 250,
"rawWidth": 250,
"rawHeight": 250,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/ngt10_tydh/textures/pic_box.png
0 → 100644
View file @
88e32403
1.17 KB
assets/ngt10_tydh/textures/pic_box.png.meta
0 → 100644
View file @
88e32403
{
"ver": "2.3.5",
"uuid": "da449a78-119f-43a0-970e-bae114518b2a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 252,
"height": 252,
"platformSettings": {},
"subMetas": {
"pic_box": {
"ver": "1.0.4",
"uuid": "c6d5765b-730f-4f41-b95e-8241655ad3a2",
"rawTextureUuid": "da449a78-119f-43a0-970e-bae114518b2a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 252,
"height": 252,
"rawWidth": 252,
"rawHeight": 252,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
form/src/app/form/form.component.html
View file @
88e32403
...
...
@@ -110,7 +110,21 @@
题目{{i+1}}
</div>
<div
style=
"margin-top: 20px;"
>
<div
class=
"word-type-option-title"
>
题目类型:
</div>
<div
style=
"margin-top: 5px;"
>
<nz-radio-group
[(
ngModel
)]="
question
.
type
"
(
ngModelChange
)="
ngChange
()"
>
<label
nz-radio
nzValue=
"img"
>
<span
[
style
]="{
color:question
.
type=
='img'
?
'#
169BD5
'
:
'#
000
'}"
>
图片
</span>
</label>
<label
nz-radio
nzValue=
"txt"
>
<span
[
style
]="{
color:question
.
type=
='txt'
?
'#
169BD5
'
:
'#
000
'}"
>
文字
</span>
</label>
</nz-radio-group>
</div>
</div>
<div
class=
"option-text"
>
<div
class=
"word-input-title"
>
<span
style=
"color:red;margin-left:-15px"
>
*
</span>
...
...
@@ -144,13 +158,13 @@
</div>
</div>
</div>
<
!-- <div
>
<
div
*
ngIf=
"question.type=='img'"
>
<span
style=
"font-size: 20px;"
>
标题图片:
</span>
<div
style=
"width:300px"
>
<app-upload-image-with-preview
[
picUrl
]="
question
.
image
"
(
imageUploaded
)="
onImageUploadSuccess
($
event
,'
image
',
question
)"
></app-upload-image-with-preview>
</div>
</div>
-->
</div>
<div
class=
"option-time"
>
<div
class=
"word-input-title"
>
<span>
录音时间:
</span>
...
...
@@ -160,15 +174,15 @@
</div>
<div
style=
"margin:0 20px"
>
<button
class=
"btn-red"
nz-button
nzType=
"default"
nzDanger
(
click
)="
removeQuestion
(
i
)"
>
删除题目
</button>
<button
class=
"btn-blue"
style=
"margin-top: 10px;"
nz-button
nzType=
"default"
nzDanger
(
click
)="
copyQuestion
(
i
)"
>
复制题目
</button>
<button
class=
"btn-blue"
style=
"margin-top: 10px;"
nz-button
nzType=
"default"
nzDanger
(
click
)="
copyQuestion
(
i
)"
>
复制题目
</button>
</div>
</div>
</div>
<div
style=
"margin-top: 20px;"
>
<button
class=
"btn-blue"
style=
"width: 1000px; height: 50px;"
nz-button
nzType=
"default"
nzDanger
(
click
)="
addQuestion
()"
>
+增加题目
</button>
<button
class=
"btn-blue"
style=
"width: 1000px; height: 50px;"
nz-button
nzType=
"default"
nzDanger
(
click
)="
addQuestion
()"
>
+增加题目
</button>
</div>
</div>
...
...
form/src/app/form/form.component.ts
View file @
88e32403
...
...
@@ -52,7 +52,7 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O
addQuestion
()
{
// if (this.item.questions.length == 6) return;
this
.
item
.
questions
.
push
({
type
:
'
img
'
,
type
:
'
txt
'
,
audio
:
''
,
text
:
''
,
image
:
''
,
...
...
@@ -97,4 +97,7 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O
console
.
log
(
e
);
this
.
save
();
}
ngChange
()
{
this
.
save
();
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment