ziti
This commit is contained in:
parent
eb8dfb71a3
commit
aa5883a04f
|
@ -214,19 +214,19 @@ export const asyncRoutes = [
|
|||
path: 'videolist',
|
||||
name: 'videolist',
|
||||
component: () => import('@/views/testvideo/videolist.vue'),
|
||||
meta: { title: '视频列表', perms: ['videolist'] }
|
||||
meta: { title: '视频列表', perms: ['video_view'] }
|
||||
},
|
||||
{
|
||||
path: 'upload',
|
||||
name: 'upload',
|
||||
component: () => import('@/views/testvideo/upload.vue'),
|
||||
meta: { title: '上传视频', perms: ['uploadvideo'] }
|
||||
meta: { title: '上传视频', perms: ['video_create'] }
|
||||
},
|
||||
{
|
||||
path: 'index/:id',
|
||||
name: 'Index',
|
||||
component: () => import('@/views/testvideo/index.vue'),
|
||||
meta: { title: '视频播放', perms: ['uploadvideo'] },
|
||||
meta: { title: '视频播放', perms: ['video_view'] },
|
||||
hidden: true
|
||||
},
|
||||
]
|
||||
|
|
|
@ -123,6 +123,12 @@ export default {
|
|||
const playerParm = {
|
||||
fileID: this.fileid,
|
||||
appID: '1253484223',
|
||||
plugins:{
|
||||
ContinuePlay: { // 开启续播功能
|
||||
// auto: true, //[可选] 是否在视频播放后自动续播
|
||||
// text:'上次播放至 ', //[可选] 提示文案
|
||||
// btnText: '恢复播放' //[可选] 按钮文案
|
||||
},}
|
||||
|
||||
};
|
||||
setTimeout(() => {
|
||||
|
|
|
@ -50,12 +50,14 @@
|
|||
</template>
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
:disabled="!checkPermission(['video_update'])"
|
||||
type="primary"
|
||||
size="small"
|
||||
icon="el-icon-edit"
|
||||
@click="handleEdit(scope)"
|
||||
/>
|
||||
<el-button
|
||||
:disabled="!checkPermission(['video_delete'])"
|
||||
type="danger"
|
||||
size="small"
|
||||
icon="el-icon-delete"
|
||||
|
@ -417,7 +419,7 @@ async confirm(form) {
|
|||
</script>
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
<style lang="scss" scoped>
|
||||
.text-danger {
|
||||
color: red;
|
||||
}
|
||||
|
|
|
@ -117,7 +117,7 @@ export default {
|
|||
</script>
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
<style lang="scss" scoped>
|
||||
.time {
|
||||
font-size: 13px;
|
||||
color: #999;
|
||||
|
|
Loading…
Reference in New Issue