|
@@ -81,10 +81,11 @@
|
|
|
<video
|
|
|
@click.stop
|
|
|
class="video"
|
|
|
- :src="records.url"
|
|
|
+ :src="records.url+'?x-oss-process=video/snapshot,t_0,m_fast'"
|
|
|
controls="controls"
|
|
|
style="height:200px;width:112.5px"
|
|
|
- >您的浏览器不支持 video 标签。</video>
|
|
|
+ >您的浏览器不支持 video 标签</video>
|
|
|
+
|
|
|
</div>
|
|
|
<span slot="ctr" slot-scope="ctr">{{ ctr | toPercentage }}</span>
|
|
|
<span
|
|
@@ -196,7 +197,7 @@ let variableCol = [
|
|
|
title: '点击率',
|
|
|
dataIndex: 'ctr',
|
|
|
align: 'center',
|
|
|
- width: 100,
|
|
|
+ width: 120,
|
|
|
scopedSlots: { customRender: 'ctr' },
|
|
|
sorter: (a, b) => a.ctr - b.ctr
|
|
|
},
|
|
@@ -361,8 +362,8 @@ export default {
|
|
|
// this.visible = false;
|
|
|
// this.loading = false;
|
|
|
// }, 1000);
|
|
|
- if (this.listNum.length > 8 && this.listNum.length<15 ) {
|
|
|
- this.scrollX = (this.listNum.length - 8) * 1000
|
|
|
+ if (this.listNum.length > 12 && this.listNum.length<15 ) {
|
|
|
+ this.scrollX = (this.listNum.length - 12) * 1000
|
|
|
console.log(this.$refs.vSummaryTable)
|
|
|
} else if(this.listNum.length >= 15){
|
|
|
this.scrollX = (this.listNum.length - 12) * 700
|
|
@@ -455,7 +456,10 @@ export default {
|
|
|
let columns=JSON.parse(res.result)
|
|
|
if(columns.length){
|
|
|
columns.map((item,index)=>{
|
|
|
- item.sorter=function(a,b){ return a[item.dataIndex]-b[item.dataIndex]}
|
|
|
+ if(index>columnsFixd.length-1){
|
|
|
+ item.sorter=function(a,b){ return a[item.dataIndex]-b[item.dataIndex]}
|
|
|
+ }
|
|
|
+
|
|
|
})
|
|
|
this.columns=columns
|
|
|
// console.log(this.columns)
|