Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP72
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
OP72
Commits
1f46e160
Commit
1f46e160
authored
Jan 04, 2023
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
a043bfbb
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
676 additions
and
144 deletions
+676
-144
OP72.meta
assets/OP72.meta
+15
-1
OP72.fire
assets/OP72/scene/OP72.fire
+223
-130
OP72.js
assets/OP72/scene/OP72.js
+348
-7
white.png
assets/OP72/texture/test/white.png
+0
-0
white.png.meta
assets/OP72/texture/test/white.png.meta
+36
-0
custom-hot-zone.component.ts
...c/app/common/custom-hot-zone/custom-hot-zone.component.ts
+10
-5
form.component.html
form/src/app/form/form.component.html
+32
-0
form.component.ts
form/src/app/form/form.component.ts
+12
-1
No files found.
assets/OP72.meta
View file @
1f46e160
{"ver":"1.1.2","uuid":"3394706f-015e-4b30-b3da-f1e260ff228d","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
{
\ No newline at end of file
"ver": "1.1.2",
"uuid": "3394706f-015e-4b30-b3da-f1e260ff228d",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
assets/OP72/scene/OP72.fire
View file @
1f46e160
...
@@ -17,10 +17,10 @@
...
@@ -17,10 +17,10 @@
"__id__": 2
"__id__": 2
},
},
{
{
"__id__": 6
2
"__id__": 6
4
},
},
{
{
"__id__": 8
3
"__id__": 8
5
}
}
],
],
"_active": false,
"_active": false,
...
@@ -90,13 +90,13 @@
...
@@ -90,13 +90,13 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
59
"__id__":
61
},
},
{
{
"__id__": 6
0
"__id__": 6
2
},
},
{
{
"__id__": 6
1
"__id__": 6
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -667,13 +667,13 @@
...
@@ -667,13 +667,13 @@
"__id__": 15
"__id__": 15
},
},
{
{
"__id__": 3
6
"__id__": 3
8
},
},
{
{
"__id__":
39
"__id__":
41
},
},
{
{
"__id__": 5
6
"__id__": 5
8
}
}
],
],
"_active": false,
"_active": false,
...
@@ -763,6 +763,9 @@
...
@@ -763,6 +763,9 @@
},
},
{
{
"__id__": 34
"__id__": 34
},
{
"__id__": 36
}
}
],
],
"_active": true,
"_active": true,
...
@@ -817,7 +820,7 @@
...
@@ -817,7 +820,7 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
btn_sound
",
"_name": "
white
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 15
"__id__": 15
...
@@ -838,6 +841,96 @@
...
@@ -838,6 +841,96 @@
"b": 255,
"b": 255,
"a": 255
"a": 255
},
},
"_contentSize": {
"__type__": "cc.Size",
"width": 10,
"height": 10
},
"_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": "adpr2qbWNNFYriYbO5DIOF"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "3a26d24e-955a-4414-8603-c77f3d08a31a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "b8jO0CM1xHhqKCtztcpKoY"
},
{
"__type__": "cc.Node",
"_name": "btn_sound",
"_objFlags": 0,
"_parent": {
"__id__": 15
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 105,
"width": 105,
...
@@ -882,7 +975,7 @@
...
@@ -882,7 +975,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
6
"__id__": 1
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -916,7 +1009,7 @@
...
@@ -916,7 +1009,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
19
"__id__":
21
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -972,7 +1065,7 @@
...
@@ -972,7 +1065,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
18
"__id__":
20
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -1006,7 +1099,7 @@
...
@@ -1006,7 +1099,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
1
"__id__": 2
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1062,7 +1155,7 @@
...
@@ -1062,7 +1155,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
0
"__id__": 2
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -1096,7 +1189,7 @@
...
@@ -1096,7 +1189,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
3
"__id__": 2
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1152,7 +1245,7 @@
...
@@ -1152,7 +1245,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
2
"__id__": 2
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -1186,7 +1279,7 @@
...
@@ -1186,7 +1279,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
5
"__id__": 2
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1242,7 +1335,7 @@
...
@@ -1242,7 +1335,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
4
"__id__": 2
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -1276,7 +1369,7 @@
...
@@ -1276,7 +1369,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
7
"__id__": 2
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1332,7 +1425,7 @@
...
@@ -1332,7 +1425,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
6
"__id__": 2
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -1366,7 +1459,7 @@
...
@@ -1366,7 +1459,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
29
"__id__":
31
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1422,7 +1515,7 @@
...
@@ -1422,7 +1515,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
28
"__id__":
30
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -1456,7 +1549,7 @@
...
@@ -1456,7 +1549,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
1
"__id__": 3
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1512,7 +1605,7 @@
...
@@ -1512,7 +1605,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
0
"__id__": 3
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -1546,7 +1639,7 @@
...
@@ -1546,7 +1639,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
3
"__id__": 3
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1602,7 +1695,7 @@
...
@@ -1602,7 +1695,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
2
"__id__": 3
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -1636,7 +1729,7 @@
...
@@ -1636,7 +1729,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
5
"__id__": 3
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1692,7 +1785,7 @@
...
@@ -1692,7 +1785,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
4
"__id__": 3
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -1724,7 +1817,7 @@
...
@@ -1724,7 +1817,7 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 3
7
"__id__": 3
9
}
}
],
],
"_active": true,
"_active": true,
...
@@ -1782,13 +1875,13 @@
...
@@ -1782,13 +1875,13 @@
"_name": "BerlinSansFB",
"_name": "BerlinSansFB",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
6
"__id__": 3
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
38
"__id__":
40
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1844,7 +1937,7 @@
...
@@ -1844,7 +1937,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
7
"__id__": 3
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1882,9 +1975,6 @@
...
@@ -1882,9 +1975,6 @@
"__id__": 14
"__id__": 14
},
},
"_children": [
"_children": [
{
"__id__": 40
},
{
{
"__id__": 42
"__id__": 42
},
},
...
@@ -1905,6 +1995,9 @@
...
@@ -1905,6 +1995,9 @@
},
},
{
{
"__id__": 54
"__id__": 54
},
{
"__id__": 56
}
}
],
],
"_active": true,
"_active": true,
...
@@ -1962,13 +2055,13 @@
...
@@ -1962,13 +2055,13 @@
"_name": "help",
"_name": "help",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
39
"__id__":
41
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
1
"__id__": 4
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2024,7 +2117,7 @@
...
@@ -2024,7 +2117,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
0
"__id__": 4
2
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -2043,13 +2136,13 @@
...
@@ -2043,13 +2136,13 @@
"_name": "btn",
"_name": "btn",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
39
"__id__":
41
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
3
"__id__": 4
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2105,7 +2198,7 @@
...
@@ -2105,7 +2198,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
2
"__id__": 4
4
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -2124,13 +2217,13 @@
...
@@ -2124,13 +2217,13 @@
"_name": "select",
"_name": "select",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
39
"__id__":
41
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
5
"__id__": 4
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2186,7 +2279,7 @@
...
@@ -2186,7 +2279,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
4
"__id__": 4
6
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -2205,13 +2298,13 @@
...
@@ -2205,13 +2298,13 @@
"_name": "star_count",
"_name": "star_count",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
39
"__id__":
41
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
7
"__id__": 4
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2267,7 +2360,7 @@
...
@@ -2267,7 +2360,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
6
"__id__": 4
8
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -2286,13 +2379,13 @@
...
@@ -2286,13 +2379,13 @@
"_name": "finish",
"_name": "finish",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
39
"__id__":
41
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
49
"__id__":
51
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2348,7 +2441,7 @@
...
@@ -2348,7 +2441,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
48
"__id__":
50
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -2367,13 +2460,13 @@
...
@@ -2367,13 +2460,13 @@
"_name": "big_star",
"_name": "big_star",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
39
"__id__":
41
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
1
"__id__": 5
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2429,7 +2522,7 @@
...
@@ -2429,7 +2522,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
0
"__id__": 5
2
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -2448,13 +2541,13 @@
...
@@ -2448,13 +2541,13 @@
"_name": "wrong",
"_name": "wrong",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
39
"__id__":
41
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
3
"__id__": 5
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2510,7 +2603,7 @@
...
@@ -2510,7 +2603,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
2
"__id__": 5
4
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -2529,13 +2622,13 @@
...
@@ -2529,13 +2622,13 @@
"_name": "right",
"_name": "right",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
39
"__id__":
41
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
5
"__id__": 5
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2591,7 +2684,7 @@
...
@@ -2591,7 +2684,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
4
"__id__": 5
6
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -2614,7 +2707,7 @@
...
@@ -2614,7 +2707,7 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 5
7
"__id__": 5
9
}
}
],
],
"_active": true,
"_active": true,
...
@@ -2672,13 +2765,13 @@
...
@@ -2672,13 +2765,13 @@
"_name": "right",
"_name": "right",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
6
"__id__": 5
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
58
"__id__":
60
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2734,7 +2827,7 @@
...
@@ -2734,7 +2827,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
7
"__id__": 5
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2834,19 +2927,19 @@
...
@@ -2834,19 +2927,19 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 6
3
"__id__": 6
5
},
},
{
{
"__id__": 6
7
"__id__": 6
9
},
},
{
{
"__id__": 7
1
"__id__": 7
3
},
},
{
{
"__id__": 7
5
"__id__": 7
7
},
},
{
{
"__id__":
79
"__id__":
81
}
}
],
],
"_active": false,
"_active": false,
...
@@ -2904,11 +2997,11 @@
...
@@ -2904,11 +2997,11 @@
"_name": "quadBase",
"_name": "quadBase",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 6
2
"__id__": 6
4
},
},
"_children": [
"_children": [
{
{
"__id__": 6
4
"__id__": 6
6
}
}
],
],
"_active": true,
"_active": true,
...
@@ -2966,11 +3059,11 @@
...
@@ -2966,11 +3059,11 @@
"_name": "quad",
"_name": "quad",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 6
3
"__id__": 6
5
},
},
"_children": [
"_children": [
{
{
"__id__": 6
5
"__id__": 6
7
}
}
],
],
"_active": true,
"_active": true,
...
@@ -3028,13 +3121,13 @@
...
@@ -3028,13 +3121,13 @@
"_name": "paper",
"_name": "paper",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 6
4
"__id__": 6
6
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
6
"__id__": 6
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3090,7 +3183,7 @@
...
@@ -3090,7 +3183,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
5
"__id__": 6
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3122,11 +3215,11 @@
...
@@ -3122,11 +3215,11 @@
"_name": "quadBase",
"_name": "quadBase",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 6
2
"__id__": 6
4
},
},
"_children": [
"_children": [
{
{
"__id__":
68
"__id__":
70
}
}
],
],
"_active": true,
"_active": true,
...
@@ -3184,11 +3277,11 @@
...
@@ -3184,11 +3277,11 @@
"_name": "quad",
"_name": "quad",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 6
7
"__id__": 6
9
},
},
"_children": [
"_children": [
{
{
"__id__":
69
"__id__":
71
}
}
],
],
"_active": true,
"_active": true,
...
@@ -3246,13 +3339,13 @@
...
@@ -3246,13 +3339,13 @@
"_name": "paper",
"_name": "paper",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
68
"__id__":
70
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 7
0
"__id__": 7
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3308,7 +3401,7 @@
...
@@ -3308,7 +3401,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
69
"__id__":
71
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3340,11 +3433,11 @@
...
@@ -3340,11 +3433,11 @@
"_name": "quadBase",
"_name": "quadBase",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 6
2
"__id__": 6
4
},
},
"_children": [
"_children": [
{
{
"__id__": 7
2
"__id__": 7
4
}
}
],
],
"_active": true,
"_active": true,
...
@@ -3402,11 +3495,11 @@
...
@@ -3402,11 +3495,11 @@
"_name": "quad",
"_name": "quad",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
1
"__id__": 7
3
},
},
"_children": [
"_children": [
{
{
"__id__": 7
3
"__id__": 7
5
}
}
],
],
"_active": true,
"_active": true,
...
@@ -3464,13 +3557,13 @@
...
@@ -3464,13 +3557,13 @@
"_name": "paper",
"_name": "paper",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
2
"__id__": 7
4
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 7
4
"__id__": 7
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3526,7 +3619,7 @@
...
@@ -3526,7 +3619,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
3
"__id__": 7
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3558,11 +3651,11 @@
...
@@ -3558,11 +3651,11 @@
"_name": "quadBase",
"_name": "quadBase",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 6
2
"__id__": 6
4
},
},
"_children": [
"_children": [
{
{
"__id__": 7
6
"__id__": 7
8
}
}
],
],
"_active": true,
"_active": true,
...
@@ -3620,11 +3713,11 @@
...
@@ -3620,11 +3713,11 @@
"_name": "quad",
"_name": "quad",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
5
"__id__": 7
7
},
},
"_children": [
"_children": [
{
{
"__id__": 7
7
"__id__": 7
9
}
}
],
],
"_active": true,
"_active": true,
...
@@ -3682,13 +3775,13 @@
...
@@ -3682,13 +3775,13 @@
"_name": "paper",
"_name": "paper",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
6
"__id__": 7
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
78
"__id__":
80
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3744,7 +3837,7 @@
...
@@ -3744,7 +3837,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
7
"__id__": 7
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3776,11 +3869,11 @@
...
@@ -3776,11 +3869,11 @@
"_name": "quadBase",
"_name": "quadBase",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 6
2
"__id__": 6
4
},
},
"_children": [
"_children": [
{
{
"__id__": 8
0
"__id__": 8
2
}
}
],
],
"_active": true,
"_active": true,
...
@@ -3838,11 +3931,11 @@
...
@@ -3838,11 +3931,11 @@
"_name": "quad",
"_name": "quad",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
79
"__id__":
81
},
},
"_children": [
"_children": [
{
{
"__id__": 8
1
"__id__": 8
3
}
}
],
],
"_active": true,
"_active": true,
...
@@ -3900,13 +3993,13 @@
...
@@ -3900,13 +3993,13 @@
"_name": "paper",
"_name": "paper",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 8
0
"__id__": 8
2
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 8
2
"__id__": 8
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3962,7 +4055,7 @@
...
@@ -3962,7 +4055,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
1
"__id__": 8
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3997,9 +4090,6 @@
...
@@ -3997,9 +4090,6 @@
"__id__": 1
"__id__": 1
},
},
"_children": [
"_children": [
{
"__id__": 84
},
{
{
"__id__": 86
"__id__": 86
},
},
...
@@ -4020,6 +4110,9 @@
...
@@ -4020,6 +4110,9 @@
},
},
{
{
"__id__": 98
"__id__": 98
},
{
"__id__": 100
}
}
],
],
"_active": false,
"_active": false,
...
@@ -4077,13 +4170,13 @@
...
@@ -4077,13 +4170,13 @@
"_name": "bg_sahua",
"_name": "bg_sahua",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 8
3
"__id__": 8
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 8
5
"__id__": 8
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4139,7 +4232,7 @@
...
@@ -4139,7 +4232,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
4
"__id__": 8
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4171,13 +4264,13 @@
...
@@ -4171,13 +4264,13 @@
"_name": "bg_sahua",
"_name": "bg_sahua",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 8
3
"__id__": 8
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 8
7
"__id__": 8
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4233,7 +4326,7 @@
...
@@ -4233,7 +4326,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
6
"__id__": 8
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4265,13 +4358,13 @@
...
@@ -4265,13 +4358,13 @@
"_name": "bg_sahua",
"_name": "bg_sahua",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 8
3
"__id__": 8
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
89
"__id__":
91
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4327,7 +4420,7 @@
...
@@ -4327,7 +4420,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
88
"__id__":
90
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4359,13 +4452,13 @@
...
@@ -4359,13 +4452,13 @@
"_name": "bg_sahua",
"_name": "bg_sahua",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 8
3
"__id__": 8
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
1
"__id__": 9
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4421,7 +4514,7 @@
...
@@ -4421,7 +4514,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
0
"__id__": 9
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4453,13 +4546,13 @@
...
@@ -4453,13 +4546,13 @@
"_name": "bg_sahua",
"_name": "bg_sahua",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 8
3
"__id__": 8
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
3
"__id__": 9
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4515,7 +4608,7 @@
...
@@ -4515,7 +4608,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
2
"__id__": 9
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4547,13 +4640,13 @@
...
@@ -4547,13 +4640,13 @@
"_name": "bg_sahua",
"_name": "bg_sahua",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 8
3
"__id__": 8
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
5
"__id__": 9
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4609,7 +4702,7 @@
...
@@ -4609,7 +4702,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
4
"__id__": 9
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4641,13 +4734,13 @@
...
@@ -4641,13 +4734,13 @@
"_name": "bg_sahua",
"_name": "bg_sahua",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 8
3
"__id__": 8
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
7
"__id__": 9
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4703,7 +4796,7 @@
...
@@ -4703,7 +4796,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
6
"__id__": 9
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4735,13 +4828,13 @@
...
@@ -4735,13 +4828,13 @@
"_name": "bg_sahua",
"_name": "bg_sahua",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 8
3
"__id__": 8
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
99
"__id__":
101
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4797,7 +4890,7 @@
...
@@ -4797,7 +4890,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
98
"__id__":
100
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
...
assets/OP72/scene/OP72.js
View file @
1f46e160
This source diff could not be displayed because it is too large. You can
view the blob
instead.
assets/OP72/texture/test/white.png
0 → 100644
View file @
1f46e160
1.8 KB
assets/OP72/texture/test/white.png.meta
0 → 100644
View file @
1f46e160
{
"ver": "2.3.5",
"uuid": "b703a63f-39e4-406c-abc4-511099f05da4",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 10,
"height": 10,
"platformSettings": {},
"subMetas": {
"white": {
"ver": "1.0.4",
"uuid": "3a26d24e-955a-4414-8603-c77f3d08a31a",
"rawTextureUuid": "b703a63f-39e4-406c-abc4-511099f05da4",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 10,
"height": 10,
"rawWidth": 10,
"rawHeight": 10,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
form/src/app/common/custom-hot-zone/custom-hot-zone.component.ts
View file @
1f46e160
...
@@ -198,7 +198,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
...
@@ -198,7 +198,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
onItemImgUploadSuccess
(
e
,
item
)
{
onItemImgUploadSuccess
(
e
,
item
)
{
item
.
pic_url
=
e
.
url
;
item
.
pic_url
=
e
.
url
;
this
.
loadHotZonePic
(
item
.
pic
,
e
.
url
);
this
.
loadHotZonePic
(
item
,
item
.
pic
,
e
.
url
);
this
.
refresh
();
this
.
refresh
();
}
}
...
@@ -418,7 +418,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
...
@@ -418,7 +418,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
console
.
log
(
'
picUrl:
'
,
picUrl
);
console
.
log
(
'
picUrl:
'
,
picUrl
);
if
(
picUrl
)
{
if
(
picUrl
)
{
this
.
loadHotZonePic
(
pic
,
picUrl
,
saveData
.
imgScale
);
this
.
loadHotZonePic
(
item
,
pic
,
picUrl
,
saveData
.
imgScale
);
}
}
}
}
...
@@ -1384,7 +1384,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
...
@@ -1384,7 +1384,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
if
(
data
.
type
==
'
pic
'
)
{
if
(
data
.
type
==
'
pic
'
)
{
let
picUrl
=
data
.
pic_url
;
let
picUrl
=
data
.
pic_url
;
if
(
picUrl
)
{
if
(
picUrl
)
{
this
.
loadHotZonePic
(
item
.
pic
,
picUrl
);
this
.
loadHotZonePic
(
item
,
item
.
pic
,
picUrl
);
}
}
}
}
...
@@ -1818,7 +1818,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
...
@@ -1818,7 +1818,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
console
.
log
(
"
item:
"
,
item
);
console
.
log
(
"
item:
"
,
item
);
}
}
private
loadHotZonePic
(
pic
:
HotZoneImg
,
url
,
scale
=
null
)
{
private
loadHotZonePic
(
item
,
pic
:
HotZoneImg
,
url
,
scale
=
null
)
{
let
baseLen
;
let
baseLen
;
if
(
this
.
hotZoneImgSize
)
{
if
(
this
.
hotZoneImgSize
)
{
...
@@ -1834,7 +1834,12 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
...
@@ -1834,7 +1834,12 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
}
}
}
}
pic
.
setScaleXY
(
scale
);
const
w
=
item
.
width
*
item
.
scaleX
;
const
h
=
item
.
height
*
item
.
scaleY
;
pic
.
setScaleXY
(
getMinScale
(
pic
,
w
,
h
));
// pic.setScaleXY(scale);
});
});
}
}
...
...
form/src/app/form/form.component.html
View file @
1f46e160
...
@@ -283,6 +283,38 @@
...
@@ -283,6 +283,38 @@
</div>
</div>
<div
style=
"margin-top: 30px;"
></div>
<h2>
涂色组设置:
</h2>
<div
style=
"padding: 10px; border: 2px solid #ccc; border-radius: 10px; width: 350px;"
>
<div
*
ngFor=
"let hzItem of item.hotZoneItemArr; let i = index"
>
<div
*
ngIf=
"hzItem.gIdx == '5'"
style=
"margin: 10px; display: flex; align-items: center;"
>
<div
style=
"width: 300px; height: 70px; border: 1px solid #ccc; border-radius: 10px; padding: 5px; "
>
<h3>
item-{{i+1}}
</h3>
<span>
服务端标记区域:
</span>
<a
nz-dropdown
[
nzDropdownMenu
]="
menu4
"
>
{{hzItem.drawItem ? 'draw-item-' + hzItem.drawItem : 'select drawItem'}}
<i
nz-icon
nzType=
"down"
></i>
</a>
<nz-dropdown-menu
#
menu4=
"nzDropdownMenu"
>
<ul
nz-menu
nzSelectable
>
<div
*
ngFor=
"let temp of item.hotZoneItemArr2; let j = index"
(
click
)="
saveDrawItem
(
hzItem
,
j
+
1
)"
>
<li
*
ngIf=
"temp.gIdx == '9' "
nz-menu-item
>
draw-item-{{j+1}}
</li>
</div>
</ul>
</nz-dropdown-menu>
</div>
</div>
</div>
</div>
<div
*
ngIf=
" item.typeArr && item.typeArr.length > 1"
style=
"margin-top: 30px;"
>
<div
*
ngIf=
" item.typeArr && item.typeArr.length > 1"
style=
"margin-top: 30px;"
>
<h2>
识别顺序设置:
</h2>
<h2>
识别顺序设置:
</h2>
...
...
form/src/app/form/form.component.ts
View file @
1f46e160
...
@@ -181,6 +181,13 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy, AfterViewIni
...
@@ -181,6 +181,13 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy, AfterViewIni
]
]
}
}
},
},
{
name
:
'
涂色区域
'
,
rect
:
true
,
isCopy
:
true
// multRect : true
},
]
]
audioTypeArr
=
[
audioTypeArr
=
[
...
@@ -271,6 +278,7 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy, AfterViewIni
...
@@ -271,6 +278,7 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy, AfterViewIni
'
1
'
:
{
gIdx
:
'
1
'
,
name
:
'
手写
'
},
'
1
'
:
{
gIdx
:
'
1
'
,
name
:
'
手写
'
},
'
2
'
:
{
gIdx
:
'
2
'
,
name
:
'
画圈
'
},
'
2
'
:
{
gIdx
:
'
2
'
,
name
:
'
画圈
'
},
'
4
'
:
{
gIdx
:
'
4
'
,
name
:
'
符号
'
},
'
4
'
:
{
gIdx
:
'
4
'
,
name
:
'
符号
'
},
'
5
'
:
{
gIdx
:
'
5
'
,
name
:
'
涂色
'
},
'
6
'
:
{
gIdx
:
'
6
'
,
name
:
'
书写
'
},
'
6
'
:
{
gIdx
:
'
6
'
,
name
:
'
书写
'
},
}
}
...
@@ -336,7 +344,10 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy, AfterViewIni
...
@@ -336,7 +344,10 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy, AfterViewIni
this
.
save
();
this
.
save
();
}
}
saveDrawItem
(
hzItem
,
itemId
)
{
hzItem
.
drawItem
=
itemId
;
this
.
save
();
}
addWrongAnswer
()
{
addWrongAnswer
()
{
...
...
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