Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hy11_paopao
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
hy11_paopao
Commits
6d367c3d
Commit
6d367c3d
authored
Jun 23, 2023
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改按钮事件
parent
3ab9a267
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
369 additions
and
305 deletions
+369
-305
.DS_Store
.DS_Store
+0
-0
hy01_danci.fire
assets/hy01_danci/scene/hy01_danci.fire
+310
-236
hy01_danci.ts
assets/hy01_danci/scene/hy01_danci.ts
+29
-29
form.component.html
form/src/app/form/form.component.html
+30
-40
No files found.
.DS_Store
View file @
6d367c3d
No preview for this file type
assets/hy01_danci/scene/hy01_danci.fire
View file @
6d367c3d
...
...
@@ -84,28 +84,28 @@
"__id__": 71
},
{
"__id__": 8
2
"__id__": 8
3
},
{
"__id__": 10
3
"__id__": 10
4
},
{
"__id__": 14
3
"__id__": 14
4
},
{
"__id__": 18
8
"__id__": 18
9
}
],
"_active": true,
"_components": [
{
"__id__": 198
},
{
"__id__": 199
},
{
"__id__": 200
},
{
"__id__": 201
}
],
"_prefab": null,
...
...
@@ -3224,13 +3224,13 @@
"__id__": 75
},
{
"__id__": 8
0
"__id__": 8
1
}
],
"_active": true,
"_components": [
{
"__id__": 8
1
"__id__": 8
2
}
],
"_prefab": null,
...
...
@@ -3391,7 +3391,11 @@
}
],
"_active": false,
"_components": [],
"_components": [
{
"__id__": 80
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
...
...
@@ -3403,8 +3407,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width":
30
0,
"height":
30
0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -3628,6 +3632,76 @@
"_atlas": null,
"_id": "59VZnhWc1KPZ6Cb0LtuHLx"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 75
},
"_id": "77V6o11PpEwLoUSjag/YAJ"
},
{
"__type__": "cc.Node",
"_name": "layer_paopao",
...
...
@@ -3727,23 +3801,23 @@
},
"_children": [
{
"__id__": 8
3
"__id__": 8
4
},
{
"__id__": 8
8
"__id__": 8
9
}
],
"_active": false,
"_components": [
{
"__id__": 10
0
"__id__": 10
1
},
{
"__id__": 10
1
"__id__": 10
2
}
],
"_prefab": {
"__id__": 10
2
"__id__": 10
3
},
"_opacity": 255,
"_color": {
...
...
@@ -3797,23 +3871,23 @@
"_name": "btn_back",
"_objFlags": 0,
"_parent": {
"__id__": 8
2
"__id__": 8
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 84
},
{
"__id__": 85
},
{
"__id__": 86
},
{
"__id__": 87
}
],
"_prefab": {
"__id__": 8
7
"__id__": 8
8
},
"_opacity": 255,
"_color": {
...
...
@@ -3867,7 +3941,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
3
"__id__": 8
4
},
"_enabled": true,
"_materials": [
...
...
@@ -3899,7 +3973,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
3
"__id__": 8
4
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -3967,7 +4041,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
3
"__id__": 8
4
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -3992,7 +4066,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 8
2
"__id__": 8
3
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
...
...
@@ -4005,27 +4079,27 @@
"_name": "img_npc_voice",
"_objFlags": 0,
"_parent": {
"__id__": 8
2
"__id__": 8
3
},
"_children": [
{
"__id__":
89
"__id__":
90
},
{
"__id__": 9
2
"__id__": 9
3
},
{
"__id__": 9
5
"__id__": 9
6
}
],
"_active": true,
"_components": [
{
"__id__": 9
8
"__id__": 9
9
}
],
"_prefab": {
"__id__":
99
"__id__":
100
},
"_opacity": 255,
"_color": {
...
...
@@ -4079,17 +4153,17 @@
"_name": "p1",
"_objFlags": 0,
"_parent": {
"__id__": 8
8
"__id__": 8
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
0
"__id__": 9
1
}
],
"_prefab": {
"__id__": 9
1
"__id__": 9
2
},
"_opacity": 255,
"_color": {
...
...
@@ -4143,7 +4217,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
89
"__id__":
90
},
"_enabled": true,
"_materials": [
...
...
@@ -4173,7 +4247,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 8
2
"__id__": 8
3
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
...
...
@@ -4186,17 +4260,17 @@
"_name": "p2",
"_objFlags": 0,
"_parent": {
"__id__": 8
8
"__id__": 8
9
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 9
3
"__id__": 9
4
}
],
"_prefab": {
"__id__": 9
4
"__id__": 9
5
},
"_opacity": 255,
"_color": {
...
...
@@ -4250,7 +4324,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
2
"__id__": 9
3
},
"_enabled": true,
"_materials": [
...
...
@@ -4280,7 +4354,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 8
2
"__id__": 8
3
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
...
...
@@ -4293,17 +4367,17 @@
"_name": "p3",
"_objFlags": 0,
"_parent": {
"__id__": 8
8
"__id__": 8
9
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 9
6
"__id__": 9
7
}
],
"_prefab": {
"__id__": 9
7
"__id__": 9
8
},
"_opacity": 255,
"_color": {
...
...
@@ -4357,7 +4431,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
5
"__id__": 9
6
},
"_enabled": true,
"_materials": [
...
...
@@ -4387,7 +4461,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 8
2
"__id__": 8
3
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
...
...
@@ -4400,7 +4474,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
8
"__id__": 8
9
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -4425,7 +4499,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 8
2
"__id__": 8
3
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
...
...
@@ -4438,7 +4512,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
2
"__id__": 8
3
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -4465,7 +4539,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
2
"__id__": 8
3
},
"_enabled": true,
"_id": "4bOu5J5BNMRbgcr/N6dJzl"
...
...
@@ -4473,7 +4547,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 8
2
"__id__": 8
3
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
...
...
@@ -4490,20 +4564,20 @@
},
"_children": [
{
"__id__": 10
4
"__id__": 10
5
}
],
"_active": false,
"_components": [
{
"__id__": 14
0
"__id__": 14
1
},
{
"__id__": 14
1
"__id__": 14
2
}
],
"_prefab": {
"__id__": 14
2
"__id__": 14
3
},
"_opacity": 255,
"_color": {
...
...
@@ -4557,39 +4631,39 @@
"_name": "layout_record",
"_objFlags": 0,
"_parent": {
"__id__": 10
3
"__id__": 10
4
},
"_children": [
{
"__id__": 10
5
"__id__": 10
6
},
{
"__id__": 10
8
"__id__": 10
9
},
{
"__id__": 11
1
"__id__": 11
2
},
{
"__id__": 11
4
"__id__": 11
5
},
{
"__id__": 11
7
"__id__": 11
8
},
{
"__id__": 12
0
"__id__": 12
1
},
{
"__id__": 12
3
"__id__": 12
4
}
],
"_active": true,
"_components": [
{
"__id__": 13
8
"__id__": 13
9
}
],
"_prefab": {
"__id__": 1
39
"__id__": 1
40
},
"_opacity": 255,
"_color": {
...
...
@@ -4643,17 +4717,17 @@
"_name": "voice_white",
"_objFlags": 0,
"_parent": {
"__id__": 10
4
"__id__": 10
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
6
"__id__": 10
7
}
],
"_prefab": {
"__id__": 10
7
"__id__": 10
8
},
"_opacity": 255,
"_color": {
...
...
@@ -4707,7 +4781,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
5
"__id__": 10
6
},
"_enabled": true,
"_materials": [
...
...
@@ -4737,7 +4811,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 10
3
"__id__": 10
4
},
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
...
@@ -4750,17 +4824,17 @@
"_name": "record_bg",
"_objFlags": 0,
"_parent": {
"__id__": 10
4
"__id__": 10
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
09
"__id__": 1
10
}
],
"_prefab": {
"__id__": 11
0
"__id__": 11
1
},
"_opacity": 255,
"_color": {
...
...
@@ -4814,7 +4888,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
8
"__id__": 10
9
},
"_enabled": true,
"_materials": [
...
...
@@ -4844,7 +4918,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 10
3
"__id__": 10
4
},
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
...
@@ -4857,17 +4931,17 @@
"_name": "record_icon",
"_objFlags": 0,
"_parent": {
"__id__": 10
4
"__id__": 10
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
2
"__id__": 11
3
}
],
"_prefab": {
"__id__": 11
3
"__id__": 11
4
},
"_opacity": 255,
"_color": {
...
...
@@ -4921,7 +4995,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
1
"__id__": 11
2
},
"_enabled": true,
"_materials": [
...
...
@@ -4951,7 +5025,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 10
3
"__id__": 10
4
},
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
...
@@ -4964,17 +5038,17 @@
"_name": "record_time",
"_objFlags": 0,
"_parent": {
"__id__": 10
4
"__id__": 10
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
5
"__id__": 11
6
}
],
"_prefab": {
"__id__": 11
6
"__id__": 11
7
},
"_opacity": 255,
"_color": {
...
...
@@ -5028,7 +5102,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
4
"__id__": 11
5
},
"_enabled": true,
"_materials": [
...
...
@@ -5058,7 +5132,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 10
3
"__id__": 10
4
},
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
...
@@ -5071,17 +5145,17 @@
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 10
4
"__id__": 10
5
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 11
8
"__id__": 11
9
}
],
"_prefab": {
"__id__": 1
19
"__id__": 1
20
},
"_opacity": 255,
"_color": {
...
...
@@ -5135,7 +5209,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
7
"__id__": 11
8
},
"_enabled": true,
"_materials": [
...
...
@@ -5173,7 +5247,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 10
3
"__id__": 10
4
},
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
...
@@ -5186,17 +5260,17 @@
"_name": "btn_record",
"_objFlags": 0,
"_parent": {
"__id__": 10
4
"__id__": 10
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 12
1
"__id__": 12
2
}
],
"_prefab": {
"__id__": 12
2
"__id__": 12
3
},
"_opacity": 255,
"_color": {
...
...
@@ -5250,7 +5324,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
0
"__id__": 12
1
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -5316,7 +5390,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 10
3
"__id__": 10
4
},
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
...
@@ -5329,30 +5403,30 @@
"_name": "btn_play",
"_objFlags": 0,
"_parent": {
"__id__": 10
4
"__id__": 10
5
},
"_children": [
{
"__id__": 12
4
"__id__": 12
5
},
{
"__id__": 12
7
"__id__": 12
8
},
{
"__id__": 13
0
"__id__": 13
1
},
{
"__id__": 13
3
"__id__": 13
4
}
],
"_active": false,
"_components": [
{
"__id__": 13
6
"__id__": 13
7
}
],
"_prefab": {
"__id__": 13
7
"__id__": 13
8
},
"_opacity": 255,
"_color": {
...
...
@@ -5406,17 +5480,17 @@
"_name": "p1",
"_objFlags": 0,
"_parent": {
"__id__": 12
3
"__id__": 12
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 12
5
"__id__": 12
6
}
],
"_prefab": {
"__id__": 12
6
"__id__": 12
7
},
"_opacity": 255,
"_color": {
...
...
@@ -5470,7 +5544,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
4
"__id__": 12
5
},
"_enabled": true,
"_materials": [
...
...
@@ -5500,7 +5574,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 10
3
"__id__": 10
4
},
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
...
@@ -5513,17 +5587,17 @@
"_name": "p0",
"_objFlags": 0,
"_parent": {
"__id__": 12
3
"__id__": 12
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 12
8
"__id__": 12
9
}
],
"_prefab": {
"__id__": 1
29
"__id__": 1
30
},
"_opacity": 255,
"_color": {
...
...
@@ -5577,7 +5651,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
7
"__id__": 12
8
},
"_enabled": true,
"_materials": [
...
...
@@ -5607,7 +5681,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 10
3
"__id__": 10
4
},
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
...
@@ -5620,17 +5694,17 @@
"_name": "p2",
"_objFlags": 0,
"_parent": {
"__id__": 12
3
"__id__": 12
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
1
"__id__": 13
2
}
],
"_prefab": {
"__id__": 13
2
"__id__": 13
3
},
"_opacity": 255,
"_color": {
...
...
@@ -5684,7 +5758,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
0
"__id__": 13
1
},
"_enabled": true,
"_materials": [
...
...
@@ -5714,7 +5788,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 10
3
"__id__": 10
4
},
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
...
@@ -5727,17 +5801,17 @@
"_name": "p3",
"_objFlags": 0,
"_parent": {
"__id__": 12
3
"__id__": 12
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
4
"__id__": 13
5
}
],
"_prefab": {
"__id__": 13
5
"__id__": 13
6
},
"_opacity": 255,
"_color": {
...
...
@@ -5791,7 +5865,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
3
"__id__": 13
4
},
"_enabled": true,
"_materials": [
...
...
@@ -5821,7 +5895,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 10
3
"__id__": 10
4
},
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
...
@@ -5834,7 +5908,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
3
"__id__": 12
4
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -5859,7 +5933,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 10
3
"__id__": 10
4
},
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
...
@@ -5872,7 +5946,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
4
"__id__": 10
5
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -5897,7 +5971,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 10
3
"__id__": 10
4
},
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
...
@@ -5910,7 +5984,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
3
"__id__": 10
4
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -5937,7 +6011,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
3
"__id__": 10
4
},
"_enabled": true,
"_id": "28SYbspDNAfqMNbpyAm+q/"
...
...
@@ -5945,7 +6019,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 10
3
"__id__": 10
4
},
"asset": {
"__uuid__": "35fbe4f1-249e-4263-90a1-de923c148363"
...
...
@@ -5962,29 +6036,29 @@
},
"_children": [
{
"__id__": 14
4
"__id__": 14
5
},
{
"__id__": 15
8
"__id__": 15
9
},
{
"__id__": 16
7
"__id__": 16
8
},
{
"__id__": 17
6
"__id__": 17
7
}
],
"_active": false,
"_components": [
{
"__id__": 18
5
"__id__": 18
6
},
{
"__id__": 18
6
"__id__": 18
7
}
],
"_prefab": {
"__id__": 18
7
"__id__": 18
8
},
"_opacity": 255,
"_color": {
...
...
@@ -6038,26 +6112,26 @@
"_name": "voice",
"_objFlags": 0,
"_parent": {
"__id__": 14
3
"__id__": 14
4
},
"_children": [
{
"__id__": 14
5
"__id__": 14
6
},
{
"__id__": 14
8
"__id__": 14
9
},
{
"__id__": 15
1
"__id__": 15
2
},
{
"__id__": 15
4
"__id__": 15
5
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 15
7
"__id__": 15
8
},
"_opacity": 255,
"_color": {
...
...
@@ -6111,17 +6185,17 @@
"_name": "excellent",
"_objFlags": 0,
"_parent": {
"__id__": 14
4
"__id__": 14
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
6
"__id__": 14
7
}
],
"_prefab": {
"__id__": 14
7
"__id__": 14
8
},
"_opacity": 255,
"_color": {
...
...
@@ -6175,7 +6249,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
5
"__id__": 14
6
},
"_enabled": true,
"_clip": {
...
...
@@ -6192,7 +6266,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 14
3
"__id__": 14
4
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
...
@@ -6205,17 +6279,17 @@
"_name": "good",
"_objFlags": 0,
"_parent": {
"__id__": 14
4
"__id__": 14
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
49
"__id__": 1
50
}
],
"_prefab": {
"__id__": 15
0
"__id__": 15
1
},
"_opacity": 255,
"_color": {
...
...
@@ -6269,7 +6343,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
8
"__id__": 14
9
},
"_enabled": true,
"_clip": {
...
...
@@ -6286,7 +6360,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 14
3
"__id__": 14
4
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
...
@@ -6299,17 +6373,17 @@
"_name": "tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 14
4
"__id__": 14
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
2
"__id__": 15
3
}
],
"_prefab": {
"__id__": 15
3
"__id__": 15
4
},
"_opacity": 255,
"_color": {
...
...
@@ -6363,7 +6437,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
1
"__id__": 15
2
},
"_enabled": true,
"_clip": {
...
...
@@ -6380,7 +6454,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 14
3
"__id__": 14
4
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
...
@@ -6393,17 +6467,17 @@
"_name": "ani",
"_objFlags": 0,
"_parent": {
"__id__": 14
4
"__id__": 14
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
5
"__id__": 15
6
}
],
"_prefab": {
"__id__": 15
6
"__id__": 15
7
},
"_opacity": 255,
"_color": {
...
...
@@ -6457,7 +6531,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
4
"__id__": 15
5
},
"_enabled": true,
"_clip": {
...
...
@@ -6474,7 +6548,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 14
3
"__id__": 14
4
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
...
@@ -6485,7 +6559,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 14
3
"__id__": 14
4
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
...
@@ -6498,24 +6572,24 @@
"_name": "layout_excellent",
"_objFlags": 0,
"_parent": {
"__id__": 14
3
"__id__": 14
4
},
"_children": [
{
"__id__": 1
59
"__id__": 1
60
},
{
"__id__": 16
2
"__id__": 16
3
}
],
"_active": false,
"_components": [
{
"__id__": 16
5
"__id__": 16
6
}
],
"_prefab": {
"__id__": 16
6
"__id__": 16
7
},
"_opacity": 255,
"_color": {
...
...
@@ -6569,17 +6643,17 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 15
8
"__id__": 15
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
0
"__id__": 16
1
}
],
"_prefab": {
"__id__": 16
1
"__id__": 16
2
},
"_opacity": 150,
"_color": {
...
...
@@ -6633,7 +6707,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
59
"__id__": 1
60
},
"_enabled": true,
"_materials": [
...
...
@@ -6663,7 +6737,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 14
3
"__id__": 14
4
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
...
@@ -6676,17 +6750,17 @@
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 15
8
"__id__": 15
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
3
"__id__": 16
4
}
],
"_prefab": {
"__id__": 16
4
"__id__": 16
5
},
"_opacity": 255,
"_color": {
...
...
@@ -6740,7 +6814,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
2
"__id__": 16
3
},
"_enabled": true,
"_materials": [
...
...
@@ -6778,7 +6852,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 14
3
"__id__": 14
4
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
...
@@ -6791,7 +6865,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
8
"__id__": 15
9
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -6816,7 +6890,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 14
3
"__id__": 14
4
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
...
@@ -6829,24 +6903,24 @@
"_name": "layout_good",
"_objFlags": 0,
"_parent": {
"__id__": 14
3
"__id__": 14
4
},
"_children": [
{
"__id__": 16
8
"__id__": 16
9
},
{
"__id__": 17
1
"__id__": 17
2
}
],
"_active": false,
"_components": [
{
"__id__": 17
4
"__id__": 17
5
}
],
"_prefab": {
"__id__": 17
5
"__id__": 17
6
},
"_opacity": 255,
"_color": {
...
...
@@ -6900,17 +6974,17 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 16
7
"__id__": 16
8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
69
"__id__": 1
70
}
],
"_prefab": {
"__id__": 17
0
"__id__": 17
1
},
"_opacity": 150,
"_color": {
...
...
@@ -6964,7 +7038,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
8
"__id__": 16
9
},
"_enabled": true,
"_materials": [
...
...
@@ -6994,7 +7068,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 14
3
"__id__": 14
4
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
...
@@ -7007,17 +7081,17 @@
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 16
7
"__id__": 16
8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 17
2
"__id__": 17
3
}
],
"_prefab": {
"__id__": 17
3
"__id__": 17
4
},
"_opacity": 255,
"_color": {
...
...
@@ -7071,7 +7145,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
1
"__id__": 17
2
},
"_enabled": true,
"_materials": [
...
...
@@ -7109,7 +7183,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 14
3
"__id__": 14
4
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
...
@@ -7122,7 +7196,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
7
"__id__": 16
8
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -7147,7 +7221,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 14
3
"__id__": 14
4
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
...
@@ -7160,24 +7234,24 @@
"_name": "layout_tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 14
3
"__id__": 14
4
},
"_children": [
{
"__id__": 17
7
"__id__": 17
8
},
{
"__id__": 18
0
"__id__": 18
1
}
],
"_active": false,
"_components": [
{
"__id__": 18
3
"__id__": 18
4
}
],
"_prefab": {
"__id__": 18
4
"__id__": 18
5
},
"_opacity": 255,
"_color": {
...
...
@@ -7231,17 +7305,17 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 17
6
"__id__": 17
7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 17
8
"__id__": 17
9
}
],
"_prefab": {
"__id__": 1
79
"__id__": 1
80
},
"_opacity": 150,
"_color": {
...
...
@@ -7295,7 +7369,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
7
"__id__": 17
8
},
"_enabled": true,
"_materials": [
...
...
@@ -7325,7 +7399,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 14
3
"__id__": 14
4
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
...
@@ -7338,17 +7412,17 @@
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 17
6
"__id__": 17
7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 18
1
"__id__": 18
2
}
],
"_prefab": {
"__id__": 18
2
"__id__": 18
3
},
"_opacity": 255,
"_color": {
...
...
@@ -7402,7 +7476,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
0
"__id__": 18
1
},
"_enabled": true,
"_materials": [
...
...
@@ -7440,7 +7514,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 14
3
"__id__": 14
4
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
...
@@ -7453,7 +7527,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
6
"__id__": 17
7
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -7478,7 +7552,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 14
3
"__id__": 14
4
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
...
@@ -7491,7 +7565,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
3
"__id__": 14
4
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -7518,7 +7592,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
3
"__id__": 14
4
},
"_enabled": true,
"_id": "f8RLolwXVG8YWO7i32J+zq"
...
...
@@ -7526,7 +7600,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 14
3
"__id__": 14
4
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
...
...
@@ -7543,13 +7617,13 @@
},
"_children": [
{
"__id__": 1
89
"__id__": 1
90
},
{
"__id__": 19
2
"__id__": 19
3
},
{
"__id__": 19
5
"__id__": 19
6
}
],
"_active": false,
...
...
@@ -7607,11 +7681,11 @@
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 18
8
"__id__": 18
9
},
"_children": [
{
"__id__": 19
0
"__id__": 19
1
}
],
"_active": true,
...
...
@@ -7669,13 +7743,13 @@
"_name": "BRLNSDB",
"_objFlags": 0,
"_parent": {
"__id__": 1
89
"__id__": 1
90
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
1
"__id__": 19
2
}
],
"_prefab": null,
...
...
@@ -7731,7 +7805,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
0
"__id__": 19
1
},
"_enabled": true,
"_materials": [],
...
...
@@ -7762,11 +7836,11 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 18
8
"__id__": 18
9
},
"_children": [
{
"__id__": 19
3
"__id__": 19
4
}
],
"_active": true,
...
...
@@ -7824,13 +7898,13 @@
"_name": "icon",
"_objFlags": 0,
"_parent": {
"__id__": 19
2
"__id__": 19
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
4
"__id__": 19
5
}
],
"_prefab": null,
...
...
@@ -7886,7 +7960,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
3
"__id__": 19
4
},
"_enabled": true,
"_materials": [],
...
...
@@ -7914,11 +7988,11 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 18
8
"__id__": 18
9
},
"_children": [
{
"__id__": 19
6
"__id__": 19
7
}
],
"_active": true,
...
...
@@ -7976,13 +8050,13 @@
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 19
5
"__id__": 19
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
7
"__id__": 19
8
}
],
"_prefab": null,
...
...
@@ -8038,7 +8112,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
6
"__id__": 19
7
},
"_enabled": true,
"_clip": {
...
...
assets/hy01_danci/scene/hy01_danci.ts
View file @
6d367c3d
...
...
@@ -32,7 +32,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
initData
()
{
this
.
speed
=
30
}
initView
()
{}
initView
()
{
}
initEvent
()
{
let
bottom_megaphone
=
pg
.
view
.
find
(
this
,
'
layer_game/bg/bottom_megaphone
'
)
// 底部海螺点击事件
...
...
@@ -56,6 +56,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
let
layer_paopao
=
pg
.
view
.
find
(
this
,
'
layer_game/bg/layer_paopao
'
)
let
paoaoParent
=
pg
.
view
.
find
(
this
,
'
layer_game/bg/paopao
'
)
let
newPaoPao
=
cc
.
instantiate
(
paoaoParent
)
pg
.
view
.
touchOn
(
newPaoPao
,
this
.
touchPaoPao
,
this
)
let
paopao
=
newPaoPao
.
getChildByName
(
"
bubble
"
)
let
broken
=
newPaoPao
.
getChildByName
(
"
bubble_broken
"
)
let
btn
=
cc
.
tween
(
bottom_megaphone
)
...
...
@@ -71,13 +72,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
pg
.
view
.
visible
(
newPaoPao
,
true
)
pg
.
view
.
visible
(
broken
,
false
)
// 点击泡泡
pg
.
view
.
touchOn
(
newPaoPao
,
this
.
touchPaoPao
,
this
)
cc
.
tween
(
newPaoPao
).
to
(
0.8
,
{
opacity
:
255
}).
call
(()
=>
{
let
positionY
=
Math
.
floor
(
Math
.
random
()
*
300
)
cc
.
tween
(
newPaoPao
).
to
(
0.8
,
{
opacity
:
255
}).
call
(()
=>
{
let
positionY
=
Math
.
floor
(
Math
.
random
()
*
300
)
let
positionX
=
this
.
getPositionX
()
cc
.
tween
(
newPaoPao
).
to
(
positionY
/
this
.
speed
,
{
x
:
positionX
,
y
:
positionY
,
scale
:
3
}).
call
(()
=>
{
if
(
newPaoPao
.
y
<
cc
.
winSize
.
height
+
105
)
{
cc
.
tween
(
newPaoPao
).
to
((
750
-
newPaoPao
.
y
)
/
this
.
speed
,
{
y
:
cc
.
winSize
.
height
+
105
}).
call
(()
=>
{
cc
.
tween
(
newPaoPao
).
to
(
positionY
/
this
.
speed
,
{
x
:
positionX
,
y
:
positionY
,
scale
:
3
}).
call
(()
=>
{
if
(
newPaoPao
.
y
<
cc
.
winSize
.
height
+
105
)
{
cc
.
tween
(
newPaoPao
).
to
((
750
-
newPaoPao
.
y
)
/
this
.
speed
,
{
y
:
cc
.
winSize
.
height
+
105
}).
call
(()
=>
{
newPaoPao
.
destroy
()
}).
start
()
}
...
...
@@ -88,10 +88,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
getPositionX
()
{
if
(
Math
.
random
()
<
0.5
)
{
return
-
Math
.
floor
(
Math
.
random
()
*
900
)
if
(
Math
.
random
()
<
0.5
)
{
return
-
Math
.
floor
(
Math
.
random
()
*
900
)
}
else
{
return
Math
.
floor
(
Math
.
random
()
*
900
)
return
Math
.
floor
(
Math
.
random
()
*
900
)
}
}
// 点击泡泡
...
...
form/src/app/form/form.component.html
View file @
6d367c3d
...
...
@@ -76,10 +76,10 @@
<div
class=
"model-content"
>
<div
style=
"padding: 10px;background-color: #fff;"
>
<div
class=
"border-dashed"
style=
"margin: 20px;width: 1000px;"
>
<!--
<div class="border-dashed" style="margin: 20px;width: 1000px;">
<span style="font-size: 20px;">标题: </span>
<input type="text" nz-input [(ngModel)]="item.title" (blur)="save()">
<
!-- <
span style="font-size: 20px;">题目说明: </span>
<span style="font-size: 20px;">题目说明: </span>
<input type="text" nz-input [(ngModel)]="item.questionText" (blur)="save()">
<span style="font-size: 20px;">题目说明音频: </span>
<div style="display:flex ;">
...
...
@@ -90,23 +90,23 @@
<div style="margin: 5px">
<span>{{ item.audioName}}</span>
</div>
</div>
-->
</div>
</div>
<div class="border-dashed" style="margin: 20px;width: 1000px;">
<div style="font-size: 20px;">游戏模式: </div>
<nz-radio-group
[(
ngModel
)]="
item
.
recordFla
g
"
(
ngModelChange
)="
save
()"
>
<nz-radio-group [(ngModel)]="item.
onlineFl
g" (ngModelChange)="save()">
<label nz-radio [nzValue]="true">
<span
[
style
]="{
color:item
.
recordFlag=
=true
?
'#
169BD5
'
:
'#
000
'}"
>
录音模式
</span>
<span [style]="{color:item.
onlineFlg==true ? '#169BD5':'#000'}">联机版
</span>
</label>
<label nz-radio [nzValue]="false">
<span
[
style
]="{
color:item
.
recordFlag=
=false
?
'#
169BD5
'
:
'#
000
'}"
>
听音模式
</span>
<span [style]="{color:item.
onlineFlg==false ? '#169BD5':'#000'}">单机版
</span>
</label>
</nz-radio-group>
</div>
<
!-- <
div class="border-dashed" style="margin: 20px;width: 1000px;">
<div class="border-dashed" style="margin: 20px;width: 1000px;">
<div class="word-input-title">
<div>
<span>游戏背景音乐: </span>
...
...
@@ -135,12 +135,12 @@
<div
*
ngFor=
"let question of item.questions; let i = index"
>
<div
style=
"display: flex;margin-top: 20px;"
>
<div
class=
"border-solid"
style=
"min-width: 1000px;"
>
<
!-- <
div class="word-type-title">
<div
class=
"word-type-title"
>
题目{{i+1}}
</div>
-->
</div>
<
!-- <
div>
<div>
<div
class=
"word-type-option-title"
style=
"margin-top:10px;"
>
题目音频:
</div>
<div
style=
"display:flex ;"
>
<div>
...
...
@@ -152,7 +152,7 @@
<span>
{{ question.audioName}}
</span>
</div>
</div>
</div>
-->
</div>
<!-- <div style="margin-top:20px">
<div class="word-type-option-title">倒计时: </div>
...
...
@@ -162,39 +162,33 @@
<div
class=
"word-type-option-title"
style=
"margin-top:20px;"
>
题目
内容:
选项
内容:
</div>
<div
*
ngFor=
"let option of question.options; let j = index"
>
<div
style=
"display: flex;margin-top:20px"
>
<div
class=
"option-title"
>
题目
{{j+1}}
选项
{{j+1}}
</div>
<div
class=
"option-content"
style=
"padding: 15px 30px;"
>
<
!-- <
div style="margin:-15px -30px;width: calc(100%+60px);height: 40px;padding:10px 20px;" [style]="{
<div
style=
"margin:-15px -30px;width: calc(100%+60px);height: 40px;padding:10px 20px;"
[
style
]="{
backgroundColor:
option
.
right
?'#
169BD5
'
:
'#
eee
'}"
>
<label
nz-checkbox
[(
ngModel
)]="
option
.
right
"
(
ngModelChange
)="
save
()"
[
style
]="{
color:
option
.
right
?'#
fff
'
:
'#
000
'}"
>
正确答案
</label>
</div>
-->
</div>
<div
style=
"margin-top: 20px;"
>
<div
class=
"word-type-option-title"
>
类型:
选项
类型:
</div>
<div
style=
"margin-top: 5px;"
>
<nz-radio-group
[(
ngModel
)]="
option
.
type
"
(
ngModelChange
)="
ngChange
(
i
,
j
)"
>
<label
nz-radio
nzValue=
"img"
>
<span
[
style
]="{
color:option
.
type=
='img'
?
'#
169BD5
'
:
'#
000
'}"
>
图片
</span>
</label>
<label
nz-radio
nzValue=
"img_txt"
>
<span
[
style
]="{
color:option
.
type=
='img_txt'
?
'#
169BD5
'
:
'#
000
'}"
>
图片+文本
</span>
</label>
<label
nz-radio
nzValue=
"img_audio"
>
<span
[
style
]="{
color:option
.
type=
='img_audio'
?
'#
169BD5
'
:
'#
000
'}"
>
图片+音频
</span>
</label>
<label
nz-radio
nzValue=
"img_txt_audio"
>
<span
[
style
]="{
color:option
.
type=
='img_txt_audio'
?
'#
169BD5
'
:
'#
000
'}"
>
图片+文本+音频
</span>
<label
nz-radio
nzValue=
"txt"
>
<span
[
style
]="{
color:option
.
type=
='txt'
?
'#
169BD5
'
:
'#
000
'}"
>
文字
</span>
</label>
</nz-radio-group>
</div>
...
...
@@ -202,7 +196,7 @@
<div
style=
"margin-top: 25px;"
>
<div
class=
"option-img"
>
<div
style=
"width: 200px;"
>
<div
*
ngIf=
"option.type=='img'"
style=
"width: 200px;"
>
<span
style=
"font-size: 20px;"
>
图片:
</span>
<app-upload-image-with-preview
[
picUrl
]="
option
.
image
"
(
imageUploaded
)="
onImageUploadSuccess
($
event
,
'
image
',
option
)"
>
...
...
@@ -210,13 +204,13 @@
</div>
</div>
<div
class=
"option-text"
>
<div
*
ngIf=
"option.type=='
img_txt'|| option.type=='img_txt_audio'
"
style=
"width: 200px"
>
<div
*
ngIf=
"option.type=='
txt'
"
style=
"width: 200px"
>
<span
style=
"font-size: 20px;"
>
文本
</span>
<input
type=
"text"
nz-input
[(
ngModel
)]="
option
.
text
"
(
blur
)="
save
()"
>
</div>
</div>
<
div
class=
"option-audio"
*
ngIf=
"option.type=='img_audio' || option.type=='img_txt_audio'
"
>
<
!-- <div class="option-audio
">
<span style="font-size: 20px;">选项音频:</span>
<div style="display: flex">
<div>
...
...
@@ -230,37 +224,33 @@
</span>
</div>
</div>
</div>
<div
class=
"option-time"
*
ngIf=
"item.recordFlag==true"
>
<div
class=
"word-type-option-title"
>
录音倒计时:
</div>
<input
type=
"number"
nz-input
[(
ngModel
)]="
option
.
duration
"
(
blur
)="
save
()"
>
<span
style=
"font-size: 20px;"
>
录音文本
</span>
<input
type=
"text"
nz-input
[(
ngModel
)]="
option
.
content
"
(
blur
)="
save
()"
>
</div>
</div> -->
<!-- <div class="option-time">
</div> -->
</div>
</div>
<div
class=
"option-btns"
>
<button
class=
"btn-red"
nz-button
nzType=
"default"
nzDanger
(
click
)="
removeoption
(
i
,
j
)"
>
删除
题目
</button>
<button
class=
"btn-red"
nz-button
nzType=
"default"
nzDanger
(
click
)="
removeoption
(
i
,
j
)"
>
删除
选项
</button>
<button
class=
"btn-blue"
style=
"margin-top: 10px;"
nz-button
nzType=
"default"
nzDanger
(
click
)="
copyOption
(
i
,
j
)"
>
复制
题目
</button>
(
click
)="
copyOption
(
i
,
j
)"
>
复制
选项
</button>
</div>
</div>
</div>
<div
style=
"margin-left: 69px;margin-top: 15px;"
>
<button
class=
"btn-blue"
nz-button
nzType=
"default"
nzDanger
(
click
)="
addoption
(
i
)"
>
+增加
题目
</button>
<button
class=
"btn-blue"
nz-button
nzType=
"default"
nzDanger
(
click
)="
addoption
(
i
)"
>
+增加
选项
</button>
</div>
</div>
<div
style=
"margin:0 20px"
>
<
!-- <button class="btn-red" nz-button nzType="default" nzDanger (click)="removequestion(i)">删除题目</button> --
>
<
button
class=
"btn-red"
nz-button
nzType=
"default"
nzDanger
(
click
)="
removequestion
(
i
)"
>
删除题目
</button
>
</div>
</div>
</div>
<
!-- <
button class="btn-blue" style="margin-top:10px;width: 1000px; height: 50px;" nz-button nzType="default" nzDanger
(click)="addquestion()">+增加题目</button>
-->
<button
class=
"btn-blue"
style=
"margin-top:10px;width: 1000px; height: 50px;"
nz-button
nzType=
"default"
nzDanger
(
click
)="
addquestion
()"
>
+增加题目
</button>
</div>
...
...
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