改表格颜色 #5
@ -9,7 +9,7 @@
|
|||||||
<div class="visual-base-table-container">
|
<div class="visual-base-table-container">
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="isLoading"
|
v-loading="isLoading"
|
||||||
:header-cell-style="{background:'rgba(79,114,136,0.29)',color:'#fff',height: 28 * beilv + 'px',lineHeight: 28 * beilv + 'px',padding: 0,fontSize: 12 * beilv + 'px'}"
|
:header-cell-style="{background:'rgba(32, 55, 96, 0.8)',color:'#fff',height: 28 * beilv + 'px',lineHeight: 28 * beilv + 'px',padding: 0,fontSize: 12 * beilv + 'px'}"
|
||||||
:row-style="setRowStyle"
|
:row-style="setRowStyle"
|
||||||
:data="renderData"
|
:data="renderData"
|
||||||
border
|
border
|
||||||
@ -111,7 +111,7 @@ export default {
|
|||||||
setRowStyle(v) {
|
setRowStyle(v) {
|
||||||
if (v.rowIndex % 2 === 0) {
|
if (v.rowIndex % 2 === 0) {
|
||||||
return {
|
return {
|
||||||
background: 'rgba(76,97,123,0.2)',
|
background: 'rgba(14, 32, 62, 0.8)',
|
||||||
color: 'rgba(255,255,255,0.5)',
|
color: 'rgba(255,255,255,0.5)',
|
||||||
height: 26 * this.beilv + 'px',
|
height: 26 * this.beilv + 'px',
|
||||||
lineHeight: 26 * this.beilv + 'px',
|
lineHeight: 26 * this.beilv + 'px',
|
||||||
@ -120,7 +120,7 @@ export default {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return {
|
return {
|
||||||
background: 'rgba(79,114,136,0.29)',
|
background: 'rgba(32, 55, 96, 0.8)',
|
||||||
color: 'rgba(255,255,255,0.5)',
|
color: 'rgba(255,255,255,0.5)',
|
||||||
height: 26 * this.beilv + 'px',
|
height: 26 * this.beilv + 'px',
|
||||||
lineHeight: 26 * this.beilv + 'px',
|
lineHeight: 26 * this.beilv + 'px',
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<div class="visual-base-table-container">
|
<div class="visual-base-table-container">
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="isLoading"
|
v-loading="isLoading"
|
||||||
:header-cell-style="{background:'rgba(79,114,136,0.29)',color:'#fff',height: 28 * beilv + 'px',lineHeight: 28 * beilv + 'px',padding: 0,fontSize: 12 * beilv + 'px'}"
|
:header-cell-style="{background:'rgba(32, 55, 96, 0.8)',color:'#fff',height: 28 * beilv + 'px',lineHeight: 28 * beilv + 'px',padding: 0,fontSize: 12 * beilv + 'px'}"
|
||||||
:row-style="setRowStyle"
|
:row-style="setRowStyle"
|
||||||
:data="renderData"
|
:data="renderData"
|
||||||
border
|
border
|
||||||
@ -111,7 +111,7 @@ export default {
|
|||||||
setRowStyle(v) {
|
setRowStyle(v) {
|
||||||
if (v.rowIndex % 2 === 0) {
|
if (v.rowIndex % 2 === 0) {
|
||||||
return {
|
return {
|
||||||
background: 'rgba(76,97,123,0.2)',
|
background: 'rgba(14, 32, 62, 0.8)',
|
||||||
color: 'rgba(255,255,255,0.5)',
|
color: 'rgba(255,255,255,0.5)',
|
||||||
height: 26 * this.beilv + 'px',
|
height: 26 * this.beilv + 'px',
|
||||||
lineHeight: 26 * this.beilv + 'px',
|
lineHeight: 26 * this.beilv + 'px',
|
||||||
@ -120,7 +120,7 @@ export default {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return {
|
return {
|
||||||
background: 'rgba(79,114,136,0.29)',
|
background: 'rgba(32, 55, 96, 0.8)',
|
||||||
color: 'rgba(255,255,255,0.5)',
|
color: 'rgba(255,255,255,0.5)',
|
||||||
height: 26 * this.beilv + 'px',
|
height: 26 * this.beilv + 'px',
|
||||||
lineHeight: 26 * this.beilv + 'px',
|
lineHeight: 26 * this.beilv + 'px',
|
||||||
|
Loading…
Reference in New Issue
Block a user