diff --git a/api/manage/manage.js b/api/manage/manage.js
index a3dd43b..dd80f71 100644
--- a/api/manage/manage.js
+++ b/api/manage/manage.js
@@ -26,9 +26,13 @@ const userTaskList = function(data){
const userDeleteStudy = function(data){
return ajax.postJson(baseURL,'/stu/project/stuCancelEnrollment',data);
}
-
+// 移动端视频播放器设置开关
+const getDictCode = function(code){
+ return ajax.get(baseURL+'/dict?code=' + code);
+}
export default {
getTaskNum,
userTaskList,
- userDeleteStudy
+ userDeleteStudy,
+ getDictCode
}
diff --git a/api/modules/courseStudy.js b/api/modules/courseStudy.js
index 57420bf..5318ce9 100644
--- a/api/modules/courseStudy.js
+++ b/api/modules/courseStudy.js
@@ -78,7 +78,6 @@ const studyInfo = function(courseId) {
* @param {Object} contentId
*/
const getStudyContentItem = function(studyId,contentId) {
- console.log(1111)
return ajax.post('/xboe/school/study/course/study-course-content',{studyId,contentId});
}
diff --git a/components/video-player/progress-bar.vue b/components/video-player/progress-bar.vue
new file mode 100644
index 0000000..1391265
--- /dev/null
+++ b/components/video-player/progress-bar.vue
@@ -0,0 +1,241 @@
+/**
+ $emit: updateProgress, -> 调整进度条后触发的事件,传递参数:currentProgress
+ getMouseDownStatus, -> 获取是否鼠标按下的状态,传递参数:true/false
+ props: width, height,
+ currentProgress, -> 当前进度,范围0-1
+ */
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/video-player/video-player.vue b/components/video-player/video-player.vue
index a587a8c..0d96680 100644
--- a/components/video-player/video-player.vue
+++ b/components/video-player/video-player.vue
@@ -1,9 +1,14 @@
-
-
+
+
+
{{currtime}}
-
-
+
+
+
+
+
+
+
{{druationTime}}
@@ -46,19 +68,45 @@
+
+
+ {{mobileVideoDragText}}
+
+
+