Commit f6273439 authored by 李维's avatar 李维

测试

parent eaa4f7da
...@@ -552,7 +552,7 @@ cc.Class({ ...@@ -552,7 +552,7 @@ cc.Class({
console.log(" in getState 1"); console.log(" in getState 1");
callMiddleLayerFunction("PSQS_get_course_info", {}, (data) => { callMiddleLayerFunction("PSQS_get_course_info", {}, (data) => {
console.log("PSQS_get_course_info",data.first, data.last, data.playTime, data.saveData); console.log("PSQS_get_course_info",data.first, data.last, data.playTime, JSON.stringify(data.saveData));
this.isFirst = data.first; //this.checkIsFirst(); this.isFirst = data.first; //this.checkIsFirst();
this.isLast = data.last // this.checkIsLast(); this.isLast = data.last // this.checkIsLast();
...@@ -580,7 +580,7 @@ cc.Class({ ...@@ -580,7 +580,7 @@ cc.Class({
}, },
getJumpData() { getJumpData() {
return; //{step: 1}; return {step: 1};
}, },
maskSpr: null, maskSpr: null,
...@@ -1339,10 +1339,11 @@ cc.Class({ ...@@ -1339,10 +1339,11 @@ cc.Class({
}, },
videoLoadEnd() { videoLoadEnd() {
this.videoDuration = this.video.getDuration(); this.videoDuration = this.video.getDuration();
// 时长获取到以后 可以计算题目点 // 时长获取到以后 可以计算题目点
this.setProgressBarMarkPoints(); this.setProgressBarMarkPoints();
if (this.jumpData) { if (this.jumpData) {
console.log(this.jumpData)
this.setJumpTime(); this.setJumpTime();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment