|
12 | 12 | @table-th-padding: var(--td-table-th-padding, 16rpx 24rpx); |
13 | 13 | @table-font-size: var(--td-table-font-size, @font-body-medium); |
14 | 14 | @table-loading-bg-color: var(--td-table-loading-bg-color, rgba(255, 255, 255, 0.55)); |
15 | | -@table-row-height: var(--td-table-row-height, 41px); |
| 15 | +@table-row-height: var(--td-table-row-height, 82rpx); |
16 | 16 | @scrollbar-color: rgba(0, 0, 0, 10%); |
17 | 17 | @scrollbar-hover-color: rgba(0, 0, 0, 30%); |
18 | 18 |
|
19 | 19 | // 固定列相关变量 |
20 | 20 | @table-fixed-column-z-index: 30; |
21 | 21 | @table-fixed-cell-border-color: var(--td-table-fixed-cell-border-color, @component-border); |
22 | | -@table-fixed-cell-border-width: 4px; |
23 | | -@table-fixed-cell-border-width-light: 2px; |
| 22 | +@table-fixed-cell-border-width: 8rpx; |
| 23 | +@table-fixed-cell-border-width-light: 4rpx; |
24 | 24 | @table-fixed-cell-border: @table-fixed-cell-border-width solid @table-fixed-cell-border-color; |
25 | 25 | @table-fixed-cell-border-light: @table-fixed-cell-border-width-light solid @table-fixed-cell-border-color; |
26 | 26 |
|
|
40 | 40 | // scroll-view 在 H5 端内部会生成子滚动容器,需要同时匹配自身和后代元素 |
41 | 41 | &::-webkit-scrollbar, |
42 | 42 | & ::-webkit-scrollbar { |
43 | | - width: 6px; |
44 | | - height: 6px; |
| 43 | + width: 12rpx; |
| 44 | + height: 12rpx; |
45 | 45 | } |
46 | 46 |
|
47 | 47 | &::-webkit-scrollbar-thumb, |
48 | 48 | & ::-webkit-scrollbar-thumb { |
49 | 49 | background-clip: content-box; |
50 | 50 | background-color: @scrollbar-color; |
51 | | - border-radius: 11px; |
| 51 | + border-radius: 22rpx; |
52 | 52 | } |
53 | 53 |
|
54 | 54 | &::-webkit-scrollbar-thumb:vertical:hover, |
|
83 | 83 | box-sizing: border-box; |
84 | 84 | overflow: hidden; |
85 | 85 | min-width: 0; |
86 | | - border-bottom: 1px solid @table-border-color; |
| 86 | + border-bottom: 2rpx solid @table-border-color; |
87 | 87 | } |
88 | 88 |
|
89 | 89 | &__th { |
|
132 | 132 | &__bottom-content { |
133 | 133 | padding: 16rpx 24rpx; |
134 | 134 | background-color: @bg-color-container; |
135 | | - border-top: 1px solid @table-border-color; |
| 135 | + border-top: 2rpx solid @table-border-color; |
136 | 136 | } |
137 | 137 |
|
138 | 138 | // 加载中 |
|
177 | 177 |
|
178 | 178 | // 边框 |
179 | 179 | &--bordered { |
180 | | - border: 1px solid @table-border-color; |
| 180 | + border: 2rpx solid @table-border-color; |
181 | 181 |
|
182 | 182 | .@{table-prefix}__th, |
183 | 183 | .@{table-prefix}__td { |
184 | | - border-right: 1px solid @table-border-color; |
| 184 | + border-right: 2rpx solid @table-border-color; |
185 | 185 |
|
186 | 186 | &:last-child { |
187 | 187 | border-right: none; |
188 | 188 | } |
189 | 189 | } |
190 | 190 |
|
191 | 191 | .@{table-prefix}__th { |
192 | | - border-bottom: 1px solid @table-border-color; |
| 192 | + border-bottom: 2rpx solid @table-border-color; |
193 | 193 | } |
194 | 194 | } |
195 | 195 |
|
|
293 | 293 |
|
294 | 294 | // 固定底部行的第一行加上边框 |
295 | 295 | &__row--fixed-bottom-first > .@{table-prefix}__td { |
296 | | - border-top: 1px solid @table-border-color; |
| 296 | + border-top: 2rpx solid @table-border-color; |
297 | 297 | } |
298 | 298 |
|
299 | 299 | // 冻结表尾行时,最后一行非冻结行去除下边框 |
|
0 commit comments