From 579fd9fdd67e6dff513c1696f216ccde59d3a9a8 Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期三, 10 三月 2021 18:02:17 +0800 Subject: [PATCH] 播放器按钮缺失,朔黄视频播放列表点击功能的修改 --- src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue | 35 +++++++++++++++++++++++------------ 1 files changed, 23 insertions(+), 12 deletions(-) diff --git a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue index 7aa45ce..eb74ebd 100644 --- a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue +++ b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue @@ -154,7 +154,7 @@ </div> </div> <div class="content" v-show="showType == 'menu'"> - <el-row :gutter="20" :align="bottom"> + <el-row :gutter="20" > <el-col :xs="8" :sm="6" :md="6" :lg="6" v-for="data in tabData" :key="data.id"> <div class="card"> <div class="video-wrap" @click="checkVideoDetail(data)"> @@ -224,22 +224,24 @@ ></el-pagination> </div> <div class="content" v-show="showType == 'list'"> - <el-table :data="tableData" fit ref="elTable"> + <el-table :data="tableData" fit ref="elTable" @row-click="checkVideoDetail" > <el-table-column label="鍚嶇О" prop="VideoName" sortable width="500"> - <template slot-scope="scope"> - <div - style="cursor: pointer" - @click="checkVideoDetail(scope.row)" - >{{ scope.row.VideoName }}</div> + <template slot-scope="scope" style="cursor: pointer"> + <div>{{ scope.row.VideoName }}</div> </template> </el-table-column> + <el-table-column label="澶у皬" prop="VideoSize" sortable></el-table-column> - <el-table-column label="淇敼鏃ユ湡" prop="UpdatedAt" sortable></el-table-column> - <el-table-column label="鍒涘缓鏃ユ湡" prop="CreatedAt" sortable></el-table-column> + <el-table-column label="淇敼鏃ユ湡" prop="VideoUpdateDate" sortable></el-table-column> + <el-table-column label="鍒涘缓鏃ユ湡" prop="VideoCreateDate" sortable></el-table-column> + <el-table-column label="鎿嶄綔"> <template slot-scope="scope"> <div class="operation"> - <i class="el-icon-star-off" @click="toggleFollow(scope.row)"></i> + <div class="star" > + <i class="iconfont" :class="[scope.row.IsFollow ? 'follow' : '', 'iconguanzhu']" @click.stop="toggleFollow(scope.row)"></i> + </div> + <!-- <i class="el-icon-star-off" @click="toggleFollow(scope.row)"></i> --> </div> </template> </el-table-column> @@ -315,7 +317,7 @@ curTabPage: 1, curTablePage: 1, tabPageSize: 8, - pageSizes: [2, 8, 12, 24], + pageSizes: [ 8, 12, 24], tabTotal: 0, tablePageSize: 8, tableTotal: 0, @@ -435,7 +437,7 @@ this.eventDialogVisible = true; this.curEventDetail = label; let _this = this; - getEventVideo({Event:label.Event,LkgID:label.ParentID}).then(res=>{ + getEventVideo({ Event: label.Event, LkgID: label.ParentID }).then(res => { _this.eventVideoArr = res.data; _this.curEvName = label.Event; }) @@ -904,6 +906,9 @@ // display: flex; // flex-wrap: wrap; // } + .el-table__row{ + cursor: pointer; + } .el-row { padding-top: 20px; background: #f5f5f5; @@ -993,6 +998,12 @@ } .operation { cursor: pointer; + .star{ + color: #ccc; + } + .follow{ + color: #409eff; + } } } .pagination-center { -- Gitblit v1.8.0