| | |
| | | <div class="zhiyePeixun-wrap"> |
| | | <el-table |
| | | :data="tableData" |
| | | max-height="650" |
| | | :header-cell-style="handleheader" |
| | | style="width: 100%"> |
| | | <el-table-column |
| | | prop="year" |
| | |
| | | peixunrenci:'34223' |
| | | }] |
| | | } |
| | | }, |
| | | methods: { |
| | | handleheader(data) { |
| | | return { |
| | | lineHeight: '0', |
| | | |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | |
| | | .zhiyePeixun-wrap{ |
| | | width: 100%; |
| | | height: 100%; |
| | | margin-top: 2rem; |
| | | margin-top: 0.078125rem /* 20/256 */; |
| | | .el-table th.el-table__cell{ |
| | | background-color:$color-blue; |
| | | height: 8rem; |
| | | height: 0.3125rem /* 80/256 */; |
| | | } |
| | | .el-table tr{ |
| | | height: 8rem; |
| | | height: 0.3125rem /* 80/256 */; |
| | | } |
| | | .el-table tr:nth-child(odd){ |
| | | background-color: #CEF2FF; |
| | |
| | | white-space:pre-line; |
| | | } |
| | | .el-table--border th.el-table__cell, .el-table__fixed-right-patch{ |
| | | border-bottom:1px solid $color-grey; /*no*/ |
| | | border-bottom:1Px solid $color-grey; /*no*/ |
| | | } |
| | | .el-table thead.is-group th.el-table__cell{ |
| | | background-color: $color-blue; |
| | | } |
| | | .el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf{ |
| | | border-bottom:1px solid $color-grey; /*no*/ |
| | | border-bottom:1Px solid $color-grey; /*no*/ |
| | | } |
| | | .el-table--border .el-table__cell, .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed{ |
| | | border-right:1px solid $color-grey; /*no*/ |
| | | border-right:1Px solid $color-grey; /*no*/ |
| | | } |
| | | } |
| | | </style> |
| | |
| | | <style lang="scss" scoped> |
| | | .zhiyepeixun-echarts{ |
| | | width: 100%; |
| | | height: calc(100% - 68rem); |
| | | margin-top: 2rem; |
| | | height: calc(100% - 2.65625rem /* 680/256 */); |
| | | margin-top: 0.078125rem /* 20/256 */; |
| | | } |
| | | </style> |