From 72f553661a74b225c89310d3fb3d78f3ebe35f82 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期日, 28 二月 2021 10:45:04 +0800 Subject: [PATCH] m朔黄首页模拟数据更新 --- src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue | 23 +++++++++++++++++------ 1 files changed, 17 insertions(+), 6 deletions(-) diff --git a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue index 7aa45ce..0b904a2 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)"> @@ -233,13 +233,18 @@ >{{ 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" @click="toggleFollow(scope.row)"> + <i class="iconfont" :class="[scope.row.IsFollow ? 'follow' : '', 'iconguanzhu']"></i> + </div> + <!-- <i class="el-icon-star-off" @click="toggleFollow(scope.row)"></i> --> </div> </template> </el-table-column> @@ -315,7 +320,7 @@ curTabPage: 1, curTablePage: 1, tabPageSize: 8, - pageSizes: [2, 8, 12, 24], + pageSizes: [ 8, 12, 24], tabTotal: 0, tablePageSize: 8, tableTotal: 0, @@ -435,7 +440,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; }) @@ -993,6 +998,12 @@ } .operation { cursor: pointer; + .star{ + color: #ccc; + } + .follow{ + color: #409eff; + } } } .pagination-center { -- Gitblit v1.8.0