diff --git a/pages/index/index.vue b/pages/index/index.vue index a2dfbbf..f5a21ca 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -940,7 +940,7 @@ header { .swiper-items { // height: 495rpx; - width: 340rpx; + // width: 340rpx; border-radius: 12rpx; image { @@ -953,13 +953,13 @@ header { .swiper-item { height: 300rpx; text-align: center; - margin: 0 auto; - width: 690rpx; - + padding: 0 20rpx; + width: 100%; + box-sizing: border-box; image { border-radius: 24rpx; height: 300rpx; - width: 690rpx; + width: 100%; } }