Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MRBR_video
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
MRBR_video
Commits
eaa4f7da
Commit
eaa4f7da
authored
Nov 14, 2022
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
401887ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
MRBR_video.js
assets/MRBR_video/scene/MRBR_video.js
+12
-13
No files found.
assets/MRBR_video/scene/MRBR_video.js
View file @
eaa4f7da
...
@@ -530,10 +530,9 @@ cc.Class({
...
@@ -530,10 +530,9 @@ cc.Class({
this
.
initMask
();
this
.
initMask
();
this
.
showProgressBar
();
this
.
showProgressBar
();
this
.
getState
(()
=>
{
this
.
getState
(()
=>
{
this
.
initView
();
this
.
initView
();
this
.
initListener
();
this
.
initListener
();
callMiddleLayerFunction
(
"
PSQS_hide_rabbit
"
,
{},
()
=>
{});
cb
();
cb
();
});
});
},
},
...
@@ -543,22 +542,22 @@ cc.Class({
...
@@ -543,22 +542,22 @@ cc.Class({
playTimes
:
null
,
playTimes
:
null
,
jumpData
:
null
,
jumpData
:
null
,
getState
(
cb
)
{
getState
(
cb
)
{
this
.
isFirst
=
this
.
checkIsFirst
();
// data.first; //this.checkIsFirst();
//
this.isFirst = this.checkIsFirst(); // data.first; //this.checkIsFirst();
this
.
isLast
=
this
.
checkIsLast
();
// data.last // this.checkIsLast();
//
this.isLast = this.checkIsLast(); // data.last // this.checkIsLast();
this
.
playTimes
=
this
.
checkPlayTimes
();
// data.playTime// this.checkPlayTimes();
//
this.playTimes = this.checkPlayTimes(); // data.playTime// this.checkPlayTimes();
this
.
jumpData
=
this
.
getJumpData
();
//data.saveData // this.getJumpData();
//
this.jumpData = this.getJumpData(); //data.saveData // this.getJumpData();
cb
();
//
cb();
return
;
//
return;
console
.
log
(
"
in getState 1
"
);
console
.
log
(
"
in getState 1
"
);
callMiddleLayerFunction
(
"
PSQS_get_course_info
"
,
{},
(
data
)
=>
{
callMiddleLayerFunction
(
"
PSQS_get_course_info
"
,
{},
(
data
)
=>
{
console
.
log
(
"
in getState 2
"
);
console
.
log
(
"
PSQS_get_course_info
"
,
data
.
first
,
data
.
last
,
data
.
playTime
,
data
.
saveData
);
this
.
isFirst
=
this
.
checkIsFirst
();
//
data.first; //this.checkIsFirst();
this
.
isFirst
=
data
.
first
;
//this.checkIsFirst();
this
.
isLast
=
this
.
checkIsLast
();
//
data.last // this.checkIsLast();
this
.
isLast
=
data
.
last
// this.checkIsLast();
this
.
playTimes
=
this
.
checkPlayTimes
();
//
data.playTime// this.checkPlayTimes();
this
.
playTimes
=
data
.
playTime
// this.checkPlayTimes();
this
.
jumpData
=
this
.
getJumpData
();
//
data.saveData // this.getJumpData();
this
.
jumpData
=
data
.
saveData
// this.getJumpData();
if
(
this
.
data
.
isDebug
)
{
if
(
this
.
data
.
isDebug
)
{
this
.
playTimes
+=
1
;
this
.
playTimes
+=
1
;
...
...
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