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
a52e2364
Commit
a52e2364
authored
Jan 15, 2024
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
俄罗斯版禁用用户协议选项
parent
cea26999
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
NJ_login.fire
assets/NJ_login/scene/NJ_login.fire
+4
-4
NJ_login.ts
assets/NJ_login/scene/NJ_login.ts
+6
-1
No files found.
assets/NJ_login/scene/NJ_login.fire
View file @
a52e2364
...
...
@@ -10652,7 +10652,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "
bculR2beNBO5nM79CTtybd
"
"_id": "
10JmCcZy5G77kwMDGrzLQH
"
},
{
"__type__": "cc.Label",
...
...
@@ -10685,7 +10685,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "3
eeB4wvY9IvK2xA/4EnIZU
"
"_id": "3
4DAV8QdxPM6XTcZh8j72R
"
},
{
"__type__": "cc.RichText",
...
...
@@ -11001,7 +11001,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "
39y3fKQr1HwrHmhnFqzmJ0
"
"_id": "
bfaraZmI5Jk7PVLp+UOlXx
"
},
{
"__type__": "cc.Label",
...
...
@@ -11034,7 +11034,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "
d0s8MrViBNDroD++EmyP1d
"
"_id": "
5aANsFNRRK25PP05ucALdv
"
},
{
"__type__": "cc.RichText",
...
...
assets/NJ_login/scene/NJ_login.ts
View file @
a52e2364
...
...
@@ -43,7 +43,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
const
check
=
cc
.
find
(
'
Canvas/bg/ui/btnLaw/check
'
);
if
(
!
check
.
active
)
{
const
btnLaw
=
cc
.
find
(
'
Canvas/bg/ui/btnLaw
'
);
// 如果按钮显示 并且 没有勾选(俄罗斯版本不需要显示和勾选)
if
(
btnLaw
.
active
&&
!
check
.
active
)
{
console
.
log
(
'
请勾选下方协议
'
);
this
.
middleLayer
.
showTips
(
languageString
[
this
.
localLanguage
].
check_agreement
);
return
;
...
...
@@ -79,6 +81,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
localLanguage
=
localLanguage
;
// 禁用用户条款
cc
.
find
(
"
Canvas/bg/ui/btnLaw
"
).
active
=
false
;
this
.
translateLanguageString
();
this
.
repositionLaws
();
}
...
...
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