| | |
| | | ></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="操作"> |
| | | <template slot-scope="scope"> |
| | | <div class="operation"> |
| | | <div class="star" @click="toggleFollow(scope.row)"> |
| | | <i class="iconfont" :class="[scope.row.IsFollow ? 'follow' : '', 'iconguanzhu']"></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> |
| | |
| | | // display: flex; |
| | | // flex-wrap: wrap; |
| | | // } |
| | | .el-table__row{ |
| | | cursor: pointer; |
| | | } |
| | | .el-row { |
| | | padding-top: 20px; |
| | | background: #f5f5f5; |