zhangxiaoxu123456
2022-04-11 0a32f5094e5a2622ed148854f91b606910dec216
src/pages/show/jiuyeAndChuangye/jiuyeChildren/zhiyePeixun.vue
@@ -1,10 +1,14 @@
<template>
  <div class="zhiyePeixun-wrap">
    <el-table
      stripe
      border
      :data="tableData"
      max-height="650"
      max-height="640"
      :header-cell-style="handleheader"
      style="width: 100%">
      <el-table-column
        fixed="left"
        prop="year"
        label="年份"
        align="center"
@@ -117,6 +121,14 @@
                    peixunrenci:'34223'
                }]
            }
        },
        methods: {
            handleheader(data) {
                return {
                    lineHeight: '0',
                }
            }
        }
    }
</script>
@@ -126,13 +138,13 @@
  .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;
@@ -157,16 +169,16 @@
      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>
@@ -174,7 +186,7 @@
<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>