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
c8dd5e2e
Commit
c8dd5e2e
authored
Sep 05, 2022
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
883f6e6b
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
213 additions
and
200 deletions
+213
-200
middleLayer_for_NJ_lite.fire
...iddleLayer_for_NJ_lite/scene/middleLayer_for_NJ_lite.fire
+203
-190
middleLayer.ts
assets/middleLayer_for_NJ_lite/script/middleLayer.ts
+9
-9
util.ts
assets/middleLayer_for_NJ_lite/script/util.ts
+1
-1
No files found.
assets/middleLayer_for_NJ_lite/scene/middleLayer_for_NJ_lite.fire
View file @
c8dd5e2e
This diff is collapsed.
Click to expand it.
assets/middleLayer_for_NJ_lite/script/middleLayer.ts
View file @
c8dd5e2e
...
...
@@ -326,14 +326,14 @@ export default class NewClass extends middleLayerBase {
star
.
active
=
true
;
star
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
'
normal
'
,
1
);
setTimeout
(()
=>
{
this
.
showConfirm
(
'
还想再来一次吗?
'
,
()
=>
{
this
.
hideGetParterAnim
();
// 识别页
const
gameSelectData
=
this
.
getData
(
'
NJ_game_select
'
);
this
.
loadOnlineCourseWare
(
gameSelectData
.
courseId
,
true
);
},
()
=>
{
//
setTimeout(() => {
//
this.showConfirm('还想再来一次吗?', () => {
//
this.hideGetParterAnim();
//
// 识别页
//
const gameSelectData = this.getData('NJ_game_select');
//
this.loadOnlineCourseWare(gameSelectData.courseId, true);
//
}, () => {
// 潜水艇页
this
.
hideGetParterAnim
();
cc
.
find
(
'
middleLayer/BtnRight
'
).
active
=
false
;
...
...
@@ -348,8 +348,8 @@ export default class NewClass extends middleLayerBase {
}
else
if
(
idx
==
'
2
'
)
{
this
.
loadOnlineBundle
(
'
NJ_NongChang
'
);
}
});
},
1000
);
//
});
//
}, 1000);
}
hideGetParterAnim
()
{
...
...
assets/middleLayer_for_NJ_lite/script/util.ts
View file @
c8dd5e2e
...
...
@@ -532,8 +532,8 @@ export function buttonOnClick(button: cc.Node, callback: Function, scale = 1.0)
.
to
(
0.1
,
{
scale
:
scale
*
1.1
})
.
to
(
0.1
,
{
scale
:
scale
})
.
call
(()
=>
{
button
[
'
cantClick
'
]
=
false
;
callback
&&
callback
();
button
[
'
cantClick
'
]
=
false
;
})
.
start
();
});
...
...
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