音视频管理
This commit is contained in:
@@ -91,7 +91,8 @@
|
||||
</quill-editor>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item prop="sort" label-width="0"> -->
|
||||
<div v-if="this.dataForm.id">
|
||||
<!-- <div v-if="this.dataForm.id"> -->
|
||||
<div>
|
||||
<div
|
||||
class="flexbox videoBox"
|
||||
v-for="(item, index) in video_audio_url"
|
||||
@@ -134,10 +135,12 @@
|
||||
|
||||
<el-button @click="delItem(index)" plain type="danger" size="mini">删除</el-button>
|
||||
</div>
|
||||
<!-- </el-form-item> -->
|
||||
<div style="text-align:center" >
|
||||
<!-- </el-form-item> -->
|
||||
|
||||
</div>
|
||||
<div style="text-align:center; padding-top:15px" >
|
||||
<el-button @click="addItem">添加一条音/视频</el-button>
|
||||
</div></div>
|
||||
</div>
|
||||
</el-form>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
<el-button @click="handlereset">取消</el-button>
|
||||
@@ -312,8 +315,9 @@ export default {
|
||||
this.chapterId = this.dataForm.id
|
||||
if(this.dataForm.videoList && this.dataForm.videoList.length > 0){
|
||||
this.video_audio_url = [...this.dataForm.videoList]
|
||||
console.log('dedao',this.video_audio_url)
|
||||
}else{
|
||||
// this.video_audio_url = []
|
||||
this.video_audio_url = []
|
||||
}
|
||||
if (this.dataForm.imgUrl && this.dataForm.imgUrl != "") {
|
||||
var img = {
|
||||
|
||||
@@ -84,6 +84,10 @@
|
||||
{
|
||||
dictType: 1,
|
||||
dictValue: "加密"
|
||||
},
|
||||
{
|
||||
dictType: 2,
|
||||
dictValue: "mp3"
|
||||
}
|
||||
],
|
||||
props: {
|
||||
|
||||
Reference in New Issue
Block a user