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,7 +3,7 @@ uni-page-body { | ||
| 3 | background: var(--neutral-color-background) !important; | 3 | background: var(--neutral-color-background) !important; |
| 4 | } | 4 | } |
| 5 | .dateBox { | 5 | .dateBox { |
| 6 | - padding: 14rpx 60rpx 24rpx 40rpx; | 6 | + padding: 14rpx 40rpx 24rpx 40rpx; |
| 7 | line-height: 40rpx; | 7 | line-height: 40rpx; |
| 8 | background: var(--neutral-color-white); | 8 | background: var(--neutral-color-white); |
| 9 | border-bottom: 1px solid var(--neutral-color-background); | 9 | border-bottom: 1px solid var(--neutral-color-background); |
| @@ -15,15 +15,21 @@ uni-page-body { | @@ -15,15 +15,21 @@ uni-page-body { | ||
| 15 | z-index: 2; | 15 | z-index: 2; |
| 16 | top: 264rpx; | 16 | top: 264rpx; |
| 17 | ::v-deep & > view { | 17 | ::v-deep & > view { |
| 18 | + &:nth-child(1) { | ||
| 19 | + flex: 1; | ||
| 20 | + } | ||
| 18 | &:nth-child(2) { | 21 | &:nth-child(2) { |
| 19 | text-align: center; | 22 | text-align: center; |
| 20 | - flex: 1; | 23 | + padding: 0 30rpx; |
| 24 | + | ||
| 21 | } | 25 | } |
| 22 | &:last-child { | 26 | &:last-child { |
| 23 | text-align: right; | 27 | text-align: right; |
| 28 | + padding: 0 30rpx; | ||
| 24 | } | 29 | } |
| 25 | .date { | 30 | .date { |
| 26 | - width: 300rpx; | 31 | + box-sizing: border-box; |
| 32 | + width: 100%; | ||
| 27 | height: 60rpx; | 33 | height: 60rpx; |
| 28 | line-height: 60rpx; | 34 | line-height: 60rpx; |
| 29 | margin: 0 auto; | 35 | margin: 0 auto; |