diff --git a/pages/index/index.vue b/pages/index/index.vue index 88a8458..e49bf40 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -38,8 +38,8 @@ - - + + @@ -1255,19 +1255,22 @@ swiper { margin: 0 auto; background: #fff; border-radius: 10rpx; - padding: 15rpx 16rpx 0; + padding: 15rpx 0 0; + justify-content: space-evenly; } .indexNew .nav .item { - min-width: 0; + width: 23%; font-size: 24rpx; line-height: 30rpx; - text-align: center; color: #666666; word-break: break-all; - margin-right: 52rpx; margin-bottom: 32rpx; - &:nth-child(4n) { - margin-right: 0; + flex-direction: column; + align-items: center; + >text { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } }