Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
middleLayer_for_kyxq
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
middleLayer_for_kyxq
Commits
f4182e09
Commit
f4182e09
authored
Nov 07, 2023
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加用户协议
parent
d9a07b89
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5345 additions
and
2000 deletions
+5345
-2000
agreementSection.prefab
assets/middleLayer_for_kyxq/prefab/agreementSection.prefab
+1656
-0
agreementSection.prefab.meta
.../middleLayer_for_kyxq/prefab/agreementSection.prefab.meta
+1
-1
agreement_web.meta
assets/middleLayer_for_kyxq/prefab/agreement_web.meta
+0
-12
middleLayer_for_kyxq.fire
assets/middleLayer_for_kyxq/scene/middleLayer_for_kyxq.fire
+3675
-1980
LoginPage.ts
assets/middleLayer_for_kyxq/script/LoginPage.ts
+13
-7
No files found.
assets/middleLayer_for_kyxq/prefab/agreement
_web/agreement_web
.prefab
→
assets/middleLayer_for_kyxq/prefab/agreement
Section
.prefab
View file @
f4182e09
...
...
@@ -13,27 +13,865 @@
},
{
"__type__": "cc.Node",
"_name": "
web
",
"_name": "
agreementSection
",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 5
},
{
"__id__": 8
},
{
"__id__": 11
},
{
"__id__": 14
},
{
"__id__": 17
},
{
"__id__": 20
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 43
},
"_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": ""
},
{
"__type__": "cc.Node",
"_name": "bg_agree",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
}
],
"_prefab": {
"__id__": 4
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 56,
"height": 56
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-296.044,
-215.085,
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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "fe4c0a35-1049-4921-9585-e85ca3532ad3"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "65sbwrv1hF1KWCdcr/+mAY",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "icon_agree",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 6
}
],
"_prefab": {
"__id__": 7
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 74,
"height": 58
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-285.71,
-207.704,
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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "276d7c2f-ad58-4481-8945-2c3940b3ca49"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "86cIn7FgZBBp9iNH2XToSo",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "text_arrangement",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
}
],
"_prefab": {
"__id__": 10
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 617,
"height": 31
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
57.944,
-216.561,
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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "81cb014c-efdd-405e-b206-ff725efeb60b"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "6ba7VQ/PNKpJYaBC25xWq3",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "btn_argee",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 12
}
],
"_prefab": {
"__id__": 13
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-182.671,
-216.997,
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": ""
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [
null
],
"_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": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "eaGK+gTx9PFYWjJxzLoSK8",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "btn_agreement",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
}
],
"_prefab": {
"__id__": 16
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
63.848,
-216.997,
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": ""
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [
null
],
"_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": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "e7DKOb8FtCKL5a72KIvq9f",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "btn_ privacy",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 18
}
],
"_prefab": {
"__id__": 19
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
285.274,
-216.997,
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": ""
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [
null
],
"_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": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "0aWnGrvaBCN58NvCOX0Imo",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "web_view",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 21
},
{
"__id__": 15
"__id__": 25
},
{
"__id__": 34
},
{
"__id__":
19
"__id__":
38
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__":
23
"__id__":
42
},
"_opacity": 255,
"_color": {
...
...
@@ -87,20 +925,20 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__":
1
"__id__":
20
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
3
"__id__":
22
},
{
"__id__":
4
"__id__":
23
}
],
"_prefab": {
"__id__":
5
"__id__":
24
},
"_opacity": 255,
"_color": {
...
...
@@ -154,7 +992,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
"__id__": 2
1
},
"_enabled": true,
"_materials": [
...
...
@@ -186,7 +1024,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
"__id__": 2
1
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -211,11 +1049,9 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
"__id__": 20
},
"asset": null,
"fileId": "2eV5Zb+pBAtbFPXhF3cFcY",
"sync": false
},
...
...
@@ -224,24 +1060,24 @@
"_name": "header",
"_objFlags": 0,
"_parent": {
"__id__":
1
"__id__":
20
},
"_children": [
{
"__id__":
7
"__id__":
26
}
],
"_active": true,
"_components": [
{
"__id__":
12
"__id__":
31
},
{
"__id__":
13
"__id__":
32
}
],
"_prefab": {
"__id__":
14
"__id__":
33
},
"_opacity": 255,
"_color": {
...
...
@@ -295,23 +1131,23 @@
"_name": "btn_close",
"_objFlags": 0,
"_parent": {
"__id__":
6
"__id__":
25
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
8
"__id__":
27
},
{
"__id__":
9
"__id__":
28
},
{
"__id__":
10
"__id__":
29
}
],
"_prefab": {
"__id__":
11
"__id__":
30
},
"_opacity": 255,
"_color": {
...
...
@@ -365,7 +1201,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
7
"__id__":
26
},
"_enabled": true,
"_materials": [
...
...
@@ -398,7 +1234,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
7
"__id__":
26
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -425,7 +1261,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
7
"__id__":
26
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -493,11 +1329,9 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
"__id__": 20
},
"asset": null,
"fileId": "c4bn3jE3hFDI9KMYwQXfiC",
"sync": false
},
...
...
@@ -506,7 +1340,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
6
"__id__":
25
},
"_enabled": true,
"_materials": [
...
...
@@ -538,7 +1372,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
6
"__id__":
25
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -563,11 +1397,9 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
"__id__": 20
},
"asset": null,
"fileId": "4ccWpQ+LNL75CxBHnj2yI9",
"sync": false
},
...
...
@@ -576,20 +1408,20 @@
"_name": "privacy_web",
"_objFlags": 0,
"_parent": {
"__id__":
1
"__id__":
20
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
16
"__id__":
35
},
{
"__id__":
17
"__id__":
36
}
],
"_prefab": {
"__id__":
18
"__id__":
37
},
"_opacity": 255,
"_color": {
...
...
@@ -643,10 +1475,10 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
15
"__id__":
34
},
"_enabled": true,
"_url": "http://appstore.iteachabc.com/application/web/privacy_policy/
hy
_privacy.html",
"_url": "http://appstore.iteachabc.com/application/web/privacy_policy/
kyxq
_privacy.html",
"webviewEvents": [],
"_id": ""
},
...
...
@@ -655,7 +1487,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
15
"__id__":
34
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -680,11 +1512,9 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
"__id__": 20
},
"asset": null,
"fileId": "3bPwe8rutK9qEgnIhjCWg2",
"sync": false
},
...
...
@@ -693,20 +1523,20 @@
"_name": "policy_web",
"_objFlags": 0,
"_parent": {
"__id__":
1
"__id__":
20
},
"_children": [],
"_active": false,
"_components": [
{
"__id__":
20
"__id__":
39
},
{
"__id__":
21
"__id__":
40
}
],
"_prefab": {
"__id__":
22
"__id__":
41
},
"_opacity": 255,
"_color": {
...
...
@@ -760,10 +1590,10 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
19
"__id__":
38
},
"_enabled": true,
"_url": "http://appstore.iteachabc.com/application/web/privacy_policy/
hy
_policy.html",
"_url": "http://appstore.iteachabc.com/application/web/privacy_policy/
kyxq
_policy.html",
"webviewEvents": [],
"_id": ""
},
...
...
@@ -772,7 +1602,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
19
"__id__":
38
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -797,14 +1627,21 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
"__id__": 20
},
"asset": null,
"fileId": "27xqQuK5pOLbdSanCFJJg4",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 20
},
"asset": null,
"fileId": "560MQ3YTBKx4yvclIy+Hr4",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
...
...
assets/middleLayer_for_kyxq/prefab/agreement
_web/agreement_web
.prefab.meta
→
assets/middleLayer_for_kyxq/prefab/agreement
Section
.prefab.meta
View file @
f4182e09
{
"ver": "1.2.9",
"uuid": "
0d5c0c4b-3afc-4ba2-8a5a-26cd83652deb
",
"uuid": "
9a98b77e-f201-4654-abac-6794df033872
",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
...
...
assets/middleLayer_for_kyxq/prefab/agreement_web.meta
deleted
100644 → 0
View file @
d9a07b89
{
"ver": "1.1.2",
"uuid": "e31ce917-429b-49cd-acf3-75c18118476a",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
assets/middleLayer_for_kyxq/scene/middleLayer_for_kyxq.fire
View file @
f4182e09
This source diff could not be displayed because it is too large. You can
view the blob
instead.
assets/middleLayer_for_kyxq/script/LoginPage.ts
View file @
f4182e09
...
...
@@ -71,8 +71,8 @@ export default class NewClass extends cc.Component {
clickAgreement
()
{
this
.
isAgreement
=
!
this
.
isAgreement
;
const
icon
=
cc
.
find
(
"
/agreement/icon_agree
"
,
this
.
panelNode
);
const
bgRect
=
cc
.
find
(
"
/agreement/bg_agree
"
,
this
.
panelNode
);
const
icon
=
cc
.
find
(
"
/agreement
Section
/icon_agree
"
,
this
.
panelNode
);
const
bgRect
=
cc
.
find
(
"
/agreement
Section
/bg_agree
"
,
this
.
panelNode
);
icon
.
active
=
this
.
isAgreement
;
cc
.
tween
(
bgRect
)
...
...
@@ -90,7 +90,7 @@ export default class NewClass extends cc.Component {
webNode
:
cc
.
Node
=
null
;
closeWeb
()
{
if
(
!
this
.
webNode
)
{
this
.
webNode
=
cc
.
find
(
"
/agreement
_web
"
,
this
.
panelNode
)
this
.
webNode
=
cc
.
find
(
"
/agreement
Section/web_view
"
,
this
.
panelNode
)
}
this
.
webNode
.
active
=
false
;
...
...
@@ -100,7 +100,7 @@ export default class NewClass extends cc.Component {
openWeb
(
evt
:
cc
.
Event
,
data
)
{
if
(
!
this
.
webNode
)
{
this
.
webNode
=
cc
.
find
(
"
/agreement
_web
"
,
this
.
panelNode
)
this
.
webNode
=
cc
.
find
(
"
/agreement
Section/web_view
"
,
this
.
panelNode
)
}
this
.
webNode
.
active
=
true
;
cc
.
find
(
`
${
data
}
_web`
,
this
.
webNode
).
active
=
true
;
...
...
@@ -115,10 +115,16 @@ export default class NewClass extends cc.Component {
if
(
!
this
.
isAgreement
)
{
global
.
middleLayer
.
showTips
(
"
请勾选《用户协议》和《隐私声明》
"
);
const
agreementNode
=
cc
.
find
(
"
/agreement
"
,
this
.
panelNode
);
const
agreementNode
=
cc
.
find
(
"
/agreementSection
"
,
this
.
panelNode
);
const
baseX
=
agreementNode
.
x
cc
.
tween
(
agreementNode
)
.
to
(
0.2
/
3
,
{
scale
:
agreementNode
.
scale
*
1.2
})
.
to
(
0.2
/
3
,
{
scale
:
agreementNode
.
scale
*
1
})
.
to
(
0.2
/
4
,
{
x
:
baseX
-
50
})
.
to
(
0.2
/
4
,
{
x
:
baseX
+
50
})
.
to
(
0.2
/
4
,
{
x
:
baseX
-
50
})
.
to
(
0.2
/
4
,
{
x
:
baseX
+
50
})
.
call
(()
=>
{
agreementNode
.
x
=
baseX
;
})
.
start
()
return
}
...
...
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