Переглянути джерело

middle table 高度塌陷问题

jiayufei 3 роки тому
батько
коміт
be5bbd7c01
1 змінених файлів з 6 додано та 6 видалено
  1. 6 6
      src/views/modules/Statistics/popularVideo.vue

+ 6 - 6
src/views/modules/Statistics/popularVideo.vue

@@ -277,11 +277,11 @@
 						<span slot="createImg" slot-scope="text, record">  
 							<a-popover placement="right">
 								<template slot="content">
-									<video :src="record.url" style="width:250px" controls  ></video>
+									<video :src="record.url" style="width:250px" controls></video>
 								</template>
 								<template slot="title">
 								</template>                       
-								<img :src="record.coverUrl || noImg" alt="" style="width:80px">
+								<img :src="record.coverUrl || noImg" alt="" style="width: 80px;height: 142px;">
 							</a-popover>
 						</span> 
 						<span slot='companyName' slot-scope="text">{{ text || '未知' }}</span>
@@ -568,9 +568,9 @@ export default {
 			faceChangeList: {},
 			faceTypeStatus: false,
             exportloading: false,
-            planId: '',
-            shotId: '',
-            clipId: '',
+            planId: undefined,
+            shotId: undefined,
+            clipId: undefined,
             dateRange: [moment().subtract(1,'weeks'),moment()],
             noImg: require('@/assets/noImg.png'),
             ipagination: {
@@ -740,6 +740,7 @@ export default {
         },
         // 获取展示数据
         getNewPlan() {
+			this.dataTable = [];
             let url = '';
             if(this.tabKey == 1) {
                 // 头条
@@ -764,7 +765,6 @@ export default {
                 this.loading = false;
                 if(res.success) {
                     if(res.result) {
-						this.dataTable = [];
 						this.dataTable = [...res.result.records];
                         this.ipagination.total = res.result.total;
                     }