ai视频一期功能提交

This commit is contained in:
sunli_tydic
2025-12-09 10:26:02 +08:00
parent caa9b23766
commit 82dcfa6348
16 changed files with 838 additions and 155 deletions

View File

@@ -376,6 +376,7 @@
<!-- 开发阶段先放开 v-if="courseInfo.aiDraft == 1" -->
<div
@click="heartabthree"
v-if="courseInfo.aiDraft == 1 && contentData.contentType == 10"
:class="tab == 3 ? 'control-tab-active' : ' '"
style="position: relative"
>
@@ -650,7 +651,7 @@
</div>
<!-- ai播放器相关 -->
<!-- ai文稿 -->
<div class="ai-script" v-if="tab == 3">
<div class="ai-script" v-if="contentData.contentType == 10 && tab == 3">
<ai-script ref="aiscript" @changeCurrentTime="changeCurrentTime"></ai-script>
</div>
</div>
@@ -1054,6 +1055,7 @@ export default {
},
...mapMutations({
SET_selectableLang: 'video/SET_selectableLang',
SET_courseInfo: 'video/SET_courseInfo',
}),
handleOpen(key, path) {
if (this.isFalse) {
@@ -1387,6 +1389,10 @@ export default {
// ai播放器相关 - 视频处理
handleAIVideo(list = [], r) {
this.SET_selectableLang(list);
this.SET_courseInfo(this.courseInfo);
if (this.courseInfo.aiSet && this.courseInfo.aiAbstract == 1 && this.courseInfo.summaryContent) {
this.coutab(4);
}
console.log("ai处理", this.selectableLang);
},
isShowTime() {