视频管理添加排序

This commit is contained in:
@fawn-nine
2024-06-13 13:19:23 +08:00
parent 1cbd4deb98
commit ead4a02b3a
4 changed files with 27 additions and 6 deletions

View File

@@ -98,16 +98,24 @@
:key="index" :key="index"
> >
<div style="width:120px">视频/音频ID</div> <div style="width:120px">视频/音频ID</div>
<div style="width:300px; margin-right:10px; margin-left:10px"> <div style="width:250px; margin-right:10px; margin-left:10px">
<el-input <el-input
style="" style=""
v-model="item.video" v-model="item.video"
placeholder="请输入视频/音频ID" placeholder="请输入视频/音频ID"
></el-input> ></el-input>
</div> </div>
<div class="flexbox" style="align-items:center;" >
<span style="display:inline-block; width:60px">排序</span>
<el-input
style=""
v-model="item.sort"
placeholder="排序"
></el-input>
</div>
<div style="margin-right:10px; height:38px"> <div style="margin-right:10px; height:38px">
<el-form-item label="加密类型" prop="type"> <el-form-item label="加密类型" prop="type" label-width="100px">
<el-select <el-select
v-model="item.type" v-model="item.type"
filterable filterable
@@ -240,9 +248,9 @@ export default {
// ] // ]
}, },
video_audio_url: [ video_audio_url: [
{ video: "" ,type:0,id:0} { video: "" ,type:1,id:0,sort:0}
], ],
obj:{ video: "" ,type:0,id:0}, obj:{ video: "" ,type:1,id:0,sort:0},
splitsTypeList: [], splitsTypeList: [],
dataRule: {}, dataRule: {},
chapterId:null, chapterId:null,

View File

@@ -31,6 +31,12 @@
align="center" align="center"
label="目录名称" label="目录名称"
> >
<template slot-scope="scope">
<div>
<span style="font-weight:bold; font-size:16px">{{ scope.row.title }}</span><br>
<span style="color:#999">( 创建时间{{ scope.row.createTime}} )</span>
</div>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="sort" prop="sort"

View File

@@ -32,6 +32,12 @@
align="center" align="center"
label="章节名称" label="章节名称"
> >
<template slot-scope="scope">
<div>
<span style="font-weight:bold; font-size:16px">{{ scope.row.title }}</span><br>
<!-- <span style="color:#999">( 创建时间{{ scope.row.createTime}} )</span> -->
</div>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column

View File

@@ -69,7 +69,8 @@
> >
<template slot-scope="scope"> <template slot-scope="scope">
<div> <div>
<span>{{ scope.row.title }}</span> <span style="font-weight:bold; font-size:16px">{{ scope.row.title }}</span><br>
<span style="color:#999">( 创建时间{{ scope.row.createTime}} )</span>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>