Commit 3d8f71d698a1ed6b3a61f277fb815f2b92d9b760
1 parent
ee0ed2ee
日期样式调整
Showing
1 changed file
with
9 additions
and
3 deletions
project-wl-kuaidiyuan-uniapp-vue3/pages/history/index.scss
| ... | ... | @@ -3,7 +3,7 @@ uni-page-body { |
| 3 | 3 | background: var(--neutral-color-background) !important; |
| 4 | 4 | } |
| 5 | 5 | .dateBox { |
| 6 | - padding: 14rpx 60rpx 24rpx 40rpx; | |
| 6 | + padding: 14rpx 40rpx 24rpx 40rpx; | |
| 7 | 7 | line-height: 40rpx; |
| 8 | 8 | background: var(--neutral-color-white); |
| 9 | 9 | border-bottom: 1px solid var(--neutral-color-background); |
| ... | ... | @@ -15,15 +15,21 @@ uni-page-body { |
| 15 | 15 | z-index: 2; |
| 16 | 16 | top: 264rpx; |
| 17 | 17 | ::v-deep & > view { |
| 18 | + &:nth-child(1) { | |
| 19 | + flex: 1; | |
| 20 | + } | |
| 18 | 21 | &:nth-child(2) { |
| 19 | 22 | text-align: center; |
| 20 | - flex: 1; | |
| 23 | + padding: 0 30rpx; | |
| 24 | + | |
| 21 | 25 | } |
| 22 | 26 | &:last-child { |
| 23 | 27 | text-align: right; |
| 28 | + padding: 0 30rpx; | |
| 24 | 29 | } |
| 25 | 30 | .date { |
| 26 | - width: 300rpx; | |
| 31 | + box-sizing: border-box; | |
| 32 | + width: 100%; | |
| 27 | 33 | height: 60rpx; |
| 28 | 34 | line-height: 60rpx; |
| 29 | 35 | margin: 0 auto; | ... | ... |