SimpleTaskSystem.Web/Assets/js/studyplatform/learn/index.js
(开头部分) 87KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/**
* Created by kelei on 2016/6/12.
* 学习页面
*/
var getSingle = function (fn) {
var rst;
return function () {
return rst || (rst = fn.call(this));
};
};
function LearnIndex() {
return new LearnIndex.prototype.init();
}
LearnIndex.prototype = {
lessonId: lessonId, //测试课时Id
courseId: courseId, //测试课程Id
userId: userId, //测试用户Id
fileType: lessonType,
fileId: fileId,
platId:platId,
localServiceUrl: "http://127.0.0.1:32889",
//uriCommonPathhttp:"//192.168.2.88:32800/Interface-1.0.newv/WebDownloadLessonFile/LessonUid=",
uriCommonPath: smartBoxUrl + "/Interface-1.0.newv/WebDownloadLessonFile/LessonUid=",
learnHtml: '<i class=""> 正在学<em class="glyphicon glyphicon-time"></em> </i>',
finishHtml: '<i class=""> <em class="glyphicon glyphicon-ok-circle"></em> </i>',
setT: null,
space: '',
watchTime: 0,
timer: null,
myNoteOnlyMy:0,
showExercisePage: false,
isJustClosePageDate: null,
exercieseDialogIndex: 0,
scollTop: 0,
scollIds:[],
stopedScollTop: false,
videoCompleted: false,
ckVideoTime: 0,
isFloatVideoShow: false,
floatVideoUrl: "",
noteUid:null,//笔记的id ,1.只看我的,就有id,否则""
init: function () {
this.playWindowInit();
this.getCourseLessonData();
this.getCommentData();
this.getServiceTime();
this.getUserOtherCourse();
this.getUserBaseInfo();
this.getCourseInfo();
this.getLessonInfo();
this.getUnreadMessageNum();
this.getUnreadNotificationNum();
this.getCourseLearnedPercent();
$('#li_comment').click(function (event) { //评论tab
event.preventDefault();
$('#ul_tab a').removeClass('active');
$(this).find('a').addClass('active');
obj.showElement('comment_content');
obj.getCommentData();
后面还有 1896 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
