|
|
@@ -7,6 +7,10 @@
|
|
|
<el-col v-for="(video, index) in dataList" :key="index" :md="6" :sm="12" :xs="12">
|
|
|
<video-card :video="video" />
|
|
|
</el-col>
|
|
|
+ <el-col v-if="totalSize === 0" class="not-result" :md="6" :sm="12" :xs="12">
|
|
|
+ <img src="@/assets/img/icon/not-result.png">
|
|
|
+ <div>没有视频数据</div>
|
|
|
+ </el-col>
|
|
|
<!--
|
|
|
分页按钮:
|
|
|
page-size:每页显示条数
|
|
|
@@ -35,12 +39,6 @@
|
|
|
</el-card>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row v-if="totalSize === 0" class="not-result">
|
|
|
- <el-col :span="12" :offset="6">
|
|
|
- <img src="@/assets/img/icon/not-result.png">
|
|
|
- <div>没有视频数据</div>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -132,9 +130,10 @@ export default {
|
|
|
},
|
|
|
itemClick(node) {
|
|
|
const model = node.model
|
|
|
- if (model.children.length === 0) {
|
|
|
+ this.categoryId = model.value
|
|
|
+ /* if (model.children.length === 0) {
|
|
|
this.categoryId = model.value
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
this.videoPageWrapper(this.categoryId, this.currentPage)
|
|
|
}
|