Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MingSnake_241120
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
MingSnake_241120
Commits
4968dfb8
Commit
4968dfb8
authored
Dec 12, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
11a87697
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
276 additions
and
114 deletions
+276
-114
store.ts
assets/Scripts/store/store.ts
+1
-1
UICanvas.prefab
assets/Start/UICanvas.prefab
+275
-113
No files found.
assets/Scripts/store/store.ts
View file @
4968dfb8
...
...
@@ -146,7 +146,7 @@ class Store {
async
getTaskInfo
()
{
return
await
sendWebNet
WithToken
(
WebNetName
.
taskList
,
{
return
await
sendWebNet
(
WebNetName
.
taskList
,
{
taskToken
:
getUrlParams
(
"taskToken"
)
||
"123456"
,
});
}
...
...
assets/Start/UICanvas.prefab
View file @
4968dfb8
...
...
@@ -28,26 +28,26 @@
"__id__": 24
},
{
"__id__": 5
2
"__id__": 5
8
},
{
"__id__": 8
2
"__id__": 8
8
}
],
"_active": true,
"_components": [
{
"__id__": 1
14
"__id__": 1
20
},
{
"__id__": 1
16
"__id__": 1
22
},
{
"__id__": 1
18
"__id__": 1
24
}
],
"_prefab": {
"__id__": 12
0
"__id__": 12
6
},
"_lpos": {
"__type__": "cc.Vec3",
...
...
@@ -141,7 +141,7 @@
"_priority": 1073741824,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight":
884.5454545454546
,
"_orthoHeight":
726.1043723554302
,
"_near": 1,
"_far": 2000,
"_color": {
...
...
@@ -553,25 +553,28 @@
},
{
"__id__": 35
},
{
"__id__": 43
}
],
"_active": false,
"_components": [
{
"__id__": 4
3
"__id__": 4
9
},
{
"__id__":
45
"__id__":
51
},
{
"__id__":
47
"__id__":
53
},
{
"__id__":
49
"__id__":
55
}
],
"_prefab": {
"__id__": 5
1
"__id__": 5
7
},
"_lpos": {
"__type__": "cc.Vec3",
...
...
@@ -673,7 +676,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1624,
"height": 7
49.9999999999999
"height": 7
50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -974,6 +977,165 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "label",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 24
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 44
},
{
"__id__": 46
}
],
"_prefab": {
"__id__": 48
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 43
},
"_enabled": true,
"__prefab": {
"__id__": 45
},
"_contentSize": {
"__type__": "cc.Size",
"width": 700,
"height": 63
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b8WmZBGZZKeaUdBsLUOKI8"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 43
},
"_enabled": true,
"__prefab": {
"__id__": 47
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "分享好友后,点击屏幕即可复活",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 50,
"_fontSize": 50,
"_fontFamily": "Arial",
"_lineHeight": 50,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": false,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a1CLGSgrVAQKrEqTeeu79w"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "05jv2bZUxBu41yG2M/d5W2",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
...
...
@@ -984,12 +1146,12 @@
},
"_enabled": true,
"__prefab": {
"__id__":
44
"__id__":
50
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1624,
"height": 7
49.9999999999999
"height": 7
50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -1012,7 +1174,7 @@
},
"_enabled": true,
"__prefab": {
"__id__":
46
"__id__":
52
},
"_alignFlags": 45,
"_target": null,
...
...
@@ -1048,7 +1210,7 @@
},
"_enabled": true,
"__prefab": {
"__id__":
48
"__id__":
54
},
"_id": ""
},
...
...
@@ -1066,7 +1228,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 5
0
"__id__": 5
6
},
"clickEvents": [],
"_interactable": true,
...
...
@@ -1135,26 +1297,26 @@
},
"_children": [
{
"__id__": 5
3
"__id__": 5
9
},
{
"__id__": 6
1
"__id__": 6
7
}
],
"_active": true,
"_components": [
{
"__id__":
75
"__id__":
81
},
{
"__id__":
77
"__id__":
83
},
{
"__id__":
79
"__id__":
85
}
],
"_prefab": {
"__id__": 8
1
"__id__": 8
7
},
"_lpos": {
"__type__": "cc.Vec3",
...
...
@@ -1191,23 +1353,23 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 5
2
"__id__": 5
8
},
"_children": [],
"_active": false,
"_components": [
{
"__id__":
54
"__id__":
60
},
{
"__id__":
56
"__id__":
62
},
{
"__id__":
58
"__id__":
64
}
],
"_prefab": {
"__id__": 6
0
"__id__": 6
6
},
"_lpos": {
"__type__": "cc.Vec3",
...
...
@@ -1244,11 +1406,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
3
"__id__": 5
9
},
"_enabled": true,
"__prefab": {
"__id__":
55
"__id__":
61
},
"_contentSize": {
"__type__": "cc.Size",
...
...
@@ -1272,11 +1434,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
3
"__id__": 5
9
},
"_enabled": true,
"__prefab": {
"__id__":
57
"__id__":
63
},
"_alignFlags": 45,
"_target": null,
...
...
@@ -1308,11 +1470,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
3
"__id__": 5
9
},
"_enabled": true,
"__prefab": {
"__id__":
59
"__id__":
65
},
"_id": ""
},
...
...
@@ -1339,27 +1501,27 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 5
2
"__id__": 5
8
},
"_children": [
{
"__id__": 6
2
"__id__": 6
8
}
],
"_active": true,
"_components": [
{
"__id__":
68
"__id__":
74
},
{
"__id__": 7
0
"__id__": 7
6
},
{
"__id__": 7
2
"__id__": 7
8
}
],
"_prefab": {
"__id__":
74
"__id__":
80
},
"_lpos": {
"__type__": "cc.Vec3",
...
...
@@ -1396,20 +1558,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 6
1
"__id__": 6
7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 6
3
"__id__": 6
9
},
{
"__id__":
65
"__id__":
71
}
],
"_prefab": {
"__id__":
67
"__id__":
73
},
"_lpos": {
"__type__": "cc.Vec3",
...
...
@@ -1446,11 +1608,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 6
2
"__id__": 6
8
},
"_enabled": true,
"__prefab": {
"__id__":
64
"__id__":
70
},
"_contentSize": {
"__type__": "cc.Size",
...
...
@@ -1474,11 +1636,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 6
2
"__id__": 6
8
},
"_enabled": true,
"__prefab": {
"__id__":
66
"__id__":
72
},
"_customMaterial": null,
"_srcBlendFactor": 2,
...
...
@@ -1555,11 +1717,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 6
1
"__id__": 6
7
},
"_enabled": true,
"__prefab": {
"__id__":
69
"__id__":
75
},
"_contentSize": {
"__type__": "cc.Size",
...
...
@@ -1583,11 +1745,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 6
1
"__id__": 6
7
},
"_enabled": true,
"__prefab": {
"__id__": 7
1
"__id__": 7
7
},
"_customMaterial": null,
"_srcBlendFactor": 2,
...
...
@@ -1628,11 +1790,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 6
1
"__id__": 6
7
},
"_enabled": true,
"__prefab": {
"__id__": 7
3
"__id__": 7
9
},
"_resizeMode": 1,
"_layoutType": 3,
...
...
@@ -1679,16 +1841,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
2
"__id__": 5
8
},
"_enabled": true,
"__prefab": {
"__id__":
76
"__id__":
82
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1624,
"height": 7
49.9999999999999
"height": 7
50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -1707,11 +1869,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
2
"__id__": 5
8
},
"_enabled": true,
"__prefab": {
"__id__":
78
"__id__":
84
},
"_alignFlags": 45,
"_target": null,
...
...
@@ -1743,11 +1905,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
2
"__id__": 5
8
},
"_enabled": true,
"__prefab": {
"__id__": 8
0
"__id__": 8
6
},
"_opacity": 255,
"_id": ""
...
...
@@ -1779,29 +1941,29 @@
},
"_children": [
{
"__id__": 83
},
{
"__id__": 91
"__id__": 89
},
{
"__id__": 97
},
{
"__id__": 103
},
{
"__id__": 109
}
],
"_active": true,
"_components": [
{
"__id__": 1
09
"__id__": 1
15
},
{
"__id__": 11
1
"__id__": 11
7
}
],
"_prefab": {
"__id__": 11
3
"__id__": 11
9
},
"_lpos": {
"__type__": "cc.Vec3",
...
...
@@ -1838,23 +2000,23 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 8
2
"__id__": 8
8
},
"_children": [],
"_active": false,
"_components": [
{
"__id__":
84
"__id__":
90
},
{
"__id__":
86
"__id__":
92
},
{
"__id__":
88
"__id__":
94
}
],
"_prefab": {
"__id__": 9
0
"__id__": 9
6
},
"_lpos": {
"__type__": "cc.Vec3",
...
...
@@ -1891,11 +2053,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
3
"__id__": 8
9
},
"_enabled": true,
"__prefab": {
"__id__":
85
"__id__":
91
},
"_contentSize": {
"__type__": "cc.Size",
...
...
@@ -1919,11 +2081,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
3
"__id__": 8
9
},
"_enabled": true,
"__prefab": {
"__id__":
87
"__id__":
93
},
"_alignFlags": 45,
"_target": null,
...
...
@@ -1955,11 +2117,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
3
"__id__": 8
9
},
"_enabled": true,
"__prefab": {
"__id__":
89
"__id__":
95
},
"_id": ""
},
...
...
@@ -1986,20 +2148,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 8
2
"__id__": 8
8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
2
"__id__": 9
8
},
{
"__id__":
94
"__id__":
100
}
],
"_prefab": {
"__id__":
96
"__id__":
102
},
"_lpos": {
"__type__": "cc.Vec3",
...
...
@@ -2036,11 +2198,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 9
1
"__id__": 9
7
},
"_enabled": true,
"__prefab": {
"__id__": 9
3
"__id__": 9
9
},
"_contentSize": {
"__type__": "cc.Size",
...
...
@@ -2064,11 +2226,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 9
1
"__id__": 9
7
},
"_enabled": true,
"__prefab": {
"__id__":
95
"__id__":
101
},
"_customMaterial": null,
"_srcBlendFactor": 2,
...
...
@@ -2122,20 +2284,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 8
2
"__id__": 8
8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
98
"__id__":
104
},
{
"__id__": 10
0
"__id__": 10
6
}
],
"_prefab": {
"__id__": 10
2
"__id__": 10
8
},
"_lpos": {
"__type__": "cc.Vec3",
...
...
@@ -2172,11 +2334,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
97
"__id__":
103
},
"_enabled": true,
"__prefab": {
"__id__":
99
"__id__":
105
},
"_contentSize": {
"__type__": "cc.Size",
...
...
@@ -2200,11 +2362,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
97
"__id__":
103
},
"_enabled": true,
"__prefab": {
"__id__": 10
1
"__id__": 10
7
},
"_customMaterial": null,
"_srcBlendFactor": 2,
...
...
@@ -2258,20 +2420,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 8
2
"__id__": 8
8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
04
"__id__": 1
10
},
{
"__id__": 1
06
"__id__": 1
12
}
],
"_prefab": {
"__id__": 1
08
"__id__": 1
14
},
"_lpos": {
"__type__": "cc.Vec3",
...
...
@@ -2308,11 +2470,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
3
"__id__": 10
9
},
"_enabled": true,
"__prefab": {
"__id__": 1
05
"__id__": 1
11
},
"_contentSize": {
"__type__": "cc.Size",
...
...
@@ -2336,11 +2498,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
3
"__id__": 10
9
},
"_enabled": true,
"__prefab": {
"__id__": 1
07
"__id__": 1
13
},
"_customMaterial": null,
"_srcBlendFactor": 2,
...
...
@@ -2417,16 +2579,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
2
"__id__": 8
8
},
"_enabled": true,
"__prefab": {
"__id__": 11
0
"__id__": 11
6
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1624,
"height": 7
49.9999999999999
"height": 7
50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -2445,11 +2607,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
2
"__id__": 8
8
},
"_enabled": true,
"__prefab": {
"__id__": 11
2
"__id__": 11
8
},
"_alignFlags": 45,
"_target": null,
...
...
@@ -2498,12 +2660,12 @@
},
"_enabled": true,
"__prefab": {
"__id__": 1
15
"__id__": 1
21
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1624,
"height": 7
49.9999999999999
"height": 7
50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -2526,7 +2688,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 1
17
"__id__": 1
23
},
"_cameraComponent": {
"__id__": 3
...
...
@@ -2548,7 +2710,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 1
19
"__id__": 1
25
},
"_alignFlags": 45,
"_target": null,
...
...
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