chore: 更新视频音频播放组件
- 将 edu-core 依赖从本地文件改为 git 仓库引用 (v1.0.3) - 在“我的”页面为特定列表项添加 Android 平台条件渲染 - 将应用版本号从 1.0.06 (1006) 更新至 1.0.07 (1007) - 将开发环境的基础 API URL 从本地测试地址切换为线上正式地址 - 全局注册 CommonCourseVideo 组件,并在课程详情页用它替换原有视频组件
This commit is contained in:
@@ -3,10 +3,11 @@
|
||||
<template v-show="!screenLoading">
|
||||
<z-nav-bar title="教学内容"></z-nav-bar>
|
||||
|
||||
<CourseVideo
|
||||
<CommonCourseVideo
|
||||
:video-list="videoArray"
|
||||
:current-index="currentVideoIndex !== null ? currentVideoIndex : 0"
|
||||
:course="{courseTitle:options.navTitle, chapterTitle: curriculumData.title}"
|
||||
:cover="options.curriculumImgUrl"
|
||||
:http="$http"
|
||||
/>
|
||||
|
||||
@@ -55,19 +56,11 @@
|
||||
|
||||
<script>
|
||||
import courseDescription from "@/pages/component/commonComponents/list";
|
||||
import VideoPlayer from "edu-core/components/video-player";
|
||||
import CourseVideo from "edu-core/components/course-video";
|
||||
import AudioPlayer from "edu-core/src/components/audio-player";
|
||||
import curriculumMp3 from "./mp3Detail.vue";
|
||||
import $http from "@/config/requestConfig.js";
|
||||
import { mapState } from "vuex";
|
||||
export default {
|
||||
components: {
|
||||
courseDescription, //课程说明
|
||||
curriculumMp3, //mp3
|
||||
VideoPlayer, // 视频播放组件
|
||||
AudioPlayer, // 音频播放组件
|
||||
CourseVideo,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
@@ -107,6 +107,7 @@
|
||||
</view>
|
||||
|
||||
<view
|
||||
v-if="$platform == 'android'"
|
||||
class="chong_list_item"
|
||||
style="flex-direction: initial; margin-right: 0"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user