Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
middleLayer_for_NJ_lite
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_NJ_lite
Commits
8b3ccd85
Commit
8b3ccd85
authored
Sep 05, 2022
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
c8dd5e2e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
middleLayer.ts
assets/middleLayer_for_NJ_lite/script/middleLayer.ts
+14
-14
No files found.
assets/middleLayer_for_NJ_lite/script/middleLayer.ts
View file @
8b3ccd85
...
...
@@ -326,7 +326,7 @@ export default class NewClass extends middleLayerBase {
star
.
active
=
true
;
star
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
'
normal
'
,
1
);
//
setTimeout(() => {
setTimeout
(()
=>
{
// this.showConfirm('还想再来一次吗?', () => {
// this.hideGetParterAnim();
...
...
@@ -334,22 +334,22 @@ export default class NewClass extends middleLayerBase {
// const gameSelectData = this.getData('NJ_game_select');
// this.loadOnlineCourseWare(gameSelectData.courseId, true);
// }, () => {
// 潜水艇页
//
// 潜水艇页
this
.
hideGetParterAnim
();
cc
.
find
(
'
middleLayer/BtnRight
'
).
active
=
false
;
cc
.
find
(
'
middleLayer/BtnLeft
'
).
active
=
false
;
cc
.
find
(
'
middleLayer/ExitBtn
'
).
active
=
false
;
const
idx
=
this
.
getData
(
'
NJ_menu_select_idx
'
);
if
(
idx
==
'
0
'
)
{
this
.
loadOnlineBundle
(
'
NJ_QianShuiTing
'
);
}
else
if
(
idx
==
'
1
'
)
{
this
.
loadOnlineBundle
(
'
NJ_ShaMo
'
);
}
else
if
(
idx
==
'
2
'
)
{
this
.
loadOnlineBundle
(
'
NJ_NongChang
'
);
}
//
cc.find('middleLayer/BtnRight').active = false;
//
cc.find('middleLayer/BtnLeft').active = false;
//
cc.find('middleLayer/ExitBtn').active = false;
//
const idx = this.getData('NJ_menu_select_idx');
//
if (idx == '0') {
//
this.loadOnlineBundle('NJ_QianShuiTing');
//
} else if (idx == '1') {
//
this.loadOnlineBundle('NJ_ShaMo');
//
} else if (idx == '2') {
//
this.loadOnlineBundle('NJ_NongChang');
//
}
// });
//
}, 1000);
},
1000
);
}
hideGetParterAnim
()
{
...
...
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