diff --git a/client/.env.development b/client/.env.development index c5200d4..aacde3e 100644 --- a/client/.env.development +++ b/client/.env.development @@ -3,8 +3,8 @@ ENV = 'development' # base api #VUE_APP_BASE_API = 'http://10.0.11.127:8000/api' -VUE_APP_BASE_API = 'http://127.0.0.1:8000/api' -#VUE_APP_BASE_API = 'https://testsearch.ctc.ac.cn/api' +#VUE_APP_BASE_API = 'http://127.0.0.1:8000/api' +VUE_APP_BASE_API = 'https://testsearch.ctc.ac.cn/api' #VUE_APP_BASE_API = 'http://47.95.0.242:9101/api' diff --git a/client/src/views/testvideo/index.vue b/client/src/views/testvideo/index.vue index 6fbd01b..6921c99 100644 --- a/client/src/views/testvideo/index.vue +++ b/client/src/views/testvideo/index.vue @@ -1,170 +1,171 @@ - - - - - 检验管理部培训视频 - - - - - - - - - - - - - - - - - 视频名称: - {{ video.name }} - + + + + + {{ video.name }} + + + + + + + + + 用户:{{userName}} + + + + {{ video.name }} + {{video.viewsp}} - - - - - 视频描述: - {{ video.description }} - - - - - - - 视频总播放量: - {{ video.views }} - - - - - - - - - + + 视频描述:{{ video.description }} + + + + + - \ No newline at end of file + #userName { + display: inline-block; + position: absolute; + top: 9px; + left: 70px; + font-size: 14px; + z-index: 10000; + color: #ffffff; + padding: 5px 12px; + background: rgba(0,0,0,.3); + border-radius: 15px; + box-shadow: 0 0 5px 1px #aba8a3; + } + .tencent-player{ + width: 100%; + } + .videoDetailWrap{ + margin-top: 20px; + font-family:'Microsoft Yahei' + } + .firstLineDetail{ + margin-bottom: 6px; + display: flex; + justify-content: space-between + } + .firstLineText{ + font-size: 16px; + font-weight: bold; + } + .firstLineBtn{ + background:none; + font-size: 14px; + padding: 5px 10px; + color:#e74e4e; + border: 1px solid #e74e4e; + border-radius: 15px; + } + diff --git a/client/src/views/testvideo/upload.vue b/client/src/views/testvideo/upload.vue index 5ce160f..4ebbd41 100644 --- a/client/src/views/testvideo/upload.vue +++ b/client/src/views/testvideo/upload.vue @@ -23,25 +23,13 @@ max-height="600" > - - {{ scope.row.name }} - - - {{ scope.row.description }} - + + - {{ scope.row.category_name }} + {{ scope.row.category }} - - {{ scope.row.create_time }} - - - {{ scope.row.mediaurl }} - - - {{ scope.row.coverurl }} - - + + { this.typeOptions = genTree(res.data); }); }, + //筛选 + filterTag(value, row) { + debugger; + console.log(value) + console.log(row) + return row.category === value; + }, + /*弹出弹窗 */ handleAddVideo() { this.VideoContent = Object.assign({}, defaultVideo); @@ -483,4 +483,3 @@ export default { - \ No newline at end of file diff --git a/client/src/views/testvideo/videolist.vue b/client/src/views/testvideo/videolist.vue index 4847a87..39d0618 100644 --- a/client/src/views/testvideo/videolist.vue +++ b/client/src/views/testvideo/videolist.vue @@ -1,142 +1,192 @@ - - - - - 培训视频 - - - - - - - - - - - 全部 - - - {{o.name}} - - - - - - - - {{o.description}} - - - - {{o.name}} + + + + + 培训视频 + + + + + + + + + 全部 + + + + + {{o.name}} + + - - - - {{o.viewsp}} - - - {{ o.create_time.substring(0,10) }} - - - - - - - - - - + + + + + + + {{o.description}} + + + + {{o.name}} + + + + + {{o.views}} + + + + {{o.viewsp}} + + + + {{ o.create_time.substring(0,10) }} + + + + + + + + + + - - - \ No newline at end of file +