ZZJ
2022-07-14 2b99047683332624832c1dfcae596e957a710b7d
src/App.vue
@@ -105,7 +105,7 @@
  height: 32px;
  line-height: 32px;
  ::v-deep input {
  input {
    height: 32px;
  }
@@ -113,12 +113,13 @@
    line-height: 32px;
  }
  ::v-deep .el-icon-arrow-up {
  .el-icon-arrow-up {
    height: 32px;
  }
}
.scroll {
  overflow-y: auto;
  /*滚动条宽 长,滚动条整体部分,其中的属性有width,height,background,border等。*/
  &::-webkit-scrollbar {
@@ -151,4 +152,56 @@
    background-color: black;
  }
}
.limitRow2 {
  word-wrap: break-word;
  // 只要超过宽度就换行,不论中文还是英文
  word-break: break-all;
  // 让文本只能展示两行
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gutter {
  background-color: rgb(233, 235, 238);
  padding: 1px;
  &::after {
    display: none;
  }
  td.index .cell {
    padding-left: 16px;
    padding-right: 4px;
  }
  .has-gutter tr th {
    background: #f0f3f5;
    font-size: 16px;
    color: #3d3d3d;
    font-weight: 700;
  }
  td .cell {
    color: #3d3d3d;
  }
  tr:hover > td.el-table__cell {
    background-color: #fff;
  }
  .el-table__row--striped .el-table__cell {
    background-color: #f0f5fa !important;
  }
  tr:hover > td.el-table__cell {
    background-color: #fff;
  }
  .el-table__row--striped .el-table__cell {
    background-color: #f0f5fa !important;
  }
}
</style>