添加改动标识 ai播放器相关

This commit is contained in:
sunli_tydic
2025-11-21 14:30:09 +08:00
parent b31f02bf23
commit 4b4c0943d8
8 changed files with 313 additions and 227 deletions

View File

@@ -647,6 +647,7 @@
:score="courseInfo.score"
></my-note>
</div>
<!-- ai播放器相关 -->
<!-- ai文稿 -->
<div class="ai-script" v-if="tab == 3">
<ai-script ref="aiscript" @changeCurrentTime="changeCurrentTime"></ai-script>
@@ -663,6 +664,7 @@
>
内容简介<span class=""></span>
</div>
<!-- ai播放器相关 -->
<div
@click="coutab(4)"
style="position: relative;"
@@ -743,6 +745,7 @@
></note-comments>
</div>
</div>
<!-- ai播放器相关 -->
<div
v-show="courestab == 4"
style="padding-left: 17px; padding-top: 20px;background-color: #fff;"
@@ -1004,6 +1007,7 @@ export default {
this.loadData();
},
computed: {
// ai播放器相关
...mapGetters(["userInfo", 'selectableLang']),
catalogTree() {
let treeList = [];
@@ -1040,6 +1044,7 @@ export default {
},
},
methods: {
// ai播放器相关
// 处理从AI文稿组件传递过来的时间跳转事件
changeCurrentTime(time) {
console.log(time,'time')
@@ -1211,7 +1216,7 @@ export default {
this.curriculumData.url = r.content;
}
this.$refs.mynote.showVideoTimeBtn(true);
// 视频类型加载ai相关功能
// ai播放器相关 - 视频类型加载ai相关功能
if (r.contentType == 10) {
this.handleAIVideo(r.boeaiSubtitleRspList, r);
}
@@ -1377,7 +1382,7 @@ export default {
localStorage.setItem("videoProgressData", JSON.stringify(arr));
}
},
// 视频处理 - 处理ai相关功能
// ai播放器相关 - 视频处理
handleAIVideo(list = [], r) {
this.SET_selectableLang(list);
console.log("ai处理", this.selectableLang);
@@ -1768,7 +1773,7 @@ export default {
courseId: this.contentData.courseId,
contentId: this.contentData.id,
studyInfo:
this.courseInfo.name + "-" + this.contentData.contentName,
this.courseInfo.name + "-" + this.contentData.contentName,
duration: 10,
};
//console.log('this.courseInfo:',this.contentData)
@@ -2338,6 +2343,7 @@ export default {
heartabtwo() {
this.tab = 2;
},
// ai播放器相关
heartabthree() {
this.tab = 3;
},