浏览代码

拼接素材

zhuxinbo 5 年之前
父节点
当前提交
ed1cf4cfde
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      src/views/modules/material/fragmentMatemal.vue

+ 7 - 0
src/views/modules/material/fragmentMatemal.vue

@@ -194,6 +194,7 @@ a {
 
     <div class="table-operator" style="position:relative;z-index:100">
       <a-button @click="dirVideoGet" type="primary" icon="plus">新增</a-button>
+      <a-button @click="joinMatemal" type="primary">素材拼接</a-button>
       <a-button @click="onCheckAllChange" v-if="active == 'VIDEO_PART'">{{
         checkAll ? '取消  (  ' + checkArr.length + '  )' : '全选'
       }}</a-button>
@@ -574,6 +575,12 @@ export default {
       this.defaultDir = value
       this.setDir()
     },
+    joinMatemal() {
+      if (this.joinVideo.head != '' && this.joinVideo.foot != '' && this.joinVideo.content.length > 0) {
+      } else {
+        this.$message.error('请选择片头片尾以及内容')
+      }
+    },
     dirVideoGet() {
       this.visible = true
       console.log(this.defaultDir)