Commit 07ae936b3ce9fb5c8a91e62b706bc911c3f41cbf
1 parent
e4091892
tab切换样式优化
Showing
1 changed file
with
5 additions
and
0 deletions
src/components/cardTabs/cardTabs.less
| @@ -23,6 +23,11 @@ | @@ -23,6 +23,11 @@ | ||
| 23 | font-weight: 400; | 23 | font-weight: 400; |
| 24 | color: #999999 !important; | 24 | color: #999999 !important; |
| 25 | margin-right: 20px; | 25 | margin-right: 20px; |
| 26 | + display: -webkit-box; | ||
| 27 | + -webkit-box-orient: vertical; | ||
| 28 | + -webkit-line-clamp: 1; | ||
| 29 | + overflow: hidden; | ||
| 30 | + text-align: center; | ||
| 26 | } | 31 | } |
| 27 | .van-tabs__nav--card .van-tab.van-tab--active{ | 32 | .van-tabs__nav--card .van-tab.van-tab--active{ |
| 28 | background: linear-gradient(132deg, #FFEDD8 0%, #EBCAB3 100%) !important; | 33 | background: linear-gradient(132deg, #FFEDD8 0%, #EBCAB3 100%) !important; |