Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NJ_login
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
NJ_login
Commits
a3116969
Commit
a3116969
authored
Sep 30, 2022
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 过审
parent
a96c42d0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
286 additions
and
44 deletions
+286
-44
NJ_login.fire
assets/NJ_login/scene/NJ_login.fire
+276
-44
NJ_login.ts
assets/NJ_login/scene/NJ_login.ts
+10
-0
No files found.
assets/NJ_login/scene/NJ_login.fire
View file @
a3116969
...
...
@@ -78,13 +78,13 @@
"_active": true,
"_components": [
{
"__id__": 25
0
"__id__": 25
4
},
{
"__id__": 25
1
"__id__": 25
5
},
{
"__id__": 25
2
"__id__": 25
6
}
],
"_prefab": null,
...
...
@@ -269,19 +269,19 @@
"__id__": 31
},
{
"__id__": 23
0
"__id__": 23
4
},
{
"__id__": 23
3
"__id__": 23
7
},
{
"__id__": 2
37
"__id__": 2
41
}
],
"_active": true,
"_components": [
{
"__id__": 2
49
"__id__": 2
53
}
],
"_prefab": null,
...
...
@@ -1452,12 +1452,15 @@
},
{
"__id__": 208
},
{
"__id__": 229
}
],
"_active": true,
"_components": [
{
"__id__": 2
29
"__id__": 2
33
}
],
"_prefab": null,
...
...
@@ -10649,7 +10652,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "
42QuKlw4dHVLRRRr+BeO96
"
"_id": "
b6dKh/qh1O8J7dnK4CnE+b
"
},
{
"__type__": "cc.Label",
...
...
@@ -10682,7 +10685,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "
e9x1PYtilO55QiM7am318v
"
"_id": "
55ntiuSTNFy66g6rm86ZOn
"
},
{
"__type__": "cc.RichText",
...
...
@@ -10998,7 +11001,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "e
3UgldonhPwpluv76VIQsV
"
"_id": "e
4N74z5MZHU4IjkQQwM336
"
},
{
"__type__": "cc.Label",
...
...
@@ -11031,7 +11034,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "
e6YikKJz5Pvp8Tz7O6IlSW
"
"_id": "
5ehgK198dMZYMnXtM2sxDI
"
},
{
"__type__": "cc.RichText",
...
...
@@ -11217,6 +11220,235 @@
"_originalHeight": 0,
"_id": "6eGvtEW2FHy40zJ5dCGDzO"
},
{
"__type__": "cc.Node",
"_name": "tryatry",
"_objFlags": 0,
"_parent": {
"__id__": 31
},
"_children": [
{
"__id__": 230
}
],
"_active": false,
"_components": [
{
"__id__": 232
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 120,
"height": 35
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-2.014,
-187.658,
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": "00QbAIjXpEUIsf58gU4ZP8"
},
{
"__type__": "cc.Node",
"_name": "New Label",
"_objFlags": 0,
"_parent": {
"__id__": 229
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 231
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 14,
"g": 237,
"b": 224,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 177,
"height": 22.68
},
"_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": "9f8USPLjlDprJvqCKjfhLg"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 230
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "不想登录?随便看看...",
"_N$string": "不想登录?随便看看...",
"_fontSize": 18,
"_lineHeight": 18,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 4,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "8dhIp+4apE8obKEan15JYu"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 229
},
"_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": null,
"_id": "2bGwmUrPlClLjvXjlcdSPj"
},
{
"__type__": "cc.Widget",
"_name": "",
...
...
@@ -11255,10 +11487,10 @@
"_active": true,
"_components": [
{
"__id__": 23
1
"__id__": 23
5
},
{
"__id__": 23
2
"__id__": 23
6
}
],
"_prefab": null,
...
...
@@ -11314,7 +11546,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
0
"__id__": 23
4
},
"_enabled": true,
"_materials": [
...
...
@@ -11354,7 +11586,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
0
"__id__": 23
4
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -11387,13 +11619,13 @@
"_active": true,
"_components": [
{
"__id__": 23
4
"__id__": 23
8
},
{
"__id__": 23
5
"__id__": 23
9
},
{
"__id__": 2
36
"__id__": 2
40
}
],
"_prefab": null,
...
...
@@ -11449,7 +11681,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
3
"__id__": 23
7
},
"_enabled": true,
"_materials": [
...
...
@@ -11489,7 +11721,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
3
"__id__": 23
7
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -11516,7 +11748,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
3
"__id__": 23
7
},
"_enabled": true,
"animationName": "normal",
...
...
@@ -11531,22 +11763,22 @@
},
"_children": [
{
"__id__": 2
38
"__id__": 2
42
},
{
"__id__": 24
0
"__id__": 24
4
},
{
"__id__": 24
4
"__id__": 24
8
}
],
"_active": false,
"_components": [
{
"__id__": 2
47
"__id__": 2
51
},
{
"__id__": 2
48
"__id__": 2
52
}
],
"_prefab": null,
...
...
@@ -11602,13 +11834,13 @@
"_name": "webbar",
"_objFlags": 0,
"_parent": {
"__id__": 2
37
"__id__": 2
41
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
39
"__id__": 2
43
}
],
"_prefab": null,
...
...
@@ -11664,7 +11896,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
38
"__id__": 2
42
},
"_enabled": true,
"_materials": [
...
...
@@ -11696,17 +11928,17 @@
"_name": "webBg",
"_objFlags": 0,
"_parent": {
"__id__": 2
37
"__id__": 2
41
},
"_children": [
{
"__id__": 24
1
"__id__": 24
5
}
],
"_active": true,
"_components": [
{
"__id__": 24
3
"__id__": 24
7
}
],
"_prefab": null,
...
...
@@ -11762,13 +11994,13 @@
"_name": "webview",
"_objFlags": 0,
"_parent": {
"__id__": 24
0
"__id__": 24
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 24
2
"__id__": 24
6
}
],
"_prefab": null,
...
...
@@ -11824,7 +12056,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
1
"__id__": 24
5
},
"_enabled": true,
"_url": "",
...
...
@@ -11836,7 +12068,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
0
"__id__": 24
4
},
"_enabled": true,
"_materials": [
...
...
@@ -11868,16 +12100,16 @@
"_name": "closeWebbtn",
"_objFlags": 0,
"_parent": {
"__id__": 2
37
"__id__": 2
41
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 24
5
"__id__": 24
9
},
{
"__id__": 2
46
"__id__": 2
50
}
],
"_prefab": null,
...
...
@@ -11933,7 +12165,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
4
"__id__": 24
8
},
"_enabled": true,
"_materials": [
...
...
@@ -11966,7 +12198,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
4
"__id__": 24
8
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -12034,7 +12266,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
37
"__id__": 2
41
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -12061,7 +12293,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
37
"__id__": 2
41
},
"_enabled": true,
"_id": "ccbo2YAfFI77X7NjimcI1r"
...
...
assets/NJ_login/scene/NJ_login.ts
View file @
a3116969
...
...
@@ -96,6 +96,16 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
login
(
phone
,
password
);
});
if
(
cc
.
sys
.
isNative
&&
cc
.
sys
.
os
==
cc
.
sys
.
OS_IOS
)
{
const
tryatry
=
cc
.
find
(
'
Canvas/bg/ui/tryatry
'
);
tryatry
.
active
=
true
;
buttonOnClick
(
tryatry
,
()
=>
{
this
.
login
(
15500000006
,
"
qwer5678
"
);
});
}
const
btnResetPassword
=
cc
.
find
(
'
Canvas/bg/ui/forgetNode/btnResetPassword
'
);
buttonOnClick
(
btnResetPassword
,
async
()
=>
{
const
inputPhone
=
cc
.
find
(
'
Canvas/bg/ui/forgetNode/phone/inputPhone
'
);
...
...
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