$zh-font-size: 12px !default; $zh-green: #28a745 !default; $zh-gray: #757575 !default; $zh-muted: #6c757d !default; $zh-light-gray: #bbbbbb !default; $zh-blue: #007bff !default; $zh-red: #dc3545 !default; $zh-yellow: #ffc170 !default; $zh-white: #ffffff !default; $zh-line-color: rgba(0,0,0,.125) !default; $zh-danger:#fd3995 !default; $zh-warning:#ffc241 !default; $zh-success:#1dc9b7 !default; // 实现0.5px的效果 @mixin zh-border { position: relative; &::after { position: absolute; top: 0; left: 0; z-index: 2; box-sizing: border-box; width: 100%; height: 100%; border-radius: inherit; content: ' '; pointer-events: none; } } .auto-scroll-y { height: 100%; .ant-spin-nested-loading, .ant-spin-container, .ant-table, .ant-table-scroll, .ant-table-body-inner, .ant-table-fixed-left, .ant-table-content { height: 100%; } .ant-table-content { position: relative; } .ant-table-body, .ant-table-body-inner { overflow-y: auto !important; } .ant-table-header { overflow-y: hidden !important; } .ant-table-body { height: 580px; overflow-y: auto; } .ant-table-body-outer { height: 580px; overflow-y: auto; } .ant-table-body-inner { overflow-x: hidden; } }