|
@ -48,6 +48,8 @@ |
|
|
<script> |
|
|
<script> |
|
|
import DataViewTableHeaderBGLarge from '@/assets/images/data-view-table-header-bg-large.png' |
|
|
import DataViewTableHeaderBGLarge from '@/assets/images/data-view-table-header-bg-large.png' |
|
|
import DataViewTableHeaderBGMiddle from '@/assets/images/data-view-table-header-bg-middle.png' |
|
|
import DataViewTableHeaderBGMiddle from '@/assets/images/data-view-table-header-bg-middle.png' |
|
|
|
|
|
import DataViewTableHeaderBGPartA from '@/assets/images/data-view-table-header-parta.png' |
|
|
|
|
|
import DataViewTableHeaderBGPartB from '@/assets/images/data-view-table-header-partb.png' |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
components: {}, |
|
|
components: {}, |
|
@ -70,6 +72,8 @@ export default { |
|
|
return { |
|
|
return { |
|
|
DataViewTableHeaderBGLarge, |
|
|
DataViewTableHeaderBGLarge, |
|
|
DataViewTableHeaderBGMiddle, |
|
|
DataViewTableHeaderBGMiddle, |
|
|
|
|
|
DataViewTableHeaderBGPartA, |
|
|
|
|
|
DataViewTableHeaderBGPartB, |
|
|
timer: null, |
|
|
timer: null, |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
@ -110,9 +114,9 @@ export default { |
|
|
const remainScrollTop = tbody.scrollHeight - (tbody.clientHeight + tbody.scrollTop) |
|
|
const remainScrollTop = tbody.scrollHeight - (tbody.clientHeight + tbody.scrollTop) |
|
|
tbody.scrollTop += 1 |
|
|
tbody.scrollTop += 1 |
|
|
if (tbody.scrollTop >= remainScrollTop) { |
|
|
if (tbody.scrollTop >= remainScrollTop) { |
|
|
clearInterval(this.timer) |
|
|
tbody.scrollTop = 0; |
|
|
} |
|
|
} |
|
|
}, 100) |
|
|
}, 50) |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -124,13 +128,26 @@ export default { |
|
|
.data-view-table { |
|
|
.data-view-table { |
|
|
|
|
|
|
|
|
.data-view-table-header { |
|
|
.data-view-table-header { |
|
|
background-size: cover; |
|
|
|
|
|
background-repeat: no-repeat; |
|
|
|
|
|
height: 51px; |
|
|
height: 51px; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
padding-left: 28px; |
|
|
padding-left: 28px; |
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: row; |
|
|
flex-direction: row; |
|
|
|
|
|
background-size: cover; |
|
|
|
|
|
background-repeat: no-repeat; |
|
|
|
|
|
|
|
|
|
|
|
.data-view-table-header-parta { |
|
|
|
|
|
width: 350px; |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
background-size: cover; |
|
|
|
|
|
background-repeat: no-repeat; |
|
|
|
|
|
} |
|
|
|
|
|
.data-view-table-header-partb { |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
background-size: cover; |
|
|
|
|
|
background-repeat: no-repeat; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.header-title { |
|
|
.header-title { |
|
|
font-size: 22px; |
|
|
font-size: 22px; |
|
|