wkjp-list-page 1.0.23 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wkjp-list-page",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "description": "Vue2 + ElementUI CommonListPage component",
5
5
  "main": "src/index.js",
6
6
  "module": "src/index.js",
@@ -1684,21 +1684,21 @@ export default {
1684
1684
  color: #409eff;
1685
1685
  }
1686
1686
 
1687
- /* ---------- 列表表格(浅表头、细横线;空数据用极细外框,不用 border 网格) ---------- */
1687
+ /* ---------- 列表表格(极细外框兜底:空数据区不塌陷、无粗网格线) ---------- */
1688
1688
  .common-list-page /deep/ .el-table {
1689
1689
  overflow: hidden;
1690
1690
  font-size: 12px;
1691
1691
  color: #606266;
1692
- border: none;
1692
+ border: none !important;
1693
1693
  border-radius: 2px;
1694
1694
  outline: 1px solid #ebeef5;
1695
1695
  outline-offset: -1px;
1696
1696
  }
1697
1697
 
1698
1698
  .common-list-page /deep/ .el-table::before,
1699
- .common-list-page /deep/ .el-table--group::after,
1700
- .common-list-page /deep/ .el-table--border::after {
1701
- display: none;
1699
+ .common-list-page /deep/ .el-table.el-table--border::after,
1700
+ .common-list-page /deep/ .el-table.el-table--group::after {
1701
+ display: none !important;
1702
1702
  }
1703
1703
 
1704
1704
  .common-list-page /deep/ .el-table__empty-block {
@@ -1716,7 +1716,8 @@ export default {
1716
1716
  }
1717
1717
 
1718
1718
  .common-list-page /deep/ .el-table__fixed .el-table__body tr td.el-table__cell,
1719
- .common-list-page /deep/ .el-table__fixed-right .el-table__body tr td.el-table__cell {
1719
+ .common-list-page /deep/ .el-table__fixed-right .el-table__body tr td.el-table__cell,
1720
+ .common-list-page /deep/ .el-table__body tr:last-child td.el-table__cell {
1720
1721
  border-bottom: 1px solid #f0f2f5 !important;
1721
1722
  }
1722
1723
 
@@ -1740,10 +1741,6 @@ export default {
1740
1741
  vertical-align: middle;
1741
1742
  }
1742
1743
 
1743
- .common-list-page /deep/ .el-table__body tr:last-child td.el-table__cell {
1744
- border-bottom: 1px solid #f0f2f5 !important;
1745
- }
1746
-
1747
1744
  .common-list-page /deep/ .el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
1748
1745
  background: #fafbfc;
1749
1746
  }
@@ -1753,9 +1750,10 @@ export default {
1753
1750
  }
1754
1751
 
1755
1752
  .common-list-page /deep/ .el-table .cell {
1753
+ vertical-align: middle;
1756
1754
  line-height: 1.5;
1757
- padding-left: 0;
1758
- padding-right: 0;
1755
+ padding-left: 10px !important;
1756
+ padding-right: 10px !important;
1759
1757
  word-break: break-word;
1760
1758
  }
1761
1759